1)Budget:20$,please do not apply more than this.
Server is deployed in DIGITAL OCEAN cloud hosting with 8GB RAM.
Issue to be rectified is once there are more calls continuously mysql is not returning/responding which is delaying the queries and very slow responses.
There are API calls like 300-500 queries per every 10 seconds,have to fix this and response should be very quick in milliseconds,sometimes its slow and sometimes its fast,when there are more hits to server ,mysql does not respond well.
Please apply if you have fixed this kind of issue earlier with mysql query responses.
Server is running with nginx,hhvm,mysql.