Friday, December 16, 2022

Show HN: Simple pub/sub using WebSockets in Node.js https://ift.tt/bKwaSDt

Show HN: Simple pub/sub using WebSockets in Node.js I built this pubsub module because I wanted a simple solution that uses only node. Why did I want pubsub? I wanted to build a complex app but segregate it into microservices that work together through event messages. I also wanted to use this method instead of node's built-in clustering for multiple instances. I've been running it for a few weeks now with several messages per second bugfree. I plan to use this setup for future apps as it reduces complexity of the code and allows me to restart/update one part of the app without interrupting the other parts. I would love to receive feedback and suggestions on the code and features, and hope it can be useful to you also! https://ift.tt/0t7kUDO December 16, 2022 at 07:06PM

No comments:

Post a Comment

Show HN: Inspect and extract files from MSI installers directly in your browser https://ift.tt/X6PntGW

Show HN: Inspect and extract files from MSI installers directly in your browser Hey everyone! I'm excited to share a small web app I bui...