Comments (4)
You can try out redis's build-in lua script feature, or using mod-rxvertx
from mod-redis.
Using observable is interesting. But the problem will be still there. How to make 2nd observable depends on 1st observable output and chain them together?
from mod-redis.
well i would say call the first redis command, and on the handler handle your condition and then if you need more than one commands in one go just use the multi command and in the end call exec...
But this is very use case specific...
from mod-redis.
See a test case that 2nd observable waits for result of previous one before sending next one:
https://github.com/vert-x/mod-rxvertx/blob/master/src/test/java/io/vertx/rxcore/test/integration/java/EventBusIntegrationTest.java#L103-L130
The wiki:
https://github.com/Netflix/RxJava/wiki/Transforming-Observables
from mod-redis.
Related Issues (20)
- Binary support using BSON HOT 1
- Unstable on high load with complex results HOT 3
- Implement transaction support in the client lib HOT 1
- Implement transaction support in the driver lib HOT 1
- reduce the amount of compile warnings
- Runnable module io.vertx~mod-redis-client~1.1.3 mod.json must contain a "main" field HOT 5
- Mulitple Redis connection from a single verticle HOT 5
- Socket client error, broken pipe HOT 7
- OutOfBoundsException when calling a method without parameters on the client
- timeout HOT 2
- hgetall fails on key with large number of fields HOT 16
- What is expected blocking behavior with blpop? HOT 2
- clojure error: mod.json must contain a "main" field HOT 1
- gradle build not working on master branch HOT 1
- SEVERE: ERR Client sent AUTH, but no password is set HOT 1
- Does vert-x3/vertx-redis-client replace mod-redis? HOT 2
- Extraction of handlers based on patterns HOT 2
- Getting rid of Groovy dependency HOT 4
- setex command support HOT 1
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 mod-redis.