Throttling like displays ( Hypothetically, I mean, ...)

Is something wrong? Do you have any suggestions? Let us know.
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Throttling like displays ( Hypothetically, I mean, ...)

Post by hyperpape »

...I have a friend who is kinda vain and can't see where people have liked his posts anymore, because the profile only displays 100 results.

If you want a more "respectable" complaint, you also can't see anything you have liked after the first 100. That's a problem because I often use likes to remember posts that I want to come back to.
User avatar
daniel_the_smith
Gosei
Posts: 2116
Joined: Wed Apr 21, 2010 8:51 am
Rank: 2d AGA
GD Posts: 1193
KGS: lavalamp
Tygem: imapenguin
IGS: lavalamp
OGS: daniel_the_smith
Location: Silicon Valley
Has thanked: 152 times
Been thanked: 330 times
Contact:

Re: Hypothetically, I mean, I have a friend who is...

Post by daniel_the_smith »

I wonder if he's related to the guy I know that'd like to be able to sort the gratitude page by likes, or even better, by the post/like ratio... :roll:
That which can be destroyed by the truth should be.
--
My (sadly neglected, but not forgotten) project: http://dailyjoseki.com
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: Hypothetically, I mean, I have a friend who is...

Post by Joaz Banbeck »

In the settings page where that figure can be changed, there's a cryptic warning that there will be a 'slow down' if the number is set over 250. It does not say what, exactly, will slow down. I infer that it is the display of the posts that you have liked, or display of posts in which you have been liked. If so, that seems a reasonable tradeoff. If the whole board slows down, it is not.

I set the number to 200. Please post here if you see any negative effects.
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
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: Hypothetically, I mean, I have a friend who is...

Post by Joaz Banbeck »

A day or two has passed, and I see no negative effects. I'm going to push it to 300 and see what happens.

EDIT: Neither this particular function nor the board in general seems to have slowed down.
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: Hypothetically, I mean, I have a friend who is...

Post by xed_over »

Joaz Banbeck wrote:In the settings page where that figure can be changed, there's a cryptic warning that there will be a 'slow down' if the number is set over 250.

so, I take it that you don't work with sql queries a lot then?

I can imagine that the query for calculating likes could be a very expensive query involving full table scans. And as the size of the database grows, you could potentially lockup the entire system.

for some time now (even before this thread) I've been noticing extreme slow downs, but it now seems to be getting even worse. It usually takes 10-15 seconds to load a page when I first click on a thread title (especially if there are a lot of posts in the thread). Unless you are watching the logs or monitoring the database with a profiler, there's really no way to know if what I'm experiencing is related to your changes or not -- but I would tend to prefer to heed the cryptic warnings, unless you really, really know what you're doing.
User avatar
emeraldemon
Gosei
Posts: 1744
Joined: Sun May 02, 2010 1:33 pm
GD Posts: 0
KGS: greendemon
Tygem: greendemon
DGS: smaragdaemon
OGS: emeraldemon
Has thanked: 697 times
Been thanked: 287 times

Re: Hypothetically, I mean, I have a friend who is...

Post by emeraldemon »

i haven't noticed any slowdowns...
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: Hypothetically, I mean, I have a friend who is...

Post by ez4u »

I have thought that at times the server has indeed gotten slower recently. I could not say more than that at present as I have not tried to take note of when, what threads I was trying to load, etc. However, it is quite likely that I noticed at least some cases in the Malkovich threads because I load them frequently. They do tend to be long threads.
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
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: Hypothetically, I mean, I have a friend who is...

Post by Joaz Banbeck »

@Ez4u: Ok, I propose a blind test. Sometime during the month of September I'll set it back to 100 for a 48-hour period. At the end of the month, you tell me when it was.
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: Hypothetically, I mean, I have a friend who is...

Post by ez4u »

Joaz Banbeck wrote:@Ez4u: Ok, I propose a blind test. Sometime during the month of September I'll set it back to 100 for a 48-hour period. At the end of the month, you tell me when it was.

That does not sound like any fun at all for me. :scratch:

How about this instead, everyone:
1. Every time someone thinks things load too slowly we PM Joaz.
2. Joaz varies the setting and analyzes the complaints to see whether there is a pattern?
That sounds like way more fun from my side. What does everyone else think? :tmbup: ? :tmbdown: ?
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: Hypothetically, I mean, I have a friend who is...

Post by xed_over »

Joaz Banbeck wrote:@Ez4u: Ok, I propose a blind test. Sometime during the month of September I'll set it back to 100 for a 48-hour period. At the end of the month, you tell me when it was.

Wow, its extremely zippy this morning -- pages loading in milliseconds, instead of 10's of seconds. (just in case something was changed already)
User avatar
jts
Oza
Posts: 2662
Joined: Sat Sep 18, 2010 4:17 pm
Rank: kgs 6k
GD Posts: 0
Has thanked: 310 times
Been thanked: 632 times

Re: Hypothetically, I mean, I have a friend who is...

Post by jts »

xed_over wrote:
Joaz Banbeck wrote:@Ez4u: Ok, I propose a blind test. Sometime during the month of September I'll set it back to 100 for a 48-hour period. At the end of the month, you tell me when it was.

Wow, its extremely zippy this morning -- pages loading in milliseconds, instead of 10's of seconds. (just in case something was changed already)

I notice no change. What browser do you use?
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: Hypothetically, I mean, I have a friend who is...

Post by xed_over »

jts wrote:I notice no change. What browser do you use?

Firefox/Mac mostly.

This is night and day different from 2 days ago -- a long thread page would take 15-20 seconds to load (I timed them) each time. Now the same threads load instantaneously (mere milliseconds).

I don't know what, if anything changed, but its much, much better now.

At first I half suspected our corporate network at work, but I got the same behavior on my home network. Besides, no other sites ever behaved the same as this site.
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: Hypothetically, I mean, I have a friend who is...

Post by Joaz Banbeck »

I haven't changed anything yet. :-?
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
User avatar
jts
Oza
Posts: 2662
Joined: Sat Sep 18, 2010 4:17 pm
Rank: kgs 6k
GD Posts: 0
Has thanked: 310 times
Been thanked: 632 times

Re: Hypothetically, I mean, I have a friend who is...

Post by jts »

I've been using Chrome on XP and have had blistering fast load times for as long as I can remember.

(Or at least I should say, the page loads immediately. Sometimes if there are 20+ diagrams, it takes them a while to load, but I assume that's not what you mean.)
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: Hypothetically, I mean, I have a friend who is...

Post by xed_over »

Joaz Banbeck wrote:I haven't changed anything yet. :-?

well, that's unfortunate. something clearly changed for me. there are so many links in the chain, so its really very difficult debug things like this. for all we know, maybe the L19 hosting company rebooted their sql server.
Post Reply