Forum Moderators: open
When you are in a chatroom it fires off an AJAX request every 2.5 seconds which does a number of queries to return the latest chat conversations and user lists. If there are 100 users in a chatroom I am going to have big issues with MySQL such as too many connections and so on.
Would you recommend I setup replication and have a master and a slave? This chatroom is completely free I am not making any money so I dont have the budget to buy multiple servers (I own a linux VPS). How else could I avoid scaling problems?
Thanks for your advice!