Skip to main content
Version: v1

Load Balancers

The Cloud Subscription plans, Dedicated plans and Enterprise plans have load balancing mechanisms built-in. This docs will provide further information on how they work on each plan. For Enterprise plans we provision you your very own load-balancer.

Cloud subscriptions' load balancing

When you fire a request to our endpoint, be it https://chrome.browserless.io or wss://chrome.browserles.io, it will go through our load balancers and will be sent to one of our instances to be handled. We list our shared fleet's IP addresses for whitelisting purposes.

Our cloud-unit fleet is comprised of many machines running browserless, and our load-balancer will automatically determine which machine to handle the request. If, say, a machine is too overloaded to handle the inbound connection then our load-balancer routes the request to another. In very plain terms we use a modified least-connected algorithm to ensure your request is handled appropriately.

Dedicated workers' load balancing

Your worker can be located in 4 different sites: San Francisco, New York, Amsterdam, or London. If you request to https://chrome.browserless.io or wss://chrome.browserles.io, it'll travel to San Francisco then to your worker.

In order to improve the latency by having a worker located closer to your client, you'll want to use the load balancer closest to your machine, these are the load balancers available for you to point your traffic to:

  1. West load balancer (SFO): https://chrome-us-west.browserless.io
  2. East load balancer (NYC): https://chrome-us-east.browserless.io
  3. UK load balancer (LON): https://chrome-eu-uk.browserless.io
  4. AMS load balancer (AMS): https://chrome-eu-ams.browserless.io

Multiple worker load balancing

When you have multiple instances, it'll automatically load-balance amongst them by least connections. If you want to handle load-balancing on your end, you can get the endpoint for every individual worker by clicking on the URL in the "Address" Column in the Production Workers table available in your account dashboard.