Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does there exist a simple Load Balancer app for development on Windows? I am running a pair of JBoss 5.x instances in a cluster on a single machine. Normally , this configuration is load balanced by a nice hardware load balancer but I am wondering if there is a simple piece of software to enable load balancing in my Eclipse dev environment.

Basically, for example, I want a load balancer running on port 11111 that round-robins between the 2 clustered JBoss instances on ssl ports 8443 and 8543 . (or http port if thats not possible)

I know that Glassfish has a built-in load balancer but I can't use Glassfish.

One idea I have is to try to setup a separate instance of Tomcat with the "balancer" web app. Im trying that now... not sure if it will work... and its a complicated setup and I wish there was something really easy.

share|improve this question
This would be better off on – Sasha Chedygov Jan 20 '10 at 1:31
up vote 1 down vote accepted

You could use Apache HTTP Server with the mod_proxy_balancer module.

share|improve this answer

You can use use Nginx !! Install nginx and add config file !!!

http {
  upstream myproject {

  server {
    listen 80;
    server_name localhost;
    location / {
      proxy_pass http://myproject;
share|improve this answer

Instead of load balancing between ports, why not bind each instance to a specific loopback IP address. The whole network is loopback (not just If you configure your processes to bind to and (or whatever you want) then you can do IP round robin. This can be done with DNS if you wish.

You could also write a wrapper that binds to an IP/port and will randomly forward the connection to one of the servers, and just pass the data through.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .