Skip to content

vx_array_sink->vx_writer, parallel writes#8773

Open
myrrc wants to merge 1 commit into
developfrom
myrrc/ffi-parallel-writes
Open

vx_array_sink->vx_writer, parallel writes#8773
myrrc wants to merge 1 commit into
developfrom
myrrc/ffi-parallel-writes

Conversation

@myrrc

@myrrc myrrc commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Allow concurrent vx_writer_push calls. File writes are still serial but encoding process can be done on multiple threads. Since we sit over a thread pool on host threads, user can create a thread pool for maximum performance.

Make vx_writer_free mandatory even after vx_writer_close. This allows to signal failure from vx_writer_push() instead of being a UB as before.

Remove vx_file since it wasn't used anywhere

Signed-off-by: Mikhail Kot <mikhail@spiraldb.com>
@myrrc myrrc added changelog/break A breaking API change lang/cpp Relates to the Vortex C++ API lang/c Relates to the Vortex C (FFI) API labels Jul 15, 2026
@myrrc myrrc requested a review from 0ax1 July 15, 2026 17:56
@myrrc myrrc enabled auto-merge (squash) July 15, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/break A breaking API change lang/c Relates to the Vortex C (FFI) API lang/cpp Relates to the Vortex C++ API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant