Lift Off! Building REST APIs that Fly
summary
A deployed Plumber REST API switches its JSON serializer to yyjsonr and adds async worker processes via mirai, cutting per-request serialization overhead and preventing synchronous queuing. An example shows one slow 10s request blocking 2s ones until async workers (four spawned in the demo) handle them concurrently; business logic needs no rewrite and endpoints return promises immediately. The concrete outcome: the service scales to meet higher traffic and restores responsiveness.
AI-written summary · about
chapters (5)
- 0:00REST API performance challenges
- 2:51Serialization costs in REST APIs
- 7:30Responsiveness with async programming
- 14:50Key takeaways from Appy's API
- 16:40Q&A on Mirai and async
related talks
29mA world of Rest APIs ... from Restify to a faster Fastify
28mFrom Backend Powerhouses to Web-Friendly APIs: Unlocking
54mRethinking REST in a Microservices World
30mCaching, Payloads, and Other Dark Arts
24mRPC to REST : Concrete Case on Payment APIs
43mTUTORIAL: We've "REST"ed long enough -- let's have an API adventure!
30mEric Baer - SeattleJS Conference 2017
21mThe API of the API
