~/talk

Scaling Financial Transaction using 0MQ and JSON

Talkat CppCon 2018 · 2018-09-23..09-28· [networking, c-and-cpp]
slides:none on file

Migrating legacy PowerBuilder services to Linux/C++ uses 0MQ (CPPZMQ) and nlohmann/json to cut message size by ~35% versus XML, drop a DB refresh from 90 to 10 minutes, speed authorization transfers ~5x and HSM interactions ~3x. Concrete issues covered: CentOS6 ABI conflicts with Oracle/OCCI, using dealer-router, pub-sub and inproc patterns, a single ZMQ context per process, JSON header-only mapping to C++ types, and a shared_timed_mutex protecting the app registry while apps auto-reconnect.

AI-written summary · about

  1. 0:00Introduction and company background
  2. 1:03Financial transaction overview
  3. 5:16Legacy system challenges
  4. 8:04Technology choices: 0MQ and JSON
  5. 9:30First problem: GLIBCXX ABI issues
  6. 10:36JSON vs XML size comparison
  7. 12:00Code architecture overview
  8. 15:15WorkHorse class and 0MQ router
  9. 16:18Master control program and dealer router
  10. 18:22Pub/sub pattern implementation
  11. 19:47INPROC pattern for threads
  12. 21:53Live demo and reconnection behavior
  13. 24:23Performance improvements with 0MQ
  14. 25:47Database cache refresh speedup
  15. 26:28Scaling and redundancy benefits
  16. 27:33Q&A session begins
  17. 27:53Handling duplicate and out-of-order messages
  18. 28:58Legacy code split and C++ choice
  19. 30:02Mutex optimization discussion
  20. 30:45JSON vs Protocol Buffers comparison
  21. 32:11JSON library selection rationale
  22. 33:17Job control and application flow
  23. 34:23Company growth and technology adoption
  24. 35:05Handling multiple transaction formats
  25. 37:16Data normalization approach
~/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.