~/talk

Efficient web apps with Spring Boot 2

Talkat Spring I/O 2019 · 2019-05-16..05-17· [web-performance]
slides:none on file

A Spring Boot 2 MVC dashboard is refactored to boost efficiency without a full rewrite: RestTemplate calls become WebClient + Reactor pipelines that zip three upstream services (stats, events, top 10 IPs) and perform per-IP reverse lookups in parallel. Observability is added with Actuator and Micrometer → Prometheus dashboard so a 7.8s peak lookup reveals itself; a timeout 500ms fallback to the paid lookup cuts visible max latency to ~300ms. Server‑sent events streaming is implemented for real‑time updates. Code: https://github.com/snicoll-demos/initializr-stats

AI-written summary · about

  1. 0:00Start
  2. 21:39connect your browser to the spring bootie application
  3. 29:30make the prometheus endpoint public
  4. 38:49design an configuration structure for your application keys
~/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.