this post was submitted on 07 Jun 2025
519 points (97.3% liked)

Technology

70995 readers
3299 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] qweertz@programming.dev 2 points 15 hours ago (2 children)

Postgres slowing factor

I'm pretty sure one of the best optimised free/libre DBMS's is faster than Python ๐Ÿ’€

Also no one know how Piefed scales, since it only has like 350 MAU

[โ€“] JackbyDev@programming.dev 9 points 11 hours ago (1 children)

Reread it. They're saying "The slowest part is postgres, so even if python is slower than rust it won't make a difference."

[โ€“] SorteKanin 1 points 8 hours ago (1 children)

That is, in theory. In practice, it can make a big difference. Source: Worked professionally with large services built in Python and Rust.

[โ€“] Kris@feddit.org 3 points 7 hours ago

Yes, I also suspect that at a certain scale it would make a difference, but with a single Postgres database and no advanced clustering or so, the real-life performance metrics of a medium sized Lemmy instance strongly point to Postgres being the bottleneck and not the Python or Rust codebase of the rest of the software.

[โ€“] PirateFrog@lemmy.dbzer0.com 8 points 12 hours ago* (last edited 12 hours ago)

Piefed also uses PostgreSQL. He was mentioning that the limiting factor on either platform is the DB, meaning that the parts written in Python will likely not be a limiting factor.

Piefed also has quite impressive optimizations in other areas as well compared to Lemmy or even Mbin.