Comments (1)
So this is the current reality. There are two cases you have to think about with respect to large messages and zmqs internal buffers.
Stream sockets - it turns out indeed that messages sent and received over stream sockets will be split up into messages of the buffer size or less. however it seems the api gaurantees that ever time you get a chunk of the original stream it will come with 1 identity frame and 1 message frame. This is good news, as its really easy to confirm and also very easy to code to.
Non-stream sockets - it may be the case that under the hood zmq breaks these messages up if they are larger than the internal buffer, but by the when you get the message from the sockets recv method it will have been pieced back together. So nothing to worry about there
from prime_server.
Related Issues (20)
- Error: possibly undefined macro: m4_esyscmd HOT 20
- prime_server.cpp:455 proxy_t: bad_function_call HOT 22
- testsuite fail HOT 1
- Prime server bad function call error HOT 2
- CMake installation issues
- Consider editing repository setings to remove "Packages" section
- Not able to run `make -j$(nproc) -k test` HOT 1
- no packages for Debian GNU/Linux 11 (bullseye) HOT 1
- Higher Resolution Request Timestamping
- Missing code from submodules in releases HOT 3
- Building from sources works in buster docker image but does not in bullseye HOT 6
- [Suggestion] New configuration option to whitelist some or all (default) http verbs HOT 5
- POST request without leads to SEGFAULT HOT 3
- Error when updating Ubuntu packages HOT 3
- Graceful shutdown request HOT 5
- trailing slashes HOT 3
- macos-13 runner fails interrupt test HOT 1
- Trusty Builds are Broken
- Build failure with some compiler flags HOT 3
- Error on make test HOT 4
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 prime_server.