Hacker Newsnew | past | comments | ask | show | jobs | submit | kjstevo's commentslogin

I do not follow security vulnerabilities very closely, but I have no recollection of any major security vulnerabilities coming to light from voluntary law enforcement disclosures. Is this something that EVER happens?


What approach would you take to solve the problem you describe of individual fruit baskets that can scale?


The simplest way to implement this is using a client-side pub/sub engine and have a channel subscription for each resource on the frontend.

So for example, if you have a Fruit basket with id 123 and you want to get realtime updates when that basket changes (E.g. new fruits are added or whatever), you could subscribe to a channel 'fruitbasket/123'.

You would have a separate channel for every basket but because the backend treats all channels in a generic way, the complexity on the backend remains minimal (and is handled by your pub/sub engine anyway).

You need to make sure that your pub/sub engine is good at handling lots of distinct channels (and is designed to be user-facing - A lot of pubsub engines like Redis are only designed for backend use). There are user-facing pub/sub SaaS services which you can hook into your app but they are a bit expensive.

If you want a self-hosted user-facing pub/sub solution, there are only two popular options:

- SocketCluster https://github.com/socketcluster/socketcluster

- Faye https://github.com/faye/faye

Both Faye and SocketCluster are good at handling lots of unique channels - Based on benchmarks I ran, both can handle the same load of about 10k new subscriptions per second (per CPU core). SC makes scaling across multiple CPU cores trivial so if you have an 8-core machine, you can handle 80K new subscriptions per second with SC out of the box. You can also scale with Faye but it will require a lot more work to get working.

Disclosure: I'm the main author of SocketCluster.


I don't know why but the author's experience and description of the scene reminded me a lot of Myst and how I felt the first time I ever played it. I envy anyone who is fortunate enough to experience even a portion of that IRL.


I like the layout and information overview. However, I'm disappointed clicking on items doesn't give me more information or send me to the relevant external page. It looks good and runs well, I would just like a little more interactivity.


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: