Skip to content

Conversation

@SimonWoolf
Copy link
Member

most obviously, not META occupancy etc (those obviously have no payloads and would otherwise break the delta stream)

I've decided to also exempt summaries, updates, and deletes, which (a) are (at least for now) not order-preserved relative to the create stream from a single publisher, and (b) are probably modifying (or deleting) old messages. Honestly, mutable messages and deltas are an unlikely combination -- people using deltas are probably just using creates as updates, sending a large constantly-changing data object as a stream of new messages, so probably aren't going to want to mutate old payloads. But if someone does have a usecase for combining the two, this seems to me like the most sensible approach.

(Skipping updates & deletes for delta generation is not done serverside yet; if we have consensus on this approach I'll make that change there before merging this).

Any thoughts @ttypic @lawrence-forooghian ?

most obviously, not META occupancy etc (those obviously have no payloads and
would otherwise break the delta stream)

also exempt summaries, updates, and deletes, which (a) are (at least for now)
not order-preserved relative to the create stream from a single publisher,
and (b) are probably modifying (or deleting) old messages. Honestly, mutable
messages and deltas are an unlikely combination -- people using deltas are
probably just using creates as updates, sending a large constantly-changing
data object as a stream of new messages, so probably aren't going to want to
mutate old payloads. But if someone does have a usecase for it, this seems to
me like the most sensible approach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants