Live data from Hacker News

Viewing profile — slact

slact

HN member
Joined
Sun, Oct 18, 2009, 9:27 PM UTC
HN karma
108
Public activity
27 items

About slact

No profile information was provided.

Recent public activity

  1. comment
  2. story
  3. comment
    Comment #10731210

    After last week's discussion [1], I've made some improvements and bumped up this project from alpha to beta status. I've also run some benchmarks, and they're reasonably impressive…

  4. story
  5. comment
    Comment #10690454

    Thanks! I'll be adding a sample JS subscriber client and some sample code with that as well.

  6. comment
    Comment #10690400

    > besides directive prefix The old setting is still recognized. > Subscribers" section of "Push Module" should include websocket Nope, push module didn't do websocket. You may be t…

  7. comment
    Comment #10688133

    > global message id / global channel Yeah, I don't have global ids. every message is bound to the channel it was published to. But I do understand that for your use case, (user + a…

  8. comment
    Comment #10688115

    No, ack/nack would need to be implemented in the client or the application. However, messages do not disappear from the queue when received. All subscriber requests are idempotent,…

  9. comment
    Comment #10687880

    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 lis…

  10. comment
    Comment #10687585

    Well, if it ain't broke, as they say... here's a page on the differences between Nchan and the Push Module: https://nchan.slact.net/upgrade . One important thing I forgot to add is…

  11. comment
    Comment #10686926

    That's correct, that feature is for authentication only. I may add a feature to replace the message with the back end response. By multiplexing I mean that a single websocket (or a…

  12. comment
    Comment #10686906

    Yes. All messages are buffered for a configurable length of time. Longpoll and EventSource clients receive the last message id with each message, and if interrupted can be resumed …

  13. comment
    Comment #10686884

    Yes, backend-authenticated access control is possible. See https://nchan.slact.net/details#authenticate-with-nchan_auth...

  14. comment
    Comment #10686857

    Yep, I'll be adding an example js client, but I don't intend on standardizing this. Mostly because I'm also a js guy and I like mootools, and I don't want to start a best-js-framew…

  15. comment
    Comment #10686586

    > the execution of middlewares when a user publishes a message (to filter them or something else) You can do that with nchan: https://nchan.slact.net/details#authenticate-with-ncha…

  16. comment
    Comment #10686412

    Nchan is about 12K lines of C, I'd say 2-5K of that is dealing with Nginx guts. To get rid of Nginx entirely, you'd need to add an event loop, forking and multiprocess management, …

  17. comment
    Comment #10686338

    I'm not familiar with MQTT, I've just glanced over the spec right now. Nchan is basically a message broker with channels, optimized for message broadcast. MQTT is a TCP-level proto…

  18. comment
    Comment #10686304

    Interesting, I'll read through this. Nchan code is quite modular, so it would be pretty easy to add some kind of negotiation like this. Let's talk more. For reference, here's the o…

  19. comment
    Comment #10686299

    Yes, this is a different project, although they are related. Push Stream is a fork of my Nginx HTTP Push Module, so they both descend from the same original codebase. Push Stream u…

  20. comment
    Comment #10686137

    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 t…

  21. comment
    Comment #10686089

    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 …

  22. comment
    Comment #10685955

    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…

  23. story
  24. comment
    Comment #950562

    Everything is pretty much as efficient as vanilla nginx. There are some O(log(n)) lookups, but i've not noticed CPU usage hit anything even remotely suspicious (fixed bugs aside). …

  25. comment
    Comment #950544

    Beep. I wrote this. Questions, comments -- ask away.