Forum Settings
Forums
New
Feb 22, 2011 11:40 AM
#1

Offline
Apr 2008
430
http://myanimelist.net/forum/?topicid=280145

well I'm not gonna complain since nothing can be done about it and so one, but instead I'm curious.

I'm using MAL for quiet some time and things not always was like that... i saw that MSG about Servers catching up i think Year ego and they still have problem with that. Like 2 and more years ego MAL didn't have that kind of problems at all, so my question is Why do you think or (question to admins?) Why is it like that nowadays?

It's funny like how you update the episodes your watching (I'm always watching - well almost always anime in batch, couple episodes at a time, and always after each episode i change the episode count here on mal on my list, so it really got me curious) anyway how you update the ep and it will still stay at the episode before and you need to wait like 10 or more minutes for it to update.
This topic has been locked and is no longer available for discussion.
Feb 22, 2011 7:49 PM
#2

Offline
Mar 2009
65239
The cause of the lag is more people joining the website. When there is an increase in the number of users, there is more traffic on the site. This traffic takes a toll on the site's speed and servers, which then leads to lag.
Feb 24, 2011 12:13 AM
#3

Offline
May 2008
4052
MAL has been steadily growing since 2009 when the search rankings began to catch up and exceed that of ANN and other competing sites. The server load on a social site grows exponentially over time and the servers have not been upgraded fast enough to keep up with the load. Xinil has been trying every little trick he can to keep things running, even if that means disabling small things here and there, but obviously this has still not been enough to abate the ever-increasing lag issues.

pretty graphs, courtesy of alexa (follow the blue line):
<-- user growth since 2009
<-- pageviews over last 6 mo

Note that although MAL has about the same number of active users as ANN, it also has about double the traffic, on average (because people click more links). You can see the spikes each weekend, the largest recent one being this last christmas, when the lag grew to 9 hours or more on the slowest server.

The cause of the lag is simply too many updates from too many users.... the database servers just can't keep up with those big swings. There are multiple database servers (1 master and 3 slaves iirc) and some of them are slower than others so one of them may make your changes after a few seconds, but another might take an hour under load. Since the server is chosen randomly each time you request a page, your changes may appear and disappear randomly for as long as the slowest server is lagged. You can usually gauge how much each server is lagged by refreshing a busy page like the main forum page a few times and looking at the most recent post times.

I often see people saying "if we just deleted old inactive accounts or old forum posts, the lag would cease!", but actually it's only the active posting users that really matter. Each time you update anything that requires writing data to the servers (e.g. a forum post), the master server has to lock the information to prevent any further writes until that one is processed (imagine that two people post to the forum at the same time, and get the same post number overwriting each other). Because of those locks and coordination with the other servers, writing new information to the databases takes more time than just reading info from it. Now, things like inactive users and old posts.... they never even get requested, so they just sit on a hard drive somewhere and take up hard drive space -- they don't actually contribute to lag at all (except they do slow down searches). I'm simplifying a lot of things, but basically it's the updates you submit that slow mal down most.

The response time is generally acceptable on weekdays when most users are at school or work, but the traffic on the weekend is double that. Long weekends and holidays are especially bad, resulting in the slowest database servers becoming lagged by 7+ hours and making the site close to unusable. New users have trouble verifying and logging in for hours, and established users have everything appear slowly and disappear randomly.... it's extremely frustrating.

Steps are being taken to reduce the lag in any way possible, and we are expecting some serious improvements imminently, but I'm really not sure exactly when it will happen. Everyone knows it's bad, and has been for a long while, but we just have to deal with it until it's fixed.
sakaFeb 24, 2011 12:17 AM

I am a banana.
Feb 27, 2011 12:25 PM
#4
Offline
Jul 2018
561874
i don't want to be rude or anything since i know xinil is doing his best,but come on let's be honest,we've been hearing "we're trying our best to fix it asap" for a long time now.
is the design of the site efficient enough with the SQL queries? if so then how about buying another server? MAL is quite a big site, you can probably afford that right?
Feb 27, 2011 1:59 PM
#5

Offline
Sep 2010
1133
Isn't having an extra server the best and fastest solution, also for the future? Of course I don't know what the budget here is, and I don't know what it costs, but I'm just sharing a thought.
Feb 27, 2011 2:58 PM
#6

Offline
Apr 2010
1959
DoctorShinobi said:
i don't want to be rude or anything since i know xinil is doing his best,but come on let's be honest,we've been hearing "we're trying our best to fix it asap" for a long time now.
is the design of the site efficient enough with the SQL queries? if so then how about buying another server? MAL is quite a big site, you can probably afford that right?



Yea, I'm sorry but I must agree. Also, the top manga and anime lists haven't been update for like 4 years now. -__________________-

Feb 27, 2011 4:35 PM
#7

Offline
May 2008
4052
Making MAL scalable is not as easy as just adding more servers, since there's a diminishing return the more you have to add to the network. Crave handles the checkbooks and have already contributed additional servers and services to mal (like additonal mysql servers and use of their CDN which loads all the pictures and static content like javascript and stylesheets now). Steps have and are being taken to cope with the growing userbase but there really is no permanent easy fix.

I understand the frustration and MAL's growing pains are perhaps more painful than they should be, but complaining here is not going to help it. *locked*

I am a banana.
This topic has been locked and is no longer available for discussion.

More topics from this board

» Watch out for this guy "MALSupport" , he's a scammer.

jacobPOL - Today

27 by Shishio-kun »»
27 minutes ago

» reporting phishing scam

ColourWheel - Today

12 by ColourWheel »»
30 minutes ago

» Error code: STATUS_ACCESS_VIOLATION

deg - Aug 7

19 by kuroneko99 »»
6 hours ago

» Voice Acting Roles not showing up.

ShiroOuji - 9 hours ago

0 by ShiroOuji »»
9 hours ago

» Thread displaying incorrect thread creator after being moved

Noboru - Sep 3

19 by Shishio-kun »»
Sep 13, 6:00 AM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login