@grishka let me know if you end up using something like this, and/or if you have comments/feedback for the FEP draft-draft I linked. :)
Top-level
9 comments
@mariusor as VK shows, some people just add everyone as a friend. VK has a limit of 10000 friends per account. Also, are you sure about *arbitrary* fields? I store everything in a relational database, so I can only really query on fields that have indexes on them unless I'm okay with it going through the entire table row by row (I'm not). Maybe you should specify a response for when the query client asked for isn't possible to easily satisfy. @mariusor individual server? No. Most (all?) fediverse projects won't scale to a typical high-load infrastructure — most you could do is have the DB on a separate server. But you absolutely can have thousands, and even millions, of followers from all over the fediverse. Eugen, for example, has 467586 followers. @mariusor what I'm saying is that there's really no upper bound to the length of a collection. Especially when it's a collection that's the publicly-appendable kind. Group members, walls, forum topics, photo albums in groups, all those things. And you don't need a powerful server to host a collection with a million elements either. |
@mariusor looks good to me, except one nitpick: since you allow querying on arbitrary object fields, the query parameter should probably be called "id", not "iri". Also, what about LD namespacing? Which context is assumed, if any?