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.
12 Comments - Last post 4 minutes ago by FanosSlapVt
82 Comments - Last post 8 minutes ago by Hassat
2,036 Comments - Last post 27 minutes ago by orono
1,119 Comments - Last post 31 minutes ago by RavageKing
8 Comments - Last post 38 minutes ago by FluffyKittenChan
10 Comments - Last post 38 minutes ago by FluffyKittenChan
309 Comments - Last post 1 hour ago by Vecchia
83 Comments - Last post 4 minutes ago by Naviis
401 Comments - Last post 4 minutes ago by venturercatt
416 Comments - Last post 8 minutes ago by taha1831
850 Comments - Last post 23 minutes ago by Moony1986
984 Comments - Last post 23 minutes ago by venturercatt
2,315 Comments - Last post 38 minutes ago by Chew300ZX
118 Comments - Last post 54 minutes ago by aez76
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.