this post was submitted on 17 Oct 2023
153 points (98.1% liked)
Fediverse
28723 readers
125 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 [email protected]!
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
I've heard about mbin, but as a developer myself I don't think PHP is the suited language for those kinds of things, where performance and resource usage are just crucial. According to ernests recent post somewhere, they're still struggling with infrastructure issues. And I'm afraid mbin will face the same issues sooner than later.
Isn't modern php supposed to be pretty good and fast? And I thought the issues were on a database / federation level anyway, not related to php performance.
No matter how modern PHP becomes every year... it just beats its previous version in performance, but the underlying architecture is still the same and cannot compete with other languages, especially when using frameworks like symfony, etc.
For example.
If you run a node/go/rust server and you hit the endpoint
/hello
which returns a simple "hello world", they will just return that. PHP (symfony) however, has to initialize and execute the whole framework stuff, before returning a simple "hello world"Edit: Introducing something like Redis for caching, etc... can help in reducing the overload, but imho, it's just a bandaid