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.
57 Comments - Last post 2 minutes ago by Golwar
51 Comments - Last post 5 minutes ago by ElBolovo
252 Comments - Last post 39 minutes ago by WaxWorm
291 Comments - Last post 5 hours ago by JX8
795 Comments - Last post 8 hours ago by FranckCastle
364 Comments - Last post 8 hours ago by Zepy
44 Comments - Last post 9 hours ago by IronKnightAquila
542 Comments - Last post 9 minutes ago by shadowshiv
640 Comments - Last post 22 minutes ago by Vampus
49 Comments - Last post 39 minutes ago by madjoki
32 Comments - Last post 42 minutes ago by viaI
95 Comments - Last post 49 minutes ago by Axelflox
16,914 Comments - Last post 52 minutes ago by MjrPITA
28,553 Comments - Last post 57 minutes ago by FranckCastle
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.