@dansup @pixelfed That is definitely a great solution when it comes to performance, responsiveness, and scalability, if done correctly. However, the consequence of such a solution is that all user timelines are constantly in RAM. Mastodon tackles this by limiting the length of the timeline to 400 most recent posts, which is quite frustrating in my case due to the lack of fallback to SQL queries. Do you plan to introduce similar limitations as Mastodon?

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
dansup

@mgrzeca @pixelfed Yes, but there will be admin defined limits and optional fallback, so you can store the first X in ram and then fallback to expensive DB for the rest. We are planning on doing this for feeds and notifications

0
1y
Replies