On a single machine I have a background daemon publishing faye messages and a separate rails process that allows clients to subscribe. With faye-redis, the rails server does pick up all the jobs, but there's a long delay ranging between roughly 5 and 25 seconds before the rails faye server will pick up all the messages and send them to the clients. When I publish messages from the rails server, there is virtually no delay before the client receives it, so I am assuming the delay is in the faye-redis engine.
Shouldn't this be faster? If the delay is by design, how can I make it poll more frequently? I'd love if this were configurable.
Thanks!
On a single machine I have a background daemon publishing faye messages and a separate rails process that allows clients to subscribe. With faye-redis, the rails server does pick up all the jobs, but there's a long delay ranging between roughly 5 and 25 seconds before the rails faye server will pick up all the messages and send them to the clients. When I publish messages from the rails server, there is virtually no delay before the client receives it, so I am assuming the delay is in the faye-redis engine.
Shouldn't this be faster? If the delay is by design, how can I make it poll more frequently? I'd love if this were configurable.
Thanks!