~/talk

Being RESTful with billions of dollars in transactions

Talkat Core C++ 2023 · 2023-06-05..06-07· [api-design, c-and-cpp]
slides:none on file

Case study of a production REST API that handles credit card authorizations and settlements using nlohmann::json and cpp-httplib, mapping JSON to strong C++ types with from_json/to_json, pre/post routing handlers, IP bans and connection IDs, and a small in-memory datastore protected by a mutex. Claims about scale: 700M transactions/year and >$100B processed over months with 10–15x headroom. Demo client is blocking, server is working and open source.

AI-written summary · about

  1. 0:00Introduction to financial REST APIs
  2. 1:23Credit card transaction basics
  3. 2:48RESTful API fundamentals
  4. 6:49REST server constraints explained
  5. 10:04JSON vs XML for transactions
  6. 13:38Header-only libraries benefits
  7. 17:55JSON for Modern C++ library
  8. 20:41CPP HTTP library overview
  9. 22:05Building the HTTP server
  10. 29:09REST endpoint routing
  11. 34:15Security and error handling
  12. 35:42Handling sale authorizations
  13. 38:08JSON serialization with types
  14. 41:20Creating an HTTP client
  15. 45:02Live demo walkthrough
  16. 46:07Dependency injection practices
  17. 48:34Strong typing with JSON
  18. 50:00Performance and scalability
  19. 51:24Q&A on API design
~/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.