Nchan

Infrastructure

pub/sub server

SHOW HN2015

149points
41comments
#138of 2,565 in 2015
Top 6%of 2015 by points

How HN took it

CuriousMostly questions and neutral comments

6 positive, 12 neutral or asking, 0 mixed, 3 critical, out of 21 comments about the project. Thread score +0.18.

Idea: 3 for, 1 againstExecution: 1 for, 1 againstDesign: 1 for, 0 againstDocs: 1 for, 0 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Clean client API and well-done documentation

    From 2 comments
    • 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…
      jkarneges on HN
    • great project! I retwitted: https://twitter.com/solyarisoftware/status/673798502049280000 Documentation is VERY well done. publisher: Curl examples are perfect. subscribers:…
      solyaris on HN
  • Modular design supporting multiple protocols

    From 2 comments
    • >All the cool kids were talking about it, so I thought I might as well support them, too. I agree with Sam Saffron (thanks Sam for al your githubcode) about some perplexity using…
      solyaris on HN
    • 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…
      jkarneges on HN

Objections

  • Lacks reliable catch-up and per-message security that some users need

    From 1 comment
    • This is super interesting, I have a very similar project that we use at Discourse https://github.com/SamSaffron/message_bus clearly being an NGINX module nchan is going to be a…
      sams99 on HN
  • Limited channel multiplexing (max 4)

    From 1 comment
    • Nice project, and a curious featureset overlap, too... > We have a concept of "reliable pub sub" [...] Does the redis store you have do something similar (I can not see backing…
      slact on HN

Requests

  • Example JavaScript client and subscriber samples

    From 2 comments
    • Would be really cool if you could include some example JS client for this. I'm sure you have some for testing, so even if it's not production ready code it would make testing of…
      comboy on HN
    • great project! I retwitted: https://twitter.com/solyarisoftware/status/673798502049280000 Documentation is VERY well done. publisher: Curl examples are perfect. subscribers:…
      solyaris on HN
  • Standalone server without Nginx dependency

    From 2 comments
    • I'm using Nginx Push Stream with NodeJS for a high-scale chat system (Soon to be released, completely Open-Source). The dependency on Nginx always bothers me. How hard do you…
      geekuillaume on HN
    • Okay, thanks for the information. The problem with doing the pubsub in NodeJS entirely is the way NodeJS handle connections. Each is separated and is accompanied by a big…
      geekuillaume on HN

Questions

  • How does it compare to MQTT?

    From 1 comment
  • Does it buffer messages for offline clients?

    From 1 comment
    • Does Nchan broadcast messages that may have been missed by a client that was temporarily offline? When web client's navigate from page-to-page or enter sleep mode, client's will…
      thesmart on HN

Alternatives named

  • Nginx Push Stream

    From 2 comments
    • Is this different from the other module nginx push stream which offers websockets, long polling etc
      uyoakaoma on HN
    • I'm using Nginx Push Stream with NodeJS for a high-scale chat system (Soon to be released, completely Open-Source). The dependency on Nginx always bothers me. How hard do you…
      geekuillaume on HN
  • MQTT

    From 1 comment
  • Socket.io

    From 1 comment
    • 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…
      slact on HN
  • Twisted or Tornado

    From 1 comment
    • Interesting project. I've up till now used Twisted or Tornado (actually swampdragon.net). My choice would be dependent on scalability and performance.
      Beltiras on HN
  • MessageBus

    From 1 comment
    • This is super interesting, I have a very similar project that we use at Discourse https://github.com/SamSaffron/message_bus clearly being an NGINX module nchan is going to be a…
      sams99 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/10685946)