~/talk

gRPC vs REST: let the battle begin!

Talkat JavaDay Ukraine 2017 · 2017-11-04..11-05· [api-design, microservices]
links:none on file
links:none on file
slides:none on file

Clear comparison by building a news-aggregator + voting pipeline with a gateway that can route to either REST (Jersey) or gRPC implementations, plus Zipkin tracing, circuit breakers and simulated failures. gRPC uses HTTP/2 + Netty, protobuf codegen, non‑blocking server-side streaming and enforces distributed deadlines; benchmarks show 2 million req/sec on beefy hardware. Injecting a 750 ms delay into leaderboard services (750 ms injected latency) reveals gRPC’s deadline propagation avoids cascading timeouts while the REST path relies on thread pools and circuit breakers.

AI-written summary · about

  1. 0:00Introduction
  2. 2:16What is REST
  3. 4:02What is gRPC
  4. 6:52Microservice problems
  5. 9:43News aggregator example
  6. 13:57REST: service discovery and Swagger
  7. 15:03gRPC: formal service description
  8. 17:06Async and reactive in gRPC
  9. 20:37gRPC streaming
  10. 21:19Content service example
  11. 23:47Running gRPC server and client
  12. 25:11gRPC service discovery
  13. 26:39gRPC performance
  14. 28:03REST vs gRPC niches
  15. 29:54Voting demo
  16. 32:06Cascading failure protection
  17. 34:55Deadlines in gRPC
  18. 35:58Tracing and monitoring
  19. 37:23Mobile app demo
  20. 40:17Resilience testing
  21. 41:43REST vs gRPC behavior
  22. 43:29Conclusions and recommendations
  23. 44:33Q&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.