Patzifist commented on PR #864:
URL: https://github.com/apache/arrow-go/pull/864#issuecomment-4848200385

   Hi Zeroshade,
   Currently, the upstream implementation of Parquet Bloom Filter reader eats 
up all available RAM on the server just for Bloom Filter metadata, leading to 
OOM panics under extreme concurrency.
   I've designed a patch that solves this issue by bringing memory allocations 
down to a strictly bound steady-state, allowing us to safely repurpose that RAM 
for processing actual data page allocations and Row Group data instead.
   
   Benchmark Results (64 Workers, 100 Iterations, Random NDV Sizes):
   To validate the patch, I've written a concurrent benchmark mimicking varying 
filter sizes and heavy thread interleaving:
   
   BenchmarkGetColumnBloomFilter_OriginalSyncPool-12      1    1176984718 ns/op 
   6280746824 B/op    233435 allocs/op
   BenchmarkGetColumnBloomFilter_ChannelsPatch-12         1    1461299865 ns/op 
    705041384 B/op    209192 allocs/op
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to