From 506bbbb528e5247febe061dd8b7837465e2d25f8 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Sun, 24 Aug 2025 21:34:46 -0400 Subject: [PATCH] Update defaults based on simulation --- persistence.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/persistence.md b/persistence.md index 770af82..d759f97 100644 --- a/persistence.md +++ b/persistence.md @@ -90,9 +90,9 @@ The persistence thread collects commits into batches using two trigger condition | Parameter | Default | Description | |-----------|---------|-------------| -| `batch_timeout_ms` | 5ms | Maximum time to wait collecting commits for batching | +| `batch_timeout_ms` | 1ms | Maximum time to wait collecting commits for batching | | `batch_size_threshold` | 1MB | Threshold for triggering batch processing | -| `max_in_flight_requests` | 5 | Maximum concurrent requests to persistence backend | +| `max_in_flight_requests` | 50 | Maximum concurrent requests to persistence backend | | `target_pool_size` | 2x in-flight | Target number of connections to maintain | | `max_retry_attempts` | 3 | Maximum retries for failed batches before aborting | | `retry_base_delay_ms` | 100ms | Base delay for exponential backoff retries |