redpanda icon indicating copy to clipboard operation
redpanda copied to clipboard

tx/compaction: reduce memory usage with lots of aborted transactions

Open bharathv opened this issue 3 years ago • 0 comments

Who is this for and what problem do they have today?

With the current compaction implementation for transactions, we cache aborted transactions for a segment in memory. In a pathological case where the # of aborted tx >> # non aborted ranges, we can reduce memory usage by only caching the working set of aborted tx ranges.

What are the success criteria?

Reduced memory usage with existing correctness guarantees.

Why is solving this problem impactful?

Reduce memory usage.

Additional notes

bharathv avatar Nov 15 '22 20:11 bharathv