Comments (2)
For such use-case you should use a queue. Redis is fire and forget. I recommend RabbitMQ for such a scenario.
from redis-oplog.
A problem we encountered under higher load is that a subscription on a collection might finish after the document changes. So in client code you might first subscribe, then call a method that changes this collection, and then wait for changes on the collection. Waiting for changes might take forever because the method that changes the collection might finish before the subscription has finished. An event will be send to the redis server informing the change on the collection, but this event will be missed because there is no subscription yet. I fixed this by doing the subscription synchronously and not deferring it to a queue, see Caught-GmbH@588aea5
from redis-oplog.
Related Issues (20)
- what exactly happens if you set `pushToRedis: false` on an update? HOT 3
- redis in write-only/unsubscribed state after reconnect?
- Possible inefficiency on reconnect
- Reactivity bug in fairly specific situations HOT 7
- Meteor.userId can only be invoked in method calls or publications. HOT 2
- Check failed: IsFeedbackVector() HOT 1
- collection.update with options.upsert set to true is returning an object rather than a number
- Specifying SSL/TLS certificates for MongoDB Encrypted connections HOT 1
- Error Exception in onStop callback: TypeError: Cannot read property 'stop' of undefined HOT 2
- SyntheticMutator does not apply globalRedisPrefix setting HOT 1
- Direct channels do not respect collection level namespace configuration
- Not working under PM2 Cluster HOT 1
- Meteor v2.6 support ([email protected])
- Is there a way to gradually migrate individual collections to redis oplog HOT 1
- How to run REDIS on a separate server? HOT 2
- Using new meteor mongo async api HOT 9
- Redis oplog connects and disconnects all the time HOT 1
- Exception when a modifier with undefined values is used HOT 2
- Inserts with callbacks are not actually async 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 redis-oplog.