Comments (6)
For starters, ZMQ_PAIR sockets are designed for inter-thread communication...
is concise and the context clearly relays that ZMQ_PAIR sockets as being intended for inter-thread communication. Using ZMQ_PAIR sockets are designed for
in such an specific way, and than simply saying ZMQ_PAIR sockets are considered experimental and may have other missing or broken aspects
really leaves a lot to be assumed.
from zguide.
If I didn't already have a years long grasp of zmq, or if I didn't have a solid background in thread related concepts/design outside of zmq, I'm not sure if I would be able to safely make assumptions on that foot note alone.
from zguide.
And clearly I'm not sure when it comes to specifics regarding this issue and that would be nice as well. For example, if I was to use a socket monitor to react when a tcp based ZQM_PAIR endpoint disconnected, would this solve the problem or is there deeper issues regarding IPC/IP ZQM_PAIR sockets. I'm not looking for an answer to this, it's purely hypothetical at this point of my design. But it would be nice if the documentation provided a bit more so that I wasn't left guessing or having to explore other avenues to find the answer.
from zguide.
"Don't do it" is well enough, but it's pointedly lacking.
from zguide.
To the point that I may start doing some deep evaluation to find and document the specific behavior involved in using ZMQ_PAIR over tcp:// or ipc. I don't see why that is necessary considering the lengths that have gone to both making the API consistent and to document it in both clear and complete form.
from zguide.
Also, ZeroMQ doesn't attempt to provide a 100% reliable or 100% fault tolerant solution for networking/IO, at least not purely as an implementation detail. ZMQ's current ecosystem instead attempts to fully document these aspects to allow development of higher-level protocols/patterns for handling these details. I believe documenting potential issues related to ZMQ_PAIR over icp/tcp would better fit this aspect of ZMQ's culture, and may be the start of solving the problem without necessarily making ZMQ_PAIR over true sockets 100% reliable at their core. It may simply be possible within the pattern detail once fully understood. In fact experience makes me think it very likely is solvable without core changes to the API.
from zguide.
Related Issues (20)
- Contradicting description of zero copy receive
- Update to Python examples HOT 1
- hwserver and hwclient erlang example with Chumak
- SUB or XSUB? HOT 4
- C++ examples - ppqueue.cpp : Can't send reply to client
- `examples/C#` causes errors in deployment HOT 3
- Erlang hwserver, hwclient links missing from guide
- cppzmq docs for poll are wrong HOT 3
- wuserver, wuclient Erlang examples not using Chumak
- Erlang files for taskvent, taskwork, tasksink do not use chumak
- zmq guide can not change programming language HOT 9
- Erlang scripts for lpserver and lpclinet not present HOT 1
- Trying to get in touch regarding a security issue
- REQ socket drop message silently if two message coming together very fast
- Pub-Proxy-Sub Mode,High frequency sending long message,easy to cause release error after cache application HOT 2
- C++mdworker,the example running in the linux aborted after throwing an ewhat
- Sample clonecli4 does Not Work Due to KVSimple not Handling SUBTREE
- rtreq.cpp
- may be a bug that ttl not handle in pending list 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 zguide.