~/talk

Managing External API’s in Enterprise Systems

Talkat CppCon 2022 · 2022-09-11..09-16· [engineering-leadership]
links:none on file
slides:none on file

Migrates a wide legacy comms API into a constrained wrapper that uses move-only response carriers (unique_ptr), replaces callbacks with futures/promises, and routes between Service A and Service B via a service proxy with std::variant of futures, keeping global call semantics unchanged. Tests switch to a mock_service_proxy so unit suites need only small type fixes. Deployment is gradual (many months in production), decommission happens in two safe stages, and the pattern proves workable with Godbolt and GitHub code examples.

AI-written summary · about

  1. 0:00Managing external APIs
  2. 1:24Why focus on API consumption
  3. 7:23System architecture overview
  4. 10:36Constraining external APIs
  5. 13:25Making API async with futures
  6. 15:54Action handlers for requests
  7. 18:01Unit testing with mocks
  8. 23:38Handling production changes
  9. 27:10Gradual migration to new service
  10. 31:26Safe API replacement requirements
  11. 33:53Service proxy abstraction
  12. 37:30Dealing with variant responses
  13. 41:41Semantic code changes
  14. 44:13Testing service proxy
  15. 47:44Routing requests between services
  16. 51:11Batching requests and responses
  17. 53:38Engineering low-risk change
  18. 55:06Mitigating production risk
  19. 56:57Q&A
~/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.