scrapinghub / splash

Lightweight, scriptable browser as a service with an HTTP API
BSD 3-Clause "New" or "Revised" License
4.08k stars 514 forks source link

Splash load balancing #677

Closed thsheep closed 7 years ago

thsheep commented 7 years ago

@ kmike

Can Splash match Nginx for load balancing?

Because a single Splash load is low

thsheep commented 7 years ago

@kmike

thsheep commented 7 years ago

I want to use multiple physical machines to do load balancing

kmike commented 7 years ago

@thsheep sure, you can do this, Splash can be load balanced just like any other HTTP server. HAProxy can be a better fit than nginx though, because nginx provides request queues only in its paid version. See example HAProxy config in https://github.com/TeamHG-Memex/aquarium. See also: https://splash.readthedocs.io/en/stable/faq.html#how-to-run-splash-in-production.

thsheep commented 7 years ago

@kmike

thank you very much! The My Splash load cluster is already working fine

But don't know whether to hold Hold. Thanks again,

Work happy! ☺