~/talk

Cluster your MicroProfile Application using CDI and JCache

Talkat Devoxx UK 2017 · 2017-05-11..05-12· [java, microservices]
links:none on file
slides:none on file

Builds a clustered MicroProfile service by adding Hazelcast as JCache provider and a small CDI extension and producers to inject javax.cache.Caches directly, turning JAX-RS + CDI endpoints into cached methods via @CacheResult/@CachePut. Demo runs across Dockerized Raspberry Pis with HAProxy, MySQL and TomEE (Tomitribe), pushes metrics to Elasticsearch/Kibana, and serves ~9,372 read requests from cache so DB calls drop, average response ~0.3s and TPS rises. Setup works but demo shows occasional node hiccups and one server intermittently absent.

AI-written summary · about

  1. 0:00Introduction and presenters
  2. 2:55What is MicroProfile?
  3. 7:54MicroProfile specs overview
  4. 9:25CDI and JAX-RS explained
  5. 10:50JSON-P and microservice example
  6. 13:24Introduction to JCache
  7. 18:35TomEE server and demo setup
  8. 22:39Demo: Adding JCache to application
  9. 34:38JCache annotations and CDI integration
  10. 43:43Demo metrics and monitoring
  11. 46:14Live demo: Raspberry Pi cluster
  12. 50:29Future of MicroProfile metrics
  13. 51:35Future specs and closing
~/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.