jazz icon indicating copy to clipboard operation
jazz copied to clipboard

Feature: Chunk single big transactions into multiple ones

Open gdorsi opened this issue 3 months ago • 2 comments

We do currently throw an error when a transaction is too big to be stored, to avoid having issues with WebSockets limits.

To provide a better DX we should chunk them in smaller pieces, to ensure that any kind of change can be synced without issues.

gdorsi avatar Sep 08 '25 16:09 gdorsi

Note: the chunking/reconstruction would be done at CoValueCore level, and on RawCoValues it would be visible as a single transaction.

nrainhart avatar Sep 10 '25 13:09 nrainhart

Note: the chunking/reconstruction would be done at CoValueCore level, and on RawCoValues it would be visible as a single transaction.

Thinking about this more, it migh be even better to operate inside the WebSocket peer. In the end we are trying to solve a transport issue, so the transport layer might be the right solution for the problem.

We could even downgrade this kind of content chunks as "low priority" so they won't congestion the network layer too much.

gdorsi avatar Sep 12 '25 21:09 gdorsi