Lessons in Porting PiggyMetrics Spring Boot to MicroProfile
summary
A Spring Boot PiggyMetrics app is ported to MicroProfile using Config, Metrics, Health, Fault Tolerance, OpenTracing and JWT propagation with Jakarta CDI, JAX-RS and JSON‑B, producing a running proof‑of‑concept on AKS in one sprint POC. Runtime is Open Liberty with containerized images, Prometheus scraping and Prometheus & Grafana dashboards, and distributed traces shown in Zipkin tracing. Resulting build is smaller, uses fewer lines of glue code, starts faster with OpenJ9, and demonstrates full logging, metrics and tracing interoperable in a Kubernetes deployment.
AI-written summary · about
chapters (16)
- 0:00Introduction to PiggyMetrics
- 3:12Demo of Spring Boot version
- 6:23Key differences Spring Boot vs MicroProfile
- 16:23Migration path for account service
- 23:25Configuration and security in MicroProfile
- 24:32Data access with JNoSQL
- 27:19Metrics and health checks
- 29:23Resilience with MicroProfile Fault Tolerance
- 32:16API documentation with OpenAPI
- 33:00Distributed tracing with OpenTracing
- 35:10Proof of concept results
- 36:56Demo on Azure Kubernetes Service
- 41:40Technology stack comparison
- 44:11Takeaways and feedback
- 47:06References and resources
- 51:21Q&A session
related talks
42mMicroProfile: microservices made easy
45mMicroProfile Metrics: Practical Use Cases
54mCreating a Cloud-native Microservice – Which Programming Model Should I Use?
49mMicroservices Programming Model - Comparing MicroProfile & Spring
53mMicroprofile - New and Noteworthy
52mEclipse MicroProfile: A quest for a lightweight and modern enterprise Java platform
57mA New and Open Way to Build Cloud-Native Microservices - MicroProfile
35mGradual Migration from Java EE to MicroProfile
