fastify / fastify-caching

A Fastify plugin to facilitate working with cache headers
MIT License
201 stars 26 forks source link

Support Dragonfly #140

Closed melroy89 closed 7 months ago

melroy89 commented 7 months ago

Prerequisites

🚀 Feature Proposal

Support Dragonfly as a drop-in replacement for Redis. Moreover, Dragonfly is also much faster than Redis!

Motivation

Now Redis is adopting dual license, people will move away from Redis quickly to alternatives. Like Dragonfly.

More info: https://redis.com/blog/redis-adopts-dual-source-available-licensing/

Example

No response

mcollina commented 7 months ago

Why does this matter?

https://github.com/dragonflydb/dragonfly/blob/main/LICENSE.md seems to be on the same boat.

melroy89 commented 7 months ago

Yea, you might be correct. Anyway, I migrated to Dragonfly anyway due to performance improvements :). And it's 100% compatible with Redis, so no changes needed at the client side at all!

I will close the ticket.

But feel free to create a PR with the addition to the README that dragonfly can also be used as a drop-in replacement.

melroy89 commented 7 months ago

Small update, maybe KeyDB is a better fit for most people: https://github.com/Snapchat/KeyDB. Still under BSD-3-Clause.

melroy89 commented 7 months ago

Or.. ValKey! I notice you also contributed to ValKey now.