~/talk

High Performance Systems in Go

Talkat GopherCon 2014 · 2014-04-24..04-26· [go]
slides:none on file

Builds and results: an open-source MIT-licensed messaging system called NATS: lightweight publish-subscribe messaging is implemented in Go with client and server, replaces RabbitMQ for control planes and ships in Cloud Foundry. Performance tuning uses a zero-allocation byte-for-byte parser, custom hashing (gestus), unsafe conversions, avoided defer and short-lived allocations, and profiler plus race detector. Iteration goes from ~150k msg/s in Ruby to ~500k initially in Go and up to 5–6 million messages/sec on a Haswell laptop; the system runs and is in production use.

AI-written summary · about

  1. 0:00Introduction
  2. 1:16Go for high-performance systems
  3. 5:11NATS messaging system
  4. 8:46Protocol parsing optimizations
  5. 15:14Defer overhead and tuning
  6. 17:22Custom parsing for speed
  7. 19:06Subject routing optimizations
  8. 24:43Tooling and lessons learned
  9. 27:52Go for cloud infrastructure
  10. 28:54Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.