fastify/fastify-caching

Support Dragonfly

melroy89 opened this issue ยท 4 comments

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

๐Ÿš€ 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

Why does this matter?

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

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.

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

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