It is currently Thu Mar 28, 2024 1:06 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
Offline
 Post subject: Some threads are almost unusable slow to load in browser
Post #1 Posted: Thu Feb 14, 2019 10:07 am 
Lives in gote

Posts: 388
Liked others: 416
Was liked: 198
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.

Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #2 Posted: Thu Feb 14, 2019 10:11 am 
Judan
User avatar

Posts: 5539
Location: Banbeck Vale
Liked others: 1103
Was liked: 1456
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
[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

Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #3 Posted: Thu Feb 14, 2019 10:20 am 
Lives in gote

Posts: 389
Liked others: 81
Was liked: 128
KGS: lepore
First I have heard of such a problem. I think my settings are set to 20 per page and have never experienced this.


This post by mhlepore was liked by: Joaz Banbeck
Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #4 Posted: Thu Feb 14, 2019 12:19 pm 
Lives in gote

Posts: 388
Liked others: 416
Was liked: 198
Thank you so much - looks like 20 was too much, setting it to 10 works!

_________________
Sorin - 361points.com


This post by sorin was liked by: Bill Spight
Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #5 Posted: Thu Feb 14, 2019 6:12 pm 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
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


This post by Kirby was liked by: Joaz Banbeck
Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #6 Posted: Thu Feb 14, 2019 7:25 pm 
Lives in gote

Posts: 388
Liked others: 416
Was liked: 198
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).

_________________
Sorin - 361points.com

Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #7 Posted: Thu Feb 14, 2019 7:42 pm 
Judan
User avatar

Posts: 5539
Location: Banbeck Vale
Liked others: 1103
Was liked: 1456
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
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

Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #8 Posted: Thu Feb 14, 2019 8:07 pm 
Lives in gote

Posts: 388
Liked others: 416
Was liked: 198
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).

_________________
Sorin - 361points.com


This post by sorin was liked by 2 people: Bill Spight, Joaz Banbeck
Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #9 Posted: Fri Feb 15, 2019 10:58 am 
Lives in gote
User avatar

Posts: 505
Location: Montana
Liked others: 80
Was liked: 62
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 [?].

Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #10 Posted: Fri Feb 15, 2019 11:25 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
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

Top
 Profile  
 
Offline
 Post subject: Re: Some threads are almost unusable slow to load in browser
Post #11 Posted: Fri Feb 15, 2019 12:04 pm 
Oza
User avatar

Posts: 2221
Location: Germany
Liked others: 8262
Was liked: 924
Rank: OGS 9k
OGS: trohde
Universal go server handle: trohde
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? :)


This post by Bonobo was liked by: Joaz Banbeck
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group