~/talk

Standing on the shoulders of giants

Talkat GoDays 2020 · 2020-01-21..01-23· [go]
links:none on file
slides:none on file

Bigcache is a lock-sharded concurrent map that stores raw bytes and uses a byte-array circular buffer for values so the Go GC scans the heap once, avoiding per-entry pointers. Starting in 2016 it trades generics for speed and claims full GC from 10s to 10ms by upgrading Go and by eliminating allocations: power-of-two shards for a bitwise index (faster in Go 1.14), inlined defer avoidance, custom non-allocating hash, and today a zero-dependency repo that benchmarks faster than groupcache on write-once heavy workloads.

AI-written summary · about

  1. 0:00Introduction
  2. 0:37What is BigCache
  3. 2:32Performance benchmarks
  4. 3:37Concurrent hash map basics
  5. 4:41Sharding the map
  6. 5:43Bitwise modulo optimization
  7. 6:29Garbage collector impact
  8. 7:36Byte view implementation
  9. 9:06Defer performance
  10. 9:52Memory allocation costs
  11. 10:38Dependencies and hash function
  12. 11:19Summary and future
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.