I recently came across a proposal to create a marketplace of sorting algorithms for Lemmy, allowing users to browse, select, and even create their own custom sorting algorithms. This would provide more advanced users with additional ways to customize and sort content, and give the community the ability to share their creations. I’m curious to know if this is actually possible within the Fediverse and what your thoughts are on the idea. Would this be a valuable addition to Lemmy, or do you see any potential drawbacks?

  • deegeese@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    The difference is the server doesn’t need to scan the giant vote table for ordinary polling or ranked posts.

    Unless there was significant optimization work done on the DB schema, this approach would require joining the large posts table to the very large user-post-ranking table for each request for sorted posts.

    This will kill DB performance without some sort of clustering or sharding.