Members Main Page getting slow?
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
Members Main Page getting slow?
Is it just me, or has the speed at which the members main page loads been slowing lately? I run firebird as my default browser, and i checked how long it took the page to load, I counted out 12 seconds. I then loaded up internet explorer to test it out. I hadnt visited the site using IE since I last formatted, so it wasnt in the cache or anything. It ended up taking a whopping 41 seconds to load. Later I tried loading the page again, took about 9 seconds this time. I then performed another try with firebird, with it taking 18 seconds this time.
By comparison, almost any other page on the site comes up within about 1 second of me clicking on the link.
I'm just guessing that this is because theres so much stuff that the main page has to check on when it loads... your opinions, your download problems, new journal entries, new downloads, and videos that you need to leave stars on. Am I on the right track here? If so, maybe it could be possible to make it optional for these things to load on your main page, and instead replace it with a link to said material?
By comparison, almost any other page on the site comes up within about 1 second of me clicking on the link.
I'm just guessing that this is because theres so much stuff that the main page has to check on when it loads... your opinions, your download problems, new journal entries, new downloads, and videos that you need to leave stars on. Am I on the right track here? If so, maybe it could be possible to make it optional for these things to load on your main page, and instead replace it with a link to said material?
- LightningCountX
- Joined: Tue May 20, 2003 8:35 am
- Location: Bayside, NY Interests: Your Mom ^_^
- Contact:
- J-0080
- Joined: Thu May 01, 2003 7:37 pm
- Location: Mid-West Side Laying On: Fangirls
- Corran
- Joined: Mon Oct 14, 2002 7:40 pm
- Contact:
-
- is
- Joined: Tue Jul 23, 2002 5:54 am
- Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
- Location: N????????????????
It's impossible to say anything specific without looking at the interface and database schema.
I just tried to load the members main page, and it seemed to load fairly quickly. Then again, I'm trying this at an off-peak hour.
There was some lag in loading the right sidebar (all the statistics and "latest" stats), but it didn't seem too bad.
Still, simplifying the page doesn't sound like a bad idea. In particular, rolling up some of the sidebar entries into clickable links that go to other pages doesn't sound too terrible. I don't know how much of a speedup that could possibly provide -- everything on the right sidebar looks like it could be generated with some pretty simple queries -- but maybe somebody with greater knowledge of the .org database schema can fill us in on this.
Oh yeah, something related about the profile page. It's also slow. I think it might be the calculation of global and personal averages, but again, without knowledge of the schema I can't say anything for sure.
Anwyay, If that's true:
...well, not much to say, since I don't know how the site works with that data. It's possible that the code is storing that data and recalculating it only when an opinion is entered or updated -- and that would provide a significant speedup over recalculating the averages for every member page request -- but again I don't really know.
If the site is currently using the latter method of averages calculation, it might be worth it to try the former for at least the global average.
I just tried to load the members main page, and it seemed to load fairly quickly. Then again, I'm trying this at an off-peak hour.
There was some lag in loading the right sidebar (all the statistics and "latest" stats), but it didn't seem too bad.
Still, simplifying the page doesn't sound like a bad idea. In particular, rolling up some of the sidebar entries into clickable links that go to other pages doesn't sound too terrible. I don't know how much of a speedup that could possibly provide -- everything on the right sidebar looks like it could be generated with some pretty simple queries -- but maybe somebody with greater knowledge of the .org database schema can fill us in on this.
Oh yeah, something related about the profile page. It's also slow. I think it might be the calculation of global and personal averages, but again, without knowledge of the schema I can't say anything for sure.
Anwyay, If that's true:
...well, not much to say, since I don't know how the site works with that data. It's possible that the code is storing that data and recalculating it only when an opinion is entered or updated -- and that would provide a significant speedup over recalculating the averages for every member page request -- but again I don't really know.
If the site is currently using the latter method of averages calculation, it might be worth it to try the former for at least the global average.
- Lyrs
- Joined: Thu Aug 29, 2002 2:41 pm
- Location: Internet Donation: 5814 Posts
- Jonathan02us
- Joined: Wed Oct 01, 2003 8:14 pm
- Location: Southern California
- Contact:
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact: