Some threads are almost unusable slow to load in browser

Is something wrong? Do you have any suggestions? Let us know.
Post Reply
sorin
Lives in gote
Posts: 389
Joined: Wed Apr 21, 2010 9:14 pm
Has thanked: 418 times
Been thanked: 198 times

Some threads are almost unusable slow to load in browser

Post by sorin »

I have had this problem for a long time now: when I am loogged-in, some threads are almost unusable slow to load in browser - it takes many minutes to load such a page, many times they just time out and I give up posting in such threads.
While if I log out, they load very fast.

This seems to be the case only with the threads that contain lots of images/sgfs.

Has anyone else seen this problem before? Any idea how to fix this?

I see the same problem both in Chrome and IE - I only tried this on Windows.
User avatar
Joaz Banbeck
Judan
Posts: 5546
Joined: Sun Dec 06, 2009 11:30 am
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
Location: Banbeck Vale
Has thanked: 1080 times
Been thanked: 1434 times

Re: Some threads are almost unusable slow to load in browser

Post by Joaz Banbeck »

[admin]
sorin wrote:...While if I log out, they load very fast...

How many posts per page are you loading? This site works best when that is set to ten.
To change that
1) go to the 'user control panel' ( in the upper right )
2) On the left side, choose 'board preferences'
3) From that list, choose 'edit display options'
4) In the middle bottom, the last entry will be 'posts per page'. Edit that.



We don't know about any server problems, though we will check into that.

We have seen a recent spike in the posting of images and videos. We are taking steps to decrease that.

Has anyone else been having the same experience that Sorin has?

[/admin]
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
mhlepore
Lives in gote
Posts: 390
Joined: Sun Apr 22, 2012 9:52 am
GD Posts: 0
KGS: lepore
Has thanked: 81 times
Been thanked: 128 times

Re: Some threads are almost unusable slow to load in browser

Post by mhlepore »

First I have heard of such a problem. I think my settings are set to 20 per page and have never experienced this.
sorin
Lives in gote
Posts: 389
Joined: Wed Apr 21, 2010 9:14 pm
Has thanked: 418 times
Been thanked: 198 times

Re: Some threads are almost unusable slow to load in browser

Post by sorin »

Thank you so much - looks like 20 was too much, setting it to 10 works!
Kirby
Honinbo
Posts: 9552
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Some threads are almost unusable slow to load in browser

Post by Kirby »

Can you post a link to a page that loads slowly when you view 20 posts/page?

Changing the number of posts per page is nice, but I'd like to investigate the root cause more thoroughly.
be immersed
sorin
Lives in gote
Posts: 389
Joined: Wed Apr 21, 2010 9:14 pm
Has thanked: 418 times
Been thanked: 198 times

Re: Some threads are almost unusable slow to load in browser

Post by sorin »

Kirby wrote:Can you post a link to a page that loads slowly when you view 20 posts/page?

Changing the number of posts per page is nice, but I'd like to investigate the root cause more thoroughly.


Thank you for looking into this, Kirby - here's the most recent example: viewtopic.php?f=13&t=13751 (the "Following Iyama Yuta" thread).
User avatar
Joaz Banbeck
Judan
Posts: 5546
Joined: Sun Dec 06, 2009 11:30 am
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
Location: Banbeck Vale
Has thanked: 1080 times
Been thanked: 1434 times

Re: Some threads are almost unusable slow to load in browser

Post by Joaz Banbeck »

sorin wrote:
Kirby wrote:Can you post a link to a page that loads slowly when you view 20 posts/page?

Changing the number of posts per page is nice, but I'd like to investigate the root cause more thoroughly.


Thank you for looking into this, Kirby - here's the most recent example: viewtopic.php?f=13&t=13751 (the "Following Iyama Yuta" thread).


My browser ( Chrome running on Linux ) displays the first ten posts of that thread in about one second. Other randomly chosen pages from that thread also display equally quickly. :scratch:
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
sorin
Lives in gote
Posts: 389
Joined: Wed Apr 21, 2010 9:14 pm
Has thanked: 418 times
Been thanked: 198 times

Re: Some threads are almost unusable slow to load in browser

Post by sorin »

Joaz Banbeck wrote:
sorin wrote:
Kirby wrote:Can you post a link to a page that loads slowly when you view 20 posts/page?

Changing the number of posts per page is nice, but I'd like to investigate the root cause more thoroughly.


Thank you for looking into this, Kirby - here's the most recent example: viewtopic.php?f=13&t=13751 (the "Following Iyama Yuta" thread).


My browser ( Chrome running on Linux ) displays the first ten posts of that thread in about one second. Other randomly chosen pages from that thread also display equally quickly. :scratch:


I switched back to 20 and it is working pretty fast for me too now...

I start to believe that my setting was not 20 earlier, but 200 (but the browser displayed only the first 2 digits, so I thought it was 20?).
Reason for that: when I had trouble loading long threads, I think I remember that the "Following Iyama" thread was shown as being paginated only into 2 pages, which is consistent with a 200 posts per page (since the thread has a little less than 400 posts now).
User avatar
schultz
Lives in gote
Posts: 505
Joined: Tue Apr 20, 2010 5:31 pm
GD Posts: 0
Location: Montana
Has thanked: 80 times
Been thanked: 62 times

Re: Some threads are almost unusable slow to load in browser

Post by schultz »

This sounds like a new instance of a very old complaint/concern/problem that people have had with loading large numbers of posts per page.

We process every diagram every time it loads, so it makes sense that with diagram heavy pages the server is being tasked with doing an enormous amount of work whenever the page gets refreshed/reloaded. I still hold to this being the root cause behind these issues.

The old godiscussions used the same/similar function to process the diagrams, but created an actual image file with a hash key that it could retrieve and not reprocess if it already existed. This creates other problems (storing ridiculous amounts of images), but cuts back on processing.

Kirby, what do you think about postponing the processing of the diagrams until they're scrolled to (or some other delay)? With fast scrolling you would get pop-in of the diagrams as they load, but it might be the best solution for people who prefer not having to paginate their threads.
KGS: schultz [?].
Kirby
Honinbo
Posts: 9552
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Some threads are almost unusable slow to load in browser

Post by Kirby »

schultz wrote:Kirby, what do you think about postponing the processing of the diagrams until they're scrolled to (or some other delay)? With fast scrolling you would get pop-in of the diagrams as they load, but it might be the best solution for people who prefer not having to paginate their threads.


It is feasible to do. Maybe I'll have time to play with some things this weekend.
be immersed
User avatar
Bonobo
Oza
Posts: 2223
Joined: Fri Dec 23, 2011 6:39 pm
Rank: OGS 9k
GD Posts: 0
OGS: trohde
Universal go server handle: trohde
Location: Germany
Has thanked: 8262 times
Been thanked: 924 times
Contact:

Re: Some threads are almost unusable slow to load in browser

Post by Bonobo »

I think 40 entries is maximum. There used to be a time when things were slow for many L19ers, a few years ago (many posts titled “connection problems” or similar), and setting the number to 10 was the only thing that helped (I think it was especially with pages that had many playable diagrams). Then the admins did something (I think it was a move to another server?), and things got better. I set it to 20 then and have never had any of those problems again.
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)
Post Reply