firehoseio / firehose

Build realtime Ruby web applications. Created by the fine folks at Poll Everywhere.
http://firehose.io/
MIT License
726 stars 72 forks source link

Scaling and high availability #63

Closed srbartlett closed 8 years ago

srbartlett commented 8 years ago

Curious to know how firehose.io can be scaled.

Can the Producer and Consumer be scaled across multiple compute instances behind a load balancer?

I've looked at the code but not 100% sure it is possible -- especially with regards to the Consumer.
Any clarification would be appreciated.

bradgessler commented 8 years ago

The Firehose server itself is horizontally scalable. Its backed by Redis so you'd want to configure those to the HA and performance traits for your application.

Was their something in particular in the Consumer that you're concerned about from a scaling perspective?