Discuss Scratch

PumpkinTalks
Scratcher
87 posts

Small question, why did the following order get changed?

So I noticed that followers are now list oldest to newest, when it used to be newest to older. Ex: Griffpatch’s first follower shows up at the top of the list instead of the bottom. Theres probably a reason for it but I was wondering why.
han614698
Scratcher
1000+ posts

Small question, why did the following order get changed?

Yes. It’s to reduce lag. You can find more info here: https://scratch.mit.edu/discuss/topic/787277/
warbling_gerbil
Scratcher
100+ posts

Small question, why did the following order get changed?

PumpkinTalks wrote:

So I noticed that followers are now list oldest to newest, when it used to be newest to older. Ex: Griffpatch’s first follower shows up at the top of the list instead of the bottom. Theres probably a reason for it but I was wondering why.
o_O I hadn't even noticed that! I actually like it better this way because as an additional bonus to the reduced lag Han614698 mentioned, sometimes other Scratchers you know irl will be the first to follow you, meaning your followers you might want to pay more attention to are now at the top.
Scratch137
Scratcher
1000+ posts

Small question, why did the following order get changed?

warbling_gerbil wrote:

(#3)

PumpkinTalks wrote:

So I noticed that followers are now list oldest to newest, when it used to be newest to older. Ex: Griffpatch’s first follower shows up at the top of the list instead of the bottom. Theres probably a reason for it but I was wondering why.
o_O I hadn't even noticed that! I actually like it better this way because as an additional bonus to the reduced lag Han614698 mentioned, sometimes other Scratchers you know irl will be the first to follow you, meaning your followers you might want to pay more attention to are now at the top.
Interestingly, the “Followers” and “Following” lists are actually in two different orders.

The “Followers” list is sorted by follow date, and the “Following” list is sorted by account age, both in descending order.
warbling_gerbil
Scratcher
100+ posts

Small question, why did the following order get changed?

Scratch137 wrote:

warbling_gerbil wrote:

(#3)

PumpkinTalks wrote:

So I noticed that followers are now list oldest to newest, when it used to be newest to older. Ex: Griffpatch’s first follower shows up at the top of the list instead of the bottom. Theres probably a reason for it but I was wondering why.
o_O I hadn't even noticed that! I actually like it better this way because as an additional bonus to the reduced lag Han614698 mentioned, sometimes other Scratchers you know irl will be the first to follow you, meaning your followers you might want to pay more attention to are now at the top.
Interestingly, the “Followers” and “Following” lists are actually in two different orders.

The “Followers” list is sorted by follow date, and the “Following” list is sorted by account age, both in descending order.
Huh. Interesting. You would think they'd just be the same.
cookieowl10
Scratcher
55 posts

Small question, why did the following order get changed?

how does it reduce lag just wondering :>

CST1229
Scratcher
1000+ posts

Small question, why did the following order get changed?

cookieowl10 wrote:

(#6)
how does it reduce lag just wondering :>
sorting followers from latest to oldest requires the database to sort the followers list, which is slower than not sorting it (which results in a reversed oldest to latest order for followers, and an account id order for following).
warbling_gerbil
Scratcher
100+ posts

Small question, why did the following order get changed?

Wait a minute - the order of followers is still most recent to oldest even though it's oldest to most recent in the preview! That's weird. And mildly bothers me. Why wouldn't they have both been changed at the same time?
Scratch137
Scratcher
1000+ posts

Small question, why did the following order get changed?

warbling_gerbil wrote:

(#8)
Wait a minute - the order of followers is still most recent to oldest even though it's oldest to most recent in the preview! That's weird. And mildly bothers me. Why wouldn't they have both been changed at the same time?
The order on the profile pages was changed to reduce the amount of work the server has to do to display a profile.

The Scratch API does not return follower/following lists in reverse chronological order, which meant that the lists were having to be re-sorted every single time someone wanted to view a profile.
Now, the lists are displayed exactly as the API returns them, which reduces the server's workload and improves performance.

As for the full lists, these were probably left as-is because they are accessed much less frequently. The servers don't take nearly as big of a hit from this.

Powered by DjangoBB