Comment on alien.top is a new level of Reddit crossposting spam
rglullis@communick.news 11 months agoClient needs to fetch all metadata needed for sorting for every post created during entire lemmy’s existance on every discovered lemmy instances.
Why would you need all data to build the frontpage? Why not just make a sliding window with the content from the last 24/48h?
So client-side sorting is basically running stripped version of instance without file hosting.
Even if that were true, how is that different, e.g, from any modern desktop email client?
uis@lemmy.world 11 months ago
Exactly what I’m saying. To not be super resource-intensive, client-side sorting needs to be incomplete. As I said, if there is hypothetical post from 49 hours ago with 10k upvotes, you will not see it, but you will see one from 48 hours ago with 1k upvotes.
Not much I guess. But what about mobile?
rglullis@communick.news 11 months ago
Not necessarily true. You can build an index and keep a cache of the N posts by each sorting method. Your data store will grow linearly with the number of sorting criteria you will have, which should be small.
We are talking about an amount of data that a sqlite database process in a breeze. My K-9 email client can handle all my 20 years of gmail…