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

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 messages in memory, on-disk, or via Redis. All connections
are handled asynchronously and distributed among any number of worker
processes. It can also scale to many nginx instances with Redis.

Messages are published to channels with HTTP POST requests or
websockets, and subscribed also through websockets, long-polling,
EventSource (SSE), old-fashioned interval polling, and more. Any
location can be a subscriber endpoint for up to 4 channels. Each
subscriber can be optionally authenticated via a custom application url,
and an events meta channel is available for debugging.

This is a beta release, and I’m looking for feedback on the module code,
functionality, as well as the documentation.