How to calculate used shared memory in slab?

2016-08-17 Thread nobody
Hello, I'm the developer of Nchan (previously known as the http push module) -- https://github.com/slact/nchan. I'm writing a stub_status - like stats output handler, and I want to output the amount of shared memory actually used. I could keep track of the raw bytes allocated with wrappers to ngx_s

[ANN] Nchan: a pubsub server module for Websocket, EventSource, Long-Poll and more

2015-12-13 Thread nobody
The module formerly known as NGINX HTTP Push Module is now Nchan. Nchan is a light, scalable, and flexible pub/sub server for the modern web. It can be configured as a standalone server, or as a shim between an application and tens, thousands, or millions of live subscribers. It can buffer message