this post was submitted on 17 Oct 2023
152 points (98.1% liked)
Fediverse
28519 readers
304 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
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