Live data from Hacker News

Show HN: Nchan – a pub/sub server as an Nginx module

nchan.slact.net

1–10 of 44 posts

Re: Show HN: Nchan – a pub/sub server as an Nginx module

#2
This is a huge refactoring of an old project of mine -- the Nginx HTTP Push Module. I'm wondering if anyone here has used it.

Most importantly, I want feedback on the documentation. Did I overcomplicate things? Does it need more examples? Does it need more live code? Is it too long? Too short? Etc.

Re: Show HN: Nchan – a pub/sub server as an Nginx module

#4

Is the description just a rather roundabout way of saying it can be used as an anonymous messageboard? The name certainly evokes that.

Well, it would be very easy to make a realtime 4chan-like thing with Nchan, but it's far from the only use case. It's a general-purpose server and pubsub proxy.

The name is a play on nginx and channels. I got tired of saying "nginx http push module" all the time and renamed it.

Re: Show HN: Nchan – a pub/sub server as an Nginx module

#7
post #5

Interesting project. I've up till now used Twisted or Tornado (actually swampdragon.net). My choice would be dependent on scalability and performance.

I consider those two and socket.io my main competition. Nchan is built to scale, but of course you'd need some numbers to back that up. I plan on doing benchmarks once I iron out the documentation, although I realize it would be a great selling point to have the numbers ready right away.

Re: Show HN: Nchan – a pub/sub server as an Nginx module

#10
post #2

This is a huge refactoring of an old project of mine -- the Nginx HTTP Push Module. I'm wondering if anyone here has used it. Most importantly, I want feedback on the documentation. Did I overcomplicate things? Does it need more examples? Does it need more live code? Is it too long? Too short? Etc.

I love the clean client API, e.g. the use of ETags with long-polling.

In some ways it reminds me of our LiveResource protocol (http://liveresource.org). It's still a work in progress, but maybe we can consolidate ideas. It'd be cool if an LR client could be pointed at an Nchan resource.

Post reply on HN