• Skull giver
    link
    fedilink
    English
    62 months ago

    How is the server performance of Piefed compared to Lemmy? Python isn’t exactly known for its speedy web frameworks.

    • Oliver Lowe
      link
      fedilink
      42 months ago

      @skullgiver Good Q. Some thoughts… a standard Python, Flask, PostgreSQL app can handle hundreds of requests per second on a single machine. Any bottlenecks - Lemmy or PieFed - would probably not be at the language yet. For example, Lemmy’s poor performance when I looked ~1 year ago came from a bizarre disregard for things like relational DB query optimisation, HTTP caching, and how the stock frontend lemmy-ui fetched data. Yet Lemmy is written in Rust which is known for speed.

      @fediverse