~/talk

Boxcars and Cabooses: When one more XHR is too much

Talkat Codemotion Amsterdam 2016 · 2016-05-11..05-12· [api-design, web-performance]
links:none on file
slides:none on file

Salesforce shows that bundling XHRs cuts API chatter: their REST data API handles ~4 billion transactions/day and adds a composite batch endpoint that packs multiple HTTP calls into one and returns per-subrequest status codes (defaults to continue on subrequest failure but can halt on error), plus a composite tree endpoint that creates parent and nested child records atomically (up to 200 records total) and demos succeed. Client-side queuing uses the Action Service and Caboose to coalesce requests; offline storage relies on SQLCipher encryption.

AI-written summary · about

  1. 0:00Intro
  2. 1:50Salesforce
  3. 2:19Heroku
  4. 3:52Multitenant architecture
  5. 6:07API
  6. 6:21API Architecture
  7. 7:46Data APIs
  8. 8:52The importance of APIs
  9. 11:08Sample API interactions
  10. 12:52Too many trips
  11. 13:10Bundle requests
  12. 13:56Batch Composite
  13. 14:19Batch Composite Example
  14. 15:15Batch Composite Behavior
  15. 16:11Enterprise Data
  16. 16:51Parent Data
  17. 18:58Demo
  18. 26:32Clientbased framework
  19. 26:58Aura
  20. 27:18Moving things forward
  21. 28:17Three blind developers
  22. 28:30Action Service
  23. 28:58Deferring Transactions
  24. 29:34Apex API
  25. 30:46Offline access
  26. 31:32Questions
~/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.