Load Balancing Microservices With Docker, nginx and TomEE

nginx can be used as HTTP server and as a load balancer at the same time. In this screencast I used nginx to share the load between two TomEE 7.0.2 instances on Docker.

The Dockerfiles in this screencast were borrowed from: docklands. Binary images are also available from: hub.docker.com/u/airhacks/. The ping healthcheck is directly available from github.com/AdamBien/ping

Also see how HA Proxy can be used to load balance Java EE microservices.

You want to learn more about Java EE and Microservices? Checkout: Java EE Microservices. Is Munich's airport too far? Learn from home: javaeemicro.services.


Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition

airhacks.fm the podcast:

Stay in touch: airhacks.news.

Comments:

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