Files
SpacetimeDB/crates/commitlog
joshua-spacetime 940667dd37 Add commitlog knobs to server config (#5074)
# Description of Changes

Adds the commitlog knobs `max_segment_size`, `write_buffer_size`, and
`preallocate_segments` to the server's `config.toml`. There are other
seemingly more advanced knobs that I did not add at this time.

This patch also increases the `DEFAULT_WRITE_BUFFER_SIZE` from `8KiB` to
`128KiB` to optimize high throughput workloads like the keynote-2
benchmark.

# API and ABI breaking changes

None

# Expected complexity level and risk

1

# Testing

Manual
2026-05-20 20:47:14 +00:00
..
2025-08-12 18:20:58 +00:00

⚠️ Internal Crate ⚠️

This crate is intended for internal use only. It is not stable and may change without notice.