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.
7 Comments - Last post 33 minutes ago by mm3n
1,181 Comments - Last post 1 hour ago by NeStric
21 Comments - Last post 1 hour ago by nogphille
21 Comments - Last post 1 hour ago by FranEldense
2,656 Comments - Last post 2 hours ago by MeguminShiro
16,859 Comments - Last post 2 hours ago by Inkyyy
391 Comments - Last post 2 hours ago by kiseli
178 Comments - Last post 3 minutes ago by tmznix
198 Comments - Last post 8 minutes ago by Metalhead8489
99 Comments - Last post 8 minutes ago by TheMuzo
238 Comments - Last post 11 minutes ago by TheMuzo
1,575 Comments - Last post 21 minutes ago by Sumnium
64 Comments - Last post 1 hour ago by Carenard
1,160 Comments - Last post 1 hour ago by IronKnightAquila
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.