Skip to content

[MSD benchmark] ref(span-buffer): Introduce multiprocessed flusher#2

Open
khaliqgant wants to merge 24 commits into
msd-benchmark-base/sentry/pr-93824from
msd-benchmark/sentry/pr-93824
Open

[MSD benchmark] ref(span-buffer): Introduce multiprocessed flusher#2
khaliqgant wants to merge 24 commits into
msd-benchmark-base/sentry/pr-93824from
msd-benchmark/sentry/pr-93824

Conversation

@khaliqgant

Copy link
Copy Markdown

MSD benchmark PR recreated from Martian Code Review Bench.

Source PR: getsentry#93824
Dataset: sentry
Original title: ref(span-buffer): Introduce multiprocessed flusher

Refs STREAM-266

Compression helped a lot bring the time on the main thread down. We now think we can scale down the consumers. However, we also need to ensure the flusher can keep up. So let's make the flusher spawn a process per redis shard.

We think this is easier to do than making the process_spans/insert_spans multiprocessed. Over time we can offload mroe things like statistics/metrics to the flusher, and keep the main thread minimal.

@khaliqgant khaliqgant changed the base branch from master to msd-benchmark-base/sentry/pr-93824 May 15, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants