-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to iovalkey #12
Comments
Thank you for bringing |
I have pushed an updated version of the extension with |
Hey @yxx4c, i feel like having a specific redis implementation lock-in is bit a wrong path for such a generic extension. Maybe abstract the operations into an interface so that people can swap the underlying cache impl? |
Hii @li2109, Thank you for sharing your thoughts! I understand the desire for an interface that allows users to provide their own Redis client. However, I have some concerns about this approach. Introducing an abstraction for the caching operations could lead to potential issues with implementation stability. Any changes to the abstract operations or future modifications might break existing implementations, and I'm not fully aware of the various libraries that support features like Regarding the extension, the primary goal is to provide a caching solution for Prisma query results. Users need a Redis cache that supports auto-caching, custom key caching, and cache invalidation. Initially, the extension required users to pass an I appreciate your feedback and will keep it in mind for future enhancements. If you have any further suggestions or specific use cases in mind, I’d be happy to discuss them! |
Thank you for your explanation and it does make sense to me. I was thinking about abstraction when i found out that ioredis was not compatible for edge so that it can't be used in cloudflare worker. Not sure about iovalkey though. Now i feel like abstraction is not important as long as it's edge compatible and user should be able to plug in out of the box with redis url and password. FYI: i was using @upstash/redis/cloudflare for edge |
Hi @li2109, Thank you for your feedback! I will take it into account as I consider developing an edge-compatible integration or a separate library in the future. In the meantime, I will focus on improving the current library while also exploring better integrations and features that can benefit our community. |
Migrated to |
See
https://github.com/valkey-io/iovalkey
The text was updated successfully, but these errors were encountered: