jimsynz / faye-rails

Simple Rails glue for the Faye messaging protocol.
MIT License
435 stars 79 forks source link

App very slow on production, works fine on development #62

Closed rajaaa92 closed 9 years ago

rajaaa92 commented 9 years ago

Hello,

Before using this gem I was running two processes to run faye (faye on port 4001). The application was working fine on development and on the production. I wanted to move both to one process, so I found this gem and included it in my app. Everything was working fine on development. But on production the app got very very slow, it needed one minute to load and about 20 seconds to make one pub-sub action (before it worked without any delay).

What is wrong and how to fix it?

Thanks, Joanna

jimsynz commented 9 years ago

Most likely Rack::Lock or your choice of server. I'd like to note that issues aren't a support channel.