~/talk

Scaling APIs With Spring Cloud

Talkat SpringOne 2024 · 2024-08-26..08-28· [microservices, cloud-infrastructure]
links:none on file
slides:none on file

Concrete configuration and demos show Spring Cloud Gateway plus specific libraries solving real problems: Bucket4J token-bucket (1 token added every 5s, excess → 429) enforces rate limits, Resilience4j circuit-breaker with fallback → 200 prevents cascade, and retry uses spring-retry/reactor-retry with a three-attempt demo that succeeds on the third try. Scale-to-zero uses KEDA with a Gateway-side gRPC probe to wake apps. Gateway handles OAuth2 token relay (Azure AD), injects JWT-derived email into a cookie for Dynatrace correlation, and routes UI to APIs so clients see a single host.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:05What are APIs and their types
  3. 2:12Protecting APIs with Spring Cloud Gateway
  4. 5:28Rate limiting with token bucket
  5. 8:10Demo rate limiting
  6. 10:19Circuit breaker for resilience
  7. 11:23Demo circuit breaker
  8. 13:14Retry mechanism for failures
  9. 14:18Demo retry mechanism
  10. 15:47Scale to zero with Kada
  11. 24:09Scaling teams with Gateway
  12. 27:41Case study by Luke Shannon
  13. 31:20Authentication with Azure AD
  14. 34:17Routing and API versioning
  15. 37:09Observability with DinoTrace
  16. 40:42MVC Gateway vs Reactor Gateway
  17. 41:24Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.