~/talk

Building a highly scalable exchange - To react or not to react

Talkat ReactFoo 2019 · on Saturday, 2019-03-02· [ruby-on-rails, react]
links:none on file
slides:none on file

A crypto exchange built on Ruby on Rails hits thousands of users and Rails view rendering fails under realtime load, so the team moved to React and decoupled front end while fixing slow SQL and caching. Backend changes include Aurora + Redis + ELK and C#/.NET for heavy lifting; websocket load shifts to Pusher. Benchmarks show page load falling from 2.8s → 1.07s (React-only ~1.8s). Remaining issues: virtual DOM slowness, high client memory and startup latency.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Building a highly scalable exchange To react or not to react
  3. 1:29What this presentation is not
  4. 2:51Our initial stack
  5. 3:39The best part
  6. 6:27RCA - The three letter horror
  7. 8:13Data, data, data
  8. 9:50Fixing the backend issues
  9. 10:42Initial JavaScript days
  10. 11:16Limitations of this setup
  11. 14:09The learning curve
  12. 16:14JSX as a pain point
  13. 17:11The good part - Components
  14. 18:40Components & Actions
  15. 19:13Dispatchers to do the work
  16. 21:17The good part – Invisible DOM
  17. 23:35100s of lines of code to a few
  18. 24:35MVC to Pure API
  19. 26:26React Native
  20. 29:13Benchmarking Load times between page loads and data population
  21. 31:10Unsolved Issues
  22. 33:04The learnings
  23. 35:57The takeaways
~/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.