[nanomsg] Re: Interprocess communication on same host

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 05 Sep 2014 20:54:46 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/09/14 18:18, Ron's Yahoo! (Redacted sender zlgonzalez@xxxxxxxxx
for DMARC) wrote:
> Thanks Martin. Wouldn’t we always be able to batch messages up such
> that we would always get > 1MB thereby resulting in larger net
> throughput? This assumes a non-realtime use case of course…

In the current design you can do that on application level: Collect
messages for time T, then send the whole batch as a single message.

It doesn't work the other way round though: If nanomsg did extensive
batching it would not be suitable for real-time use cases.

That being said, shmem would still be valuable for transporting very
large messages between processes on the same box. Btw, all the
infrastructure to do that is already implemented, what's missing is
the actual piece of code for managing shmem.

Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUCgbjAAoJENTpVjxCNN9Y9kcH/ifmT5nHU6iBh9k/Yd94CEq7
voB4oZV8FOo6QOHcWGL1pY5vSWZs4D/3dIMukfmsDhtsyr8oIO3iyY8jtdnH2Hv6
zABDUSlPpaHLQ4TvruQ+/ZMR3tB0ZN50wLK/orTHvHXNG0fhEqsDkcSjLZHLufDs
aMDUbO3Y0kAsow6lmdZ2xffoGwzrlkiLF9MmzIM86fREvmDyolqHblvK51nV1XlY
BWge6UfuYLmgJDsNWhkcvYq/z5StiFBXtPYrMWygm+RIcBgaBMiBcsCboi3ZeS/0
aNF8sz+InmyL9Arw/MBxQTda+Re01i1fjGVPsxfIE1A24+qZzaI18uCkA0kT00M=
=0t3u
-----END PGP SIGNATURE-----

Other related posts: