this post was submitted on 09 Jan 2025
232 points (97.5% liked)
Fediverse
28862 readers
787 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, 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), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Python based: I was looking for that
Yeah, I don't expect it to scale well. Certainly not as well as Rust.
In terms of incoming federation, PieFed sites are dealing with as much activity as any general Lemmy instance. It's not happened yet, but I suppose it's possible that problems will become apparent if the amount of local users gets over a certain size. A limit on the amount of users per instance isn't necessarily a bad thing though (it's cheap, and hopefully easy enough, for someone to spin up another one).
What's going to cause problems? Python, the db, redis or other?
It uses postgres for the DB - I think that and redis are designed to operate at very large scales, so it wouldn't be them.
My guess would be that it's something in the interpreted nature of Python - this seems to be why a familiar dismissal of PieFed is a concern about how it will scale.
That said, this site shows that Python is the most popular language for Fediverse apps (just), the likes of Mastodon are written in another interpreted language (Ruby), and I think there are more big websites running Python (with Django or Flask) than people realise. So I don't know, really, I'm just following other people's lead on this. I don't imagine that any problems would be insurmountable though: an admin could restrict the amount of signups, or if new users mean a few more donations, they could just throw money at the problem (more cycles for one server, or splitting up tasks across multiple servers).
If you consider all AI-chat sites are running on python, I guess python scales with no issue at all