I created a chat module for my RoR system with private_pub
gem (that uses Faye
) and it was working very well until some weeks ago.
We tested and installed the module on Amazon AWS and it was in production mode with the rest of the application and suddenly we received some complaints from our customers reporting long delays when sending or receiving messages.
This was not like that some time ago. It took 1 or 2 seconds max to send a message (actually I believe much less than that). This machine on Amazon was never rebooted and is running the application (not the chat, the chat was installed around 4 months ago) for over an year now.
I restarted the Faye server (I am using TMUX to run the server and detach it from terminal and get it running on background) but it didn't seem to help.
Any ideas on what could be causing this behavior or how can I test it?
Thanks