I have a droplet sized at 2 vCPUs & 4GB / 25GB Disk ($40/month). The droplet houses my Hasura postgres DB.
I have a mobile app that users can create beer league type schedules that relies heavily on websocket technology for instant updating as several users at a time across several different screens (think 40-80 people interacting per schedule) where these players will all be viewing schedules concurrently and need to be notified instantly of updates (scores/standings/in progress matches).
During the highest traffic nights I have anywhere from 5-10 leagues running at a time and loading the schedule takes 3-7 seconds (feels like an eternity) since the traffic is spiked during these times.
How can I keep things running smooth and loading quickly when I hit these traffic spikes? I just upgraded that droplet to the current plan and it’s definitely helped, but it doesn’t feel like enough. Do I need to upgrade my droplet again? I purchased the basic load balancer for the droplet, but I have no idea what I’m doing and don’t even know if that’s the purpose of the load balancer.
If I have a load balancer set up, do I need multiple droplets for it to be effective? If I have multiple dropelts, how do I set them up to all hit the same database at the same time?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.