Questions tagged [load-balancing]

The term load balancing is used to describe technology that is used to evenly distribute work across multiple nodes within a network.

Load balancing is a computer networking method for distributing workloads across multiple computers or a computer cluster, network links, central processing units, disk drives, or other resources. Successful load balancing optimizes resource use, maximizes throughput, minimizes response time, and avoids overload. Using multiple components with load balancing instead of a single component may increase reliability through redundancy. Load balancing is usually provided by dedicated software or hardware, such as a multilayer switch or a Domain Name System server Process.

5217 questions
2
votes
4 answers

Can a load balancer recognize when an ASP.NET worker process is restarting and divert traffic?

Say I have a web farm of six IIS 7 web servers, each running an identical ASP.NET application. They are behind a hardware load balancer (say F5). Can the load balancer detect when the ASP.NET application worker process is restarting and divert…
frankadelic
  • 20,543
  • 37
  • 111
  • 164
2
votes
1 answer

How to build a simplified redis cluster (support data sharding and load balance)?

Since the redis cluster is still a work in progress, I want to build a simplied one by myselfin the current stage. The system should support data sharding,load balance and master-slave backup. A preliminary plan is as follows: Master-slave: use…
Shuai Tao
  • 38
  • 1
  • 3
2
votes
1 answer

Umbraco Content Syncing Issue - Error refreshing a node in the distributed list

Having followed the official docs on how to set up load balancing for Umbraco on IIS i went for the recommended option of File Storage with File Replication. I set up the distributedCall element in config/umbracoSettings.config....
Baldy
  • 3,621
  • 4
  • 38
  • 60
2
votes
2 answers

The right way to create multiple instances for Load Balancer (EC2)

I installed Wordpress using EC2. I created a Load Balancer by creating image (AMI) then adding both Wordpress1 and Wordpress2 on Load Balancer. But I'm still getting database error and have to restart the instances. If I'd like to make 4 instances…
2
votes
1 answer

Load Balancing Java RMI Requests

I am trying to find a solution for load balancing b/w multiple RMI servers running same service API. Are there any solutions you have used or would recommend?
user2652406
  • 121
  • 1
  • 8
2
votes
3 answers

Sitecore CMS: maintenance page for a load-balaced website

I'd like to implement a "Website under maintenance" page on a Sitecore powered website, where CMS editors can switch on/off the maintenance mode. During the maintenance mode all requests are forwarded to the maintenance page. A solution with…
lekso
  • 1,731
  • 3
  • 24
  • 46
2
votes
1 answer

Apache: How to write X-Forwarded-For with load balancer and 2 servers?

I have a load balancer and two servers. I want to add X-Forwarded-For in my apache so that I can see the IP of the request as opposed to seeing the load balancer IP for every request. How would I do this? I looked it up and X-Forwarded-For: client,…
bigpotato
  • 26,262
  • 56
  • 178
  • 334
2
votes
1 answer

Apache HTTP load balancing based on URL pattern

I have a Apache web server in front of 2 tomcats which are connected to the same MySQL backend database. I need to load balance the incoming requests between two tomcats based on a URL parameter named "projectid". For example all even project ids…
2
votes
1 answer

How can I ensure closing all connection in loadbalancer when something fails or hangs?

I'm trying to write a simple load-balancer. It works ok till one of servers (BalanceServer) doesn't close connection then... Client (ReverseProxy) disconnects but the connection in with BalanceServer stays open. I tried to add callback (#3) to…
pprzemek
  • 2,455
  • 3
  • 25
  • 25
2
votes
1 answer

scalable loadbalancer for jetty server

I am creating an application and I want to create it with applications that are fast but also scale. I use java jetty for my servers, cassandra for my database and solr as search engine. What should I use as a loadbalancer infront of the jetty…
user1072680
2
votes
1 answer

Will keep-alive useful to use with load balancer and firewalls

I have client and server component. Server may be installed behind the firewall or load balancer. Many sites/forums suggested to use TCP keep-alive feature to avoid connection termination due to inactivity. The question is whether the keep-alive…
2
votes
2 answers

While loop in JSP to execute javascript not working?

Please don't hesitate to edit the question or ask more details if I missed anything. I know it's bad to use Scriptlets in JSP. But I am assigned to maintain the existing JAVA project which is build only with only JSP and servlets(No framework). My…
Human Being
  • 8,269
  • 28
  • 93
  • 136
2
votes
1 answer

Configuration of Apache and Tomcat for load balancing

I'm trying to setup Apache as a load balancer for 2 Tomcat instances with session affinity. The goal is to have the session stick to one server but to have next session (when it's changed by the backend server) to go to the next available server…
Matthias Hryniszak
  • 3,099
  • 3
  • 36
  • 51
2
votes
0 answers

Implement user authentication on a load balanced site without sticky sessions

I am trying to implement user authentication for my website that will sit on multiple servers behind a load balancer. I am hoping there is some secure method that I can use without having sticky sessions turned on at the load balancer so the same…
Brian
  • 143
  • 2
  • 8
2
votes
5 answers

How to load balancing ActiveMQ with persistent message

I have a middleware based on Apache Camel which does a transaction like this: from("amq:job-input") to("inOut:businessInvoker-one") // Into business processor to("inOut:businessInvoker-two") to("amq:job-out"); Currently it works perfectly.…
sancho21
  • 3,511
  • 1
  • 39
  • 45
1 2 3
99
100