~/talk

Collaboration when developing Spring Boot Microservices

Talkat Spring I/O 2022 · 2022-05-26..05-27· [microservices, developer-experience]
name:Dan Erez
slides:none on file

Problem: running dozens of Spring Boot microservices locally causes resource strain or central environments cause request collisions. Uses Spring Cloud with Eureka for discovery and Zuul (or Spring Cloud Gateway) for routing. Each local service registers as <hostname>.<service> via an Eureka bean renames service to host.service, and a gateway filter checks caller host and requested service and performs gateway rewrites route to host.service so requests from that developer go to the local instance while others hit the central ones. Demonstrated working in a live demo.

AI-written summary · about

  1. 0:00Start
  2. 8:30Spring Cloud - A Quick Intro Tools/Frameworks for distributed apps (not just cloud!) • Introduced in 2014 . 33 items in the spring cloud docs! Examples: distributed locks, configuration, circuit breakers, load balancing, and many more...
  3. 13:50The problem... - The number of micro services went up . For developers to develop and test ſintegration , should they - Run everything locally? • Run only one service locally and the rest on
  4. 21:20Work with the global discovery (to find central services) • Local services would register under a different and unique name in the global discovery • E9. Payment-my-machine. Payment • Smarter Gateway (Extend Zuul): . If the request to service X comes from my machine, and there's my-machine X- Route to my machine
~/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.