anhinga_anhinga: (Default)
[personal profile] anhinga_anhinga
Is there any good reason to restrict the availability of the Friends page by the most recent two weeks?

Does this restriction really help LJ to scale?

Date: 2012-08-19 06:11 pm (UTC)
From: [identity profile] avva.livejournal.com
Back when I worked on LJ source, when you were paging the Friends page backwards, the code still had to construct the entire list of posts from the most recent one, and then cut from it the window you were interested in. So if you wanted to see entries 151-200, it'd calculate the list of entries 1-200, then take the last 50. As the number grew, such a request would stress the databases more and more. The two weeks restriction was placed to put a limit to that.

I stopped looking at the site source circa 2005, so things may have changed since then, but back then the limit was more or less dictated by the realities of scale at the time.

Date: 2012-08-19 06:20 pm (UTC)

Date: 2012-08-20 05:33 am (UTC)
From: [identity profile] edwardahirsch.livejournal.com
Да, я вот как раз уезжал на 16 дней и пару дней упустил (а планировал на 23)...

Date: 2012-08-21 07:20 am (UTC)
From: [identity profile] anhinga-anhinga.livejournal.com
Да, и потом дико читать "с конца", потому что никак не можешь догнать (моя текущая ситуация, очень всё плотно), а потом оно исчезнет, если сейчас не поймать.

Date: 2012-08-24 12:01 pm (UTC)
From: [identity profile] visualdoj.livejournal.com
Ой, спасибо, что предупредили...

Может быть, есть какой-нибудь способ читать френд-ленту целиком со стороннего сервиса, по аналогии с тем, как можно читать комменты в friendtimes. Надо бы изучить этот вопрос.

Date: 2012-08-24 12:56 pm (UTC)
From: [identity profile] anhinga-anhinga.livejournal.com
> Надо бы изучить этот вопрос

Если узнаете, поделитесь информацией :-)

Но, вообще, конечно, множество интересных вещей можно делать с последовательностями (постов, например, про которые можно думать, например, как про RSS feeds), но превратить это в удобный software, поддерживающий алгебру соответствующих операций, кажется, никто так и не собрался :-(

Осиливаю френдленту

Date: 2012-10-21 03:13 pm (UTC)
From: [identity profile] livejournal.livejournal.com
User [livejournal.com profile] visualdoj referenced to your post from Осиливаю френдленту
(http://visualdoj.livejournal.com/48684.html) saying: [...] Летом узнал, что во френдленте отображаются посты не более, чем двухнедельной давности [...]

Profile

anhinga_anhinga: (Default)
anhinga_anhinga

July 2021

S M T W T F S
    123
45678910
11121314151617
18 192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 10th, 2025 06:28 pm
Powered by Dreamwidth Studios