Email or username:

Password:

Forgot your password?
dansup

Refactoring @pixelfed home feed to support reblogs and hashtag follows, not only do we get more features, but also a significant performance increase 🥳

Fan-out on write (via redis sorted sets) will replace the expensive db queries we currently use! #pixelfed #pixeldev

4 comments
Mariusz K. Grzeca

@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?

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

Nat

@dansup @pixelfed thank you for working on hashtag follows! I'm actually not using pixelfed because of that :( but I'll be paying attention.

Go Up