Re: [zeromq-dev] Memory pool for zmq_msg_t

2019-08-16 Thread Luca Boccassi
The messages structures themselves are always on the stack. The TCP receive is batched, and if there are multiple messages in an 8KB kernel buffer, each message's content_t simply points to the right place for the data in that shared buffer, which is refcounted. The content_t structure is also in

Re: [zeromq-dev] Memory pool for zmq_msg_t

2019-08-16 Thread Francesco
Hi Doron, Ok the zmq_msg_init_allocator approach looks fine to me. I hope I have time to work on that in the next couple of weeks (unless someone else wants to step in of course :-) ). Anyway the current approach works for sending messages...I wonder how the Rx side works and if we could exploit

[zeromq-dev] Call for maintainers: php-zmq

2019-08-16 Thread Luca Boccassi
Hello, The php-zmq was recently moved under the zeromq github org: https://github.com/zeromq/php-zmq/issues/198 First of all, let me thank the author and maintainer, mkoppanen, for the great work done over all these years. Thank you! As the maintainer said: "I don't actively work on PHP