now we're using a load balancer, how fast they grow :,)
Comment has been collapsed.
Thanks!
Thank you.
Many blessings to you!
I love this game!
OMG cg!
Awesome ;)
Thx.
(Thanks for the virtual place for the digital swag.)
Comment has been collapsed.
6 Comments - Last post 2 minutes ago by CelticBatman
445 Comments - Last post 9 minutes ago by DazeTheBearChieftain
202 Comments - Last post 18 minutes ago by Tenn
34 Comments - Last post 23 minutes ago by Formidolosus
624 Comments - Last post 31 minutes ago by sensualshakti
70 Comments - Last post 33 minutes ago by Sh4dowKill
3,220 Comments - Last post 55 minutes ago by MeguminShiro
11 Comments - Last post 14 seconds ago by PapaSmok
102 Comments - Last post 4 minutes ago by abdNiszan
62 Comments - Last post 5 minutes ago by abdNiszan
26 Comments - Last post 5 minutes ago by olehsamoilenko
134 Comments - Last post 14 minutes ago by hiddendoom45
1,496 Comments - Last post 19 minutes ago by Octorocket
191 Comments - Last post 24 minutes ago by ctype
Hey SG, a new update to our servers went live today. In the past couple of weeks our web server has been overloaded during peak hours. It hasn't been too severe, but you might have noticed slight delays at certain times of the day. If you view the attached graph, you can see CPU usage on our web server throughout a few days last week. It dips below 50% usage during off-peak hours, and starts to hit 100% usage during peak hours.
This represents two problems. First off, we need less resources during off-peak hours, and secondly, more resources during peak hours. This brings us to the world of load balancing. As of today, we're now running a load balancer and multiple smaller web servers. They're 1/4 the size of our previous web server, but we'll be running between two and twelve of them at any given time. With our current traffic, we'll likely see three web servers running during off-peak hours and six during peak hours. This helps to reduce costs when the site is less busy, and allows resources to automatically scale as traffic increases throughout the day.
Also, our scheduled tasks have been moved to a separate smaller server. These tasks include such things as generating winners, calculating contributor levels, distributing points, pulling data from the Steam API, and more.
If you view the second attached image, you can see a simple concept of how this works. When you visit the site, you'll connect to the load balancer, which sends you to one of the available web servers, which then connects to our database server.
With our current setup, we should be able to scale to three times our existing traffic, and then our database server will need to be upgraded. I'd like to invest some time further growing the site this year, and the new setup will help to give us the flexibility to do so.
Comment has been collapsed.