trickstercache / trickster

Open Source HTTP Reverse Proxy Cache and Time Series Dashboard Accelerator
https://trickstercache.org
Apache License 2.0
1.99k stars 177 forks source link

Chunking 2 #641

Closed jnichols-git closed 1 year ago

jnichols-git commented 1 year ago

If cache chunking is so great...

This is a refactor of the previous cache chunking pull request. Previously, the performance impact of using chunking was too high to consider using, even under its intended conditions (Redis or some other over-the-wire cache where data size is very important). Now:

Running the same benchmarks on main has lower numbers in DeltaProxyCache, but this change also moved time series marshaling into cache operations when applicable, rather than afterwards.