Adam Bien's Weblog

Load Balancing Java EE Microservices

In this screencast I implemented a minimalistic, load balanced Java EE 7 application comprising two identical nodes and a ha-proxy:

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home:

NEW workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


Nice integration of HA proxy. With the use of Docker swarm mode (v1.12) this would be obsolete as services are orchestrated and loadbalanced out of the box

Posted by Dirk Franssen on September 26, 2016 at 11:29 AM CEST #

Hi Adam ,
If the microservice infrastructure changes and you want to make it available quickly via HTTP you need to reload configuration dynamically. And for this, for my point of view, I think that Traefik ( ) is better

Posted by R.Yahiaoui on September 26, 2016 at 02:40 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments