this post was submitted on 25 Nov 2026
465 points (96.8% liked)
Fediverse
45093 readers
595 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The Lemmy API is very fat, returning a lot of redundant data in each response. Check out the post/list endpoint, for example.
You need that endpoint all the time because it's the only way to get lists of posts. Yet it is very heavy on the server to generate it. Unsalvageable.
With PieFed I'm experimenting with a trimmed down post/list that is 3x faster. PieFed in general is much lighter on server resources. !piefed_dev@piefed.social
The Lemmy codebase isn’t well suited for scaling... I’ll test your approach on PieFed, that's sounds interesting 🤔
Cool! The PieFed API is very similar to the Lemmy one, to make porting apps easier.
My experimental slim endpoint is post/list2
How many users/servers you have so far? 🤔
Around 6k MAU, 85 servers.
https://piefed.social/statistics?software=PieFed
I guess I’ll add support for Piefed to my APP. It’s good to see that someone else has recognized Lemmy’s underlying problems 👏🏼
Indeed
https://join.piefed.social/2024/02/13/technical-performance-of-each-fediverse-platform/
Compare
Old style: https://piefed.social/api/alpha/post/list?community_name=asklemmy%40lemmy.world
New style: https://piefed.social/api/alpha/post/list2?community_name=asklemmy%40lemmy.world
Rather than including the full community and user details, there are just IDs. The details of the community and user will have been cached on the client by previous API calls.