~/talk

100% Fast and Resilient Microservice with RSocket

Talkat Java Z-Day 2021 · 2021-04-08..04-09· [distributed-systems, networking]
slides:none on file

A Spring Boot WebFlux microservice demo (Petchkin → BigBrother → AgentSmith) shows HTTP strategies that fail under load: drop, retry, local rate limiting and a distributed attempt using hazelcast + bucket4j both break when random latency and multiple Petchkin instances appear. Replacing HTTP/WebClient with RSocket Java and enabling RSocket leasing (server-driven concurrency, Netflix concurrency-limit for capacity calc) prevents queue blowups, preserves request/response patterns, and stabilizes the chain; live demo runs, and built-in load balancing plus resumability are shown as next steps.

AI-written summary · about

  1. 0:00Start
  2. 9:41Prerequisites
  3. 18:14Microservices System
  4. 34:04Why Not To Use Thread Pulls
  5. 38:40Processing Properties
  6. 46:55Reactor Pool
  7. 48:05Dashboard
  8. 1:02:47Rate Limit
  9. 1:02:58Rate Limiting
  10. 1:17:38Synchronization
  11. 1:19:22Base Configuration
  12. 1:30:25Summary
  13. 1:31:01Why Concurrency Limiting Is Better than Rate Limiting
  14. 1:38:02Flexibility
  15. 1:38:39Reactive Streams
  16. 1:45:16Netflix Concurrence Limit
  17. 1:49:17Load Balancing
  18. 1:50:23Predictive Load Balancing
~/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.