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

**URL:** <https://www.ruby-forum.com/t/nchan-a-pubsub-server-module-for-websocket-eventsource-long-poll-and-more/243636>\
**Category:** NGINX\
**Created:** [December 14, 2015, 6:50am UTC](https://www.ruby-forum.com/t/nchan-a-pubsub-server-module-for-websocket-eventsource-long-poll-and-more/243636 "2015-12-14T06:50:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [December 14, 2015, 6:50am UTC](https://www.ruby-forum.com/t/nchan-a-pubsub-server-module-for-websocket-eventsource-long-poll-and-more/243636/1 "2015-12-14T06:50:00Z")

</div>

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.

[https://nchan.slact.net](https://nchan.slact.net)
