Distributed applications may fail. Be prepared with MicroProfile Fault Tolerance
summary
MicroProfile Fault Tolerance version in MicroProfile 6.0 exposes annotations that run as CDI interceptors and the demo shows them working: timeout and fallback (example switches a DuckDuckGo call to Google when a sleep exceeds timeout), retry=3 (method auto-retries up to three times with configurable jitter and delays), and circuit opens at high failure rate (30% failures under load trigger open/half-open/closed behavior). Examples run on WildFly, use ApacheBench for concurrency, and full code and slides are on GitHub.
AI-written summary · about
chapters (7)
- 0:00Distributed computing risks
- 3:17Seven fallacies explained
- 7:42MicroProfile Fault Tolerance
- 9:54Fault Tolerance annotations
- 18:40Configuring annotations
- 21:41Live demo of examples
- 35:18Summary and Q&A
related talks
52mBulletproof Java Enterprise Applications for The Hard Production Life
47mOn-stage hacking: build 12-factor microservices
53mMicroprofile - New and Noteworthy
51m5 Tips to Make Your Java Apps More Awesome!
34mInvited Talk: Distributed Tracing for MicroProfile Runtimes
47mBuild a 12-Factor Microservice with MicroProfile
36mPractical Cloud Native Java Development with MicroProfile
55m10 strategies for developing reliable Jakarta EE & MicroProfile apps for the Cloud
