Hi everyone
I have a website on an ultimate hosting plan using cpanel/linux. I am building a game on javascript and I frequently have to store the player's position/score/moves on the server, which I do using PHP-POST storing everything on a mySQL database.
It all works well most of the time, but after about 150 or so POST calls, the website is then unresponsive - the next POST call gets no response (no errors, nothing), and even trying to refresh the website gets no responses - so once triggered, the block goes beyond POST calls. It takes around 2-3 minutes to respond again.
If I turn on a VPN, it works again - for a while, and then it becomes unresponsive again after 150 or so calls, so it looks like the error is linked to each IP address -- is there a limit on POST calls from each IP address? How can I solve this?
Many thanks!
Leo
Solved! Go to Solution.
There are many reason why a site does not respond.
If you plan on making a multi player game, I recommend using a high concurrency server-side language like nodejs
There are many reason why a site does not respond.
If you plan on making a multi player game, I recommend using a high concurrency server-side language like nodejs