Comments (6)
Did you read https://zguide.zeromq.org ?
from jeromq.
I was hoping for a more definitive and accurate answer than what I understood. However, thank you for your reply.
We don’t attempt to cover the following:
...
The handling of persistent messages or transactions in any way. We assume the existence of a network of unreliable (and probably untrusted) servers or Binary Star pairs.
Here’s the Titanic implementation. This server handles the three services using three threads, as proposed. It does full persistence to disk using the most brutal approach possible: one file per message.
These are two descriptions related to persistence on the website https://zguide.zeromq.org/. It feels a bit contradictory, so I'm not sure.
from jeromq.
That’s an accurate and definitive answer, even if you don’t like it.
from jeromq.
We don’t attempt to cover the following:
...
The handling of persistent messages or transactions in any way. We assume the existence of a network of unreliable (and probably untrusted) servers or Binary Star pairs.
Here’s the Titanic implementation. This server handles the three services using three threads, as proposed. It does full persistence to disk using the most brutal approach possible: one file per message.
Therefore, the conclusion drawn from the two contradictory statements on the official website is that 0MQ does not support message persistence by itself, but supports developers to implement it themselves if needed. Is that correct?
from jeromq.
Yes. That’s the spirit of ZMQ.
from jeromq.
jeromq's job is to send opaque bytes across some interface. It doesn't much care how you serialize or deserialize the bytes. It provides certain guarantees like: atomicity when sending or receiving multipart messages. You can achieve different workflows by applying patterns described in the zguide as @fbacchella mentioned.
from jeromq.
Related Issues (20)
- 0.5.4 and 0.6 versions HOT 3
- MsgsendBlockAndCpuIs100% HOT 7
- ipc HOT 3
- New client cannot receive any data in PUB/SUB mode HOT 1
- How to split `ZMsg` in reply envelope and request? HOT 1
- reaper-1 thread consuming 99.9% CPU HOT 2
- DEALER recv sometimes hangs HOT 5
- Export own and subscription addresses for testing HOT 3
- Expected DISCONNECTED event not received
- A command error message on console HOT 6
- help my keeps crashing when starting up (Not longer in use) HOT 5
- LocketteX plugin error on console HOT 1
- -
- NullPointerException: Cannot invoke "zmq.IMailbox.send(zmq.Command)" because "this.slots[tid]" is null HOT 2
- ZMonitor stuck on close HOT 2
- SocketType HOT 3
- Router/Dealer Pattern facing unnecessary delay during multiple connections HOT 6
- The server cannot receive messages after running for a period of time HOT 1
- Router hangs in send() after client disconnects / doesn't return EHOSTUNREACH
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 jeromq.