Skip to content

Conversation

@benplunkett
Copy link
Contributor

Hi all,

First off, love your work. We (iseekplant.com.au) use Vapor to manage around 30 applications and 4 Redis clusters of varying sizes. We run one of our Redis clusters at 100% memory utilisation relying on LFU evictions to keep the cache fresh, and being able to transparently compress the cache values would allow us to utilise that cluster even more. So, recently I tried to enable cache compression following the Laravel docs here but found that compression support wasn't compiled into phpredis extension in the vapor runtime.

This PR adds only Zstandard compression in order to keep the PR small but also to minimise the layer size; on average it has added ~900kb to each version of the exported zip. I've also tested the exported layer in our production environment to ensure it works as expected.

We hope you'll consider merging and thanks for your hard work!

Cheers,
~Ben Plunkett

@taylorotwell taylorotwell marked this pull request as draft October 6, 2023 13:26
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.

1 participant