~/talk

Keeping Throughput High on Green Saturday

Talkat RailsConf 2019 · 2019-05-01..05-03· [devops-and-delivery, ruby-on-rails]
links:none on file
slides:none on file

Describes concrete fixes: add microcaching via NGINX/OpenResty (global cache shared with memcache), round device coordinates at the gateway to boost cache keys, implement a write‑behind cache for region lookups, collapse parent/child ES docs into one index and use painless scripts, and memoize expensive Ruby mappings. Results: ~100,000 req/min peak, Discovery API = 53% traffic, location = 20%, cache hit ≈ 9%, ES query tail drops from ~45ms to ~30ms (≈33% faster), avg latency ~80ms at peak, and 100% uptime.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Discovery API
  3. 1:51Core Application
  4. 2:38Discovery APIs
  5. 3:06Green Saturday
  6. 3:18What is Green Saturday
  7. 4:31Weedmaps
  8. 4:46History
  9. 5:09Split Postgres
  10. 5:25V2 API
  11. 5:46Containerization
  12. 7:24Weed Maps Homepage
  13. 7:34Location
  14. 8:27Micro Caching
  15. 8:56Proxy Cache
  16. 9:43Proxy Settings
  17. 10:42OpenRusty
  18. 11:24MicroCaching
  19. 11:57Chart
  20. 12:28Afterparty location
  21. 13:44Drystruct
  22. 14:07Rounding
  23. 14:39Engine X
  24. 15:40Graph Cache
  25. 16:06Route Controller
  26. 16:47Regions
  27. 17:06Time to Live
  28. 17:52Readthrough Cache
  29. 18:19Expired Cache
  30. 18:46Set Cache
  31. 19:39Refresh
  32. 20:22Burst
  33. 21:05Elastic Search
  34. 22:56Results
  35. 23:26Brand Categories
  36. 24:27Big Brown Spike
  37. 25:27Data Structures
  38. 25:58Big spike in Ruby
  39. 27:12Peak traffic
  40. 28:07Uptime
  41. 28:30Cache
  42. 28:56Sensor Data
  43. 29:31Response Time
  44. 31:13Benchmark
  45. 32:23Tweed Maps
~/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.