@jonny that or just return a header when the replies collection is out of date & refresh (poll) regularly.
Top-level
8 comments
@thisismissem is there a method you would prefer? I am not seeing a streaming endpoint for any generic DetailedStatus feed, maybe the Direct feed is closest? if polling would be preferable to adding a new stream/adapting another feed then i could figure that out, i'm just never sure what the most efficient way to do things with redux is @jonny @thisismissem some of this feels like “it depends”. polling will be chattier, especially without connection reuse via H2/etc. websockets will make state management after disconnect a minor issue complexity wise note that depending on implementation, polling may also incur the expense of a round trip vs half trip @jonny @thisismissem threads can’t always be resolved to a global concrete root. For example, you might have been tagged into a private thread that is otherwise entirely on another instance. This is also not necessarily immutable. For example, you might run into the above case with followers only visibility. So, in this case, it might not actually matter, so long as you actually dedupe on the fly. That might not actually be necessary at all, but doing so could be an optimization. @jonny @thisismissem i think im too tired at past-midnight to do system design lollll |
@thisismissem @jonny streaming seems better because then other frontends would get them too?