Comments (2)
Hey 👋 !
Totally agree, this feature request makes a lot of sense, will try to work on it as soon as I can!
Thanks!
from nebulex_redis_adapter.
Hey 👋 ! Sorry for the lateness, but finally I've pushed some changes to address this feature to allow removing multiple keys at once. For example:
MyApp.RedisCache.delete_all({:in, ["foo", "bar"]})
Now the adapter supports the queue predefined query {:in, [term, ...]}
for c:Nebulex.Cache.delete_all/2
.
This operation is internally optimized to do it in one command for the :standalone
mode. For the :redis_cluster
and :client_side_cluster
modes, the keys are grouped in such a way in order to perform only one command per node or hash slot (avoiding multiple DEL commands).
Please try it out and let me know your thoughts, stay tuned!
from nebulex_redis_adapter.
Related Issues (20)
- Instrument the adapter with Telemetry events
- NebulexRedisAdapter does not implement `c:stats/0` HOT 1
- Add bootstrap server to run init and cleanup jobs (e.g.: attach/detach stats handler)
- Add Support for SSL HOT 3
- Raise an error when pipeline results contains one or more Redis errors
- Implement a Registry-based routing pool strategy
- Add `command/3` and `pipeline/3` extended functions
- Kubernetes Redis Cluster Returning MOVED HOT 10
- Redis 7 issue HOT 2
- Configuring match_fun in conn_opts fails to build release HOT 4
- Redix.ConnectionError the connection to Redis is closed HOT 5
- Configurable codec to encode/decode Redis keys and values
- Improve configuration for Redis Cluster mode
- Refactoring `Codec` to `Serializer`
- New Redis Cluster management strategy
- Allow passing Redis client options to `command` and `pipeline` functions
- Is Redis Sentinel support on the roadmap HOT 1
- Consistently getting MOVED error with a cluster HOT 2
- Potential RCE via :erlang.binary_to_term HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nebulex_redis_adapter.