Skip to main content
GullySystem

Load Balancing

A load balancer sits in front of your application and spreads requests across more than one server. It also allows a release without logging anyone out. The single server you have now is measured first.

What the balancer has to get right

A second server introduces problems that a single machine never had. These are the ones that catch teams out.

Health checks

A real check that the application answers, and not only that the port is open, so a broken server is taken out of use.

Sessions

Logins move to a shared store. Otherwise a customer is signed out whenever a request lands on the other machine.

Uploads and files

Images and documents sit on shared or object storage, since a file on one server is invisible to the next.

Releases without a maintenance window

A balancer removes the need to schedule downtime for ordinary updates.

One server at a time

A server is taken out of rotation, updated, checked and put back. Customers notice nothing.

Roll back quickly

A bad release is reversed by shifting traffic, and no backup has to be restored.

SSL in one place

Certificates terminate at the balancer, so renewals are handled once and not on each machine.

When it is not the answer

Some businesses add a second server while the first sits idle. Measurement usually points elsewhere.

One slow query

If a single query is holding every request, two servers will queue on the same database twice as fast.

The database is the limit

Application servers scale out easily. The database behind them rarely does, and that is the real constraint.

Small and steady traffic

A site with modest, predictable load gains complexity and cost from a balancer and very little else.

FAQ

Frequently asked questions

Do we need load balancing or a bigger server?

It depends on the measurements. A larger machine is simpler and often cheaper until protection from one server failing matters. Once continuity matters more than cost, two smaller servers behind a balancer suit better.

Can this work on our existing hosting?

It depends on the provider. Cloud platforms offer a balancer as a service, while shared hosting generally cannot support one and would need a move first. Which case applies is confirmed before work starts.

Will adding a second server make the site faster?

Not for a single visitor. It helps when many people arrive together, and it keeps the site running when one machine fails. A page that is slow when nobody else is on it needs a fix elsewhere.

Talk to us

Tell us what you need.

Share your requirements and one of our engineers will come back to you within one business day.

  • No obligation
  • A reply within one business day
  • Your details stay private

Start with your requirements

Seven short steps that tell us what you need. An engineer reads them before getting in touch.

Share your requirements