Comments (7)
Nats is fire and forget with no persistence. That's by design.
If you send messages and no one is there to receive the messages the messages are lost.
NSQ has a default mem-queue-size of 10.000 messages.
I think that is the reason for your observed behavior.
NSQ-Doc:
-mem-queue-size int
number of messages to keep in memory (per topic/channel) (default 10000)
from vice.
ok makes sense. thanks
from vice.
NATS provides a clustered persistence option these days. I think its out of beta too.
Might be worth trying out. Apparently the API has no changes at all, so if true its more just a matter of supplying he ability to boot it.
from vice.
I've created a pull request to support nats streaming: #32
from vice.
woooo :)
from vice.
@joeblew99 are you happy?
from vice.
well i tried it and it worked well for me. SO yes.
Will close this..
from vice.
Related Issues (20)
- cannot compile example greeter service main.go HOT 2
- some messages might get dropped due to buffered channels HOT 3
- Some messaging systems behave as work queues and others as pub/sub system. HOT 7
- Setup Travis HOT 1
- nsq: empty buffer on Stop HOT 1
- redis: empty buffer on Stop
- sqs: data race
- sqs: empty buffer on Stop
- Some code deficiencies
- Using io.Reader for Transport interface instead of []byte HOT 2
- ipfs pubsub as a queue type HOT 4
- RabbitMQ transport: reconnect HOT 2
- Project Status HOT 3
- Redis queue imports fail - gopkg.in is not supported any longer HOT 1
- Question about processing file between multiple nodes
- Cannot control message pulling from the queue
- context.Context friendly API
- Doesn't build with nats HOT 1
- Is this project still being maintained?
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 vice.