Skip to content

Commit

Permalink
record: increase record.SyncConcurrency
Browse files Browse the repository at this point in the history
Increase record.SyncConcurrency to 4096 to allow additional concurrency within
the commit pipeline. In workloads with heavy writes and high concurrency, we've
observed semaphore queueing artifically increasing tail latencies.
  • Loading branch information
jbowens committed Jul 24, 2023
1 parent 05db878 commit 4afa98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion record/log_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type syncer interface {
}

const (
syncConcurrencyBits = 9
syncConcurrencyBits = 12

// SyncConcurrency is the maximum number of concurrent sync operations that
// can be performed. Note that a sync operation is initiated either by a call
Expand Down

0 comments on commit 4afa98e

Please sign in to comment.