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.
47,500 Comments - Last post 15 minutes ago by pizzahut
8 Comments - Last post 45 minutes ago by reigifts
992 Comments - Last post 1 hour ago by ofim
17 Comments - Last post 1 hour ago by RobbyRatpoison
36 Comments - Last post 2 hours ago by FateOfOne
43 Comments - Last post 2 hours ago by FateOfOne
17 Comments - Last post 3 hours ago by kudomonster
817 Comments - Last post 11 minutes ago by Karfein
188 Comments - Last post 18 minutes ago by NoctuaVentus
76 Comments - Last post 19 minutes ago by cocoiv
226 Comments - Last post 51 minutes ago by quinnix
31,385 Comments - Last post 1 hour ago by Heitor112
103 Comments - Last post 1 hour ago by Yolgie
934 Comments - Last post 1 hour ago by venturercatt
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.