|
|
---|---|
-LOCKED - Lag Woes | |
Posted on 2017-10-02 08:51:32
The start of the October event has seen a burst of activity which led to some very laggy servers last night, which I'm sure most of you encountered. Last night we called an emergency admin meeting and spent some time consulting with server experts to try and figure out what the best way to stamp the lag out was. We've identified a number of bottlenecks which we think are strangling the servers in places when we have a high number of users like this all on at one time, and we're putting a plan of action in place to try and iron those out as soon as possible. One of the most frequently asked questions is, "Why can't you just add another server?" While in the short term this may seem like the best solution, it is a bit more involved than that. There are essentially two pieces to Lioden β what we refer to as the "frontend" and the "backend". The frontend is the portion of the site that handles running all of the scripts and render out the pages to your browsers. This is the easiest area to add more servers to. Unfortunately it is the least effective, and perhaps even detrimental, in our current situation. Lioden's code base has grown monumentally since its inception 5 years ago. During this time, much of the core of the code has remained the same. Although this worked perfectly when we peaked at a couple hundred users, scaling up to a couple thousand is another feat entirely. Over time we have slowly been updating pieces of this foundation (user caching, rollover procedure, energy system, etc.). These are no trivial feats that, while important, can also introduce new problems into the system. Above it was mentioned that there were two pieces, the other being the "backend". While servers can be added to this portion of the site, it is unfortunately not as straight forward as adding them to the frontend. This is why our first focus is on addressing legacy code to increase efficiency and add optimization. With that being said, we are looking at extending the backend with an additional server as well. This, however, will take more time and careful planning. We're beginning with search, and implementing a new piece of software that will really optimise and speed that up, as individual searches can cause some unfortunate server pain. Alongside that our next step is to tweak and improve how inventory is handled, as this too can be a hefty weight on the servers. This will all be going on in the background so hopefully you shouldn't notice any downtime, though if there are to be any we'll let you know as far in advance as possible. We appreciate your patience throughout all of this and just want to let you guys know how awesome you are! Thanks for sticking by us! 0 players like this post! Like? Edited on 02/10/17 @ 08:53:50 by Kitty (#2) |
Kindred - #1 Java Hater (#45189) Demonic View Forum Posts Posted on 2017-10-02 10:59:09 |
Did you know: In the wild, servers eat lions, regularly treating them as prey. They are perhaps the only true predators of a fully grown lion. 0 players like this post! Like? |
anim (#125344)
Usual View Forum Posts Posted on 2017-10-02 11:00:21 |
Joker070502 (#125409)
Holy View Forum Posts Posted on 2017-10-02 11:03:18 |
Clock-Owwl (#81555)
Renowned View Forum Posts Posted on 2017-10-02 11:04:03 |
Autumn-Springs (#64116)
Magnificent View Forum Posts Posted on 2017-10-02 11:08:42 |
Why not just close registration for a short amount of time then reopen it on a later time to control this servere lag of people joining? for, say, 2 weeks have it open then close it for the rest of the month then repeat next month and so on 0 players like this post! Like? |
Narvala hibikis bird <3 (#117743) Wicked View Forum Posts Posted on 2017-10-02 11:09:36 |
Basenji [Primal] (#96729)
Sapphic View Forum Posts Posted on 2017-10-02 11:19:05 |
Even with the issues that arise with growth, it's so good that it's happening. Best of luck growing your company and getting the issues sorted with the least amount of headache possible, and mad props to you guys for the transparency! 0 players like this post! Like? |
SpotWolf (they/them/theirs) (#44784) King of the Jungle View Forum Posts Posted on 2017-10-02 11:23:50 |
RIP lioden crew. yall work too hard. Thank you for keeping the game running <3 0 players like this post! Like? |
Jibreel π (#124021)
Heavenly View Forum Posts Posted on 2017-10-02 11:24:12 |
Oh, cool. Glad to hear this is happening. Yeah, I put on my QA hat yesterday, popped open the console in firefox, and was thinking, "Whoa, so for every square we click for lionness hunting, it sends an individual request about that square to the server ahead of time? Why not consolidate that into 1 request that only gets sent the square coordinates when you submit?" That would turn 2000 X 2 X 5 = 20,000 requests into 4,0000 requests per hour. (2000 users peak, 2 hunts per hour, 1 click vs. 5). 0 players like this post! Like? |
But at last came a knock (#109549) Notable Lion View Forum Posts Posted on 2017-10-02 11:30:23 |
LittleMiniCooper (#19283)
King of the Jungle View Forum Posts Posted on 2017-10-02 11:32:33 |
βπππππ π (#110469) Magnificent View Forum Posts Posted on 2017-10-02 11:34:50 |
Glad to know that, yesterday was very painful, between the time it took me to finish a fight against a lioness and the various error messages appearing continuously... I hope this will be done soon 0 players like this post! Like? |
Kyuuna (#1723)
King of the Jungle View Forum Posts Posted on 2017-10-02 11:44:42 |
Hope the servers don't put up as much of a fuss as implied in your doodle and thank you for the insight into why things were acting up ^_^. 0 players like this post! Like? |
Lyric_Asher (#126659)
Usual View Forum Posts Posted on 2017-10-02 11:48:36 |
Oh, alright. I really hope this doesnβt end in downtime. ^^β thanks for everything youβve been doing! 0 players like this post! Like? |
takashari (#9656)
View Forum Posts Posted on 2017-10-02 12:02:59 |