Forums

website too slow

Quick find code: 278-279-111-66148074

Immortalized
Mar Member 2006

Immortalized

Posts: 34,061 Sapphire Posts by user Forum Profile RuneMetrics Profile
a lot of the bottleneck is this player details script



this is a refresh of this exact thread, where I am the only person who has posted on it. it takes 6 seconds to load some meta data about a single player. no offense but 6 second response time is insane.

6 second response time is best case scenario. in bigger threads with multiple users it's even slower, sometimes 8 seconds. what the heck

for many years this script used to fetch the player titles to display under our avatar. that has been broken for years now. now you might guess that was dropped because of performance reasons, but actually the script is even slower now? hello?

what's going on with jagex web development? I can't think of any actual improvements to site in years and all we're getting is slower and slower to the point that it is basically unusable.
Buy Zemomarks / Chromatic Partyhats safely here

23-Mar-2020 03:43:44 - Last edited on 23-Mar-2020 03:48:41 by Immortalized

Hmm
Jan Member 2016

Hmm

Posts: 13,000 Opal Posts by user Forum Profile RuneMetrics Profile
It's almost certainly the same issue as when I posted similar looking graphs 5 months ago

Here

The exact URI's causing the issue are different, but the behaviour is exactly the same and I'm willing to bet linked.

Unfortunately, we all know that Jagex Management does not prioritise fixing issues unless they break access to the game. And even then you have to be lucky. The forums are of zero concern to them.

23-Mar-2020 19:08:31 - Last edited on 23-Mar-2020 19:53:41 by Hmm

2_Tron

2_Tron

Posts: 22,959 Opal Posts by user Forum Profile RuneMetrics Profile
Draco Burnz said :
Are you sure this isnt your net?
I have to simply agree with you on this as everything is fast enough working very well.
What a lot of people seem to forget is that there's an Internet Infra-Structure that is provided by several businesses 'Internet Service Provider/Cable Companies' and if they aren't investing any time/effort/money/hardware-upgrades into this structure you as a 'user' are left-out of any improvements.
The website works great on computer/laptop/mobile thus there's very little to complain.
If there's improvement in Infra Structure then you simply have to wait until it is completed to find out any advantages.

24-Mar-2020 12:33:15

Hmm
Jan Member 2016

Hmm

Posts: 13,000 Opal Posts by user Forum Profile RuneMetrics Profile
It is absolutely a Jagex side issue. You can see its blocking for nearly 6 seconds on the right, the exact same script as Immortalized now, where my main issue used to be the avatar cachebusts months ago. These are still fairly heavy, but no longer the rate determining step.



You can see the majority of the time is spent on waiting, I.E, the browser absolutely would love to recieve data, but the server simply won't send it. This is not an ISP issue.

I can appreciate people saying what basically summounts to "it works for me", and its great if it does work for the majority of people. But deflecting this back at the people who have the fault is just ignoring the problem. It is absolutely a systematic issue that has gone on for months on Jagex's end.

24-Mar-2020 17:45:29 - Last edited on 24-Mar-2020 17:46:34 by Hmm

Hmm
Jan Member 2016

Hmm

Posts: 13,000 Opal Posts by user Forum Profile RuneMetrics Profile
I'm glad it's working fine for you, but that doesn't mean it's working fine for everybody else, even if it's the majority that have no issues.

It's also fair to say that out of the people who do have issues, only a minority will ever get to the point of reporting it, working with computers, I can guarantee that when hundreds of people are having issues with my own stuff, I'm lucky to get one of them to actually tell me.

Lack of people saying they have issues isn't a lack of people having issues.

24-Mar-2020 22:54:38 - Last edited on 24-Mar-2020 22:56:41 by Hmm

Immortalized
Mar Member 2006

Immortalized

Posts: 34,061 Sapphire Posts by user Forum Profile RuneMetrics Profile
glad to get confirmation it's not just me experiencing these issues. and no it's not my net. this is peering into developer world, but the response time from the server is what is taking so long, not my isp.

as seen in the picture above, the connection is already made, it is literally just waiting on the response from the server. so it's not an ISP thing, unless you believe that for some oddball reason the ISP selectively makes the packets of this specific request slower, which is not possible over encrypted pages anyway. you may see better performance for many reasons but most likely just because you tried at the right time of day.

quite frankly this site has been intolerably slow for a long time. there are some times where i get good performance, like now, but inconsistent load times are even greater indications of something horribly wrong. if you wrote the code correctly it would behave the same under same general circumstances. variations between instant and 8+ seconds is a performance disaster and suggests something horribly wrong with caching, indexing, or whatever is causing the problem
Buy Zemomarks / Chromatic Partyhats safely here

25-Mar-2020 00:00:31 - Last edited on 25-Mar-2020 00:46:40 by Immortalized

Immortalized
Mar Member 2006

Immortalized

Posts: 34,061 Sapphire Posts by user Forum Profile RuneMetrics Profile


sorted as slowest time last; this is on a "good day" (if you can call it that) when it takes 3s

here is the specific script isolated and benchmarked



I'm also very suspect about avatars requiring latency in the first place. if caching is designed correctly, these should not incur any latency.

instead, the browser always fetches, gets a 302 redirect, then either downloads or uses disk cache. the pointless fetch adds up. other things like background images load instantly. these are much bigger than avatars. it is crazy to see huge background images render instantly, but my same avatar I see on every page is always invisible for a few seconds until it loads.

that is total nonsense. like, does anyone at jagex even acknowledge this because it completely baffles me. I'm really not convinced anyone is really addressing the performance issues of this website and it's just becoming progressively harder to use, especially internationally


also, some food for thought, hypothetically if this script for whatever reasons loads slower when querying the details of specific users, then yes, your experience may be totally different than someone else unless you always post on the same thread as them. since the bottleneck of the script would always be when loading a specific problem-user's details, it would always take slower for that individual everywhere on the entire forums, whereas your average page time would be much different since you are not a problem-user
Buy Zemomarks / Chromatic Partyhats safely here

25-Mar-2020 00:12:55 - Last edited on 25-Mar-2020 00:38:30 by Immortalized

Quick find code: 278-279-111-66148074 Back to Top