danielealbano / cachegrand

cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
BSD 3-Clause "New" or "Revised" License
975 stars 34 forks source link

Investigate liblzf segfaults #312

Closed danielealbano closed 1 year ago

danielealbano commented 1 year ago

When generating the RDB snapshots, if strings are compressed with liblzf using the LZF algorithm, cachegrand crashes with a segfault.

The crash needs to be investigated.

danielealbano commented 1 year ago

liblzf uses an obscene amount of stack to compress the data, about 1mb, meanwhile cachegrand uses about 40kb for its own fibers.

There are two options:

Further investigation is required

danielealbano commented 1 year ago

Will implement the second option as it's the ones the makes most sense