Skip to main content

Module write

Module write 

Source
Expand description

Implementation of the write operator.

Structsยง

BatchUpdates ๐Ÿ”’
The payload of a coalesced WriteCommand::Batch.
State ๐Ÿ”’
State maintained by the write operator on the Timely thread.
WriteResponse ๐Ÿ”’
A response from the Tokio write task back to the Timely operator.

Enumsยง

WriteCommand ๐Ÿ”’
Commands sent from the Timely operator to the Tokio write task.

Constantsยง

READ_BACK_CHUNK ๐Ÿ”’
How many updates the batch read-back hands over per chunk.
READ_BACK_CHUNKS_IN_FLIGHT ๐Ÿ”’
How many chunks may sit between the blocking read-back and the async task feeding the batch builder. Together with READ_BACK_CHUNK this bounds the handoff to a few thousand buffered updates.

Functionsยง

apply_batch ๐Ÿ”’
Apply a coalesced batch of updates to the correction buffers, on a blocking thread.
apply_command ๐Ÿ”’
Apply a single command to the task state, returning the correction buffers.
render
Render the write operator.

Type Aliasesยง

Corrections ๐Ÿ”’
The correction buffers owned by the Tokio write task.