Hi Jan,
I am reposting my HN comment <https://news.ycombinator.com/item?id=6243065>:I am hoping for some kind of solution for the DoS problems present in ZeroMQ (and probably in nanomsg as well) when used in an Internet facing application. For example the possibility to subscribe to an unlimited number of prefixes in the PUBSUB model leads to memory explosion on the server side.I believe that absence of safeguards such as peer management, subscribe limit, and maximum message size prevents more widespread usage of ZeroMQ. With these, it might be possible to finally get over the absurd HTTP transport for everything we are seeing now.
Yes. Absolutely true. We've discussed these issues back in 2010 or so, but unfortunately they weren't implemented (with the exception of ZMQ_MAXMSGSIZE).
For starters I would propose following limits: - max message size - max number of peers - max total size of subscriptions Anything else you can think of? Martin