2022-03-04
1375
#node
Hamsa Harcourt
95948
Mar 4, 2022 ⋅ 4 min read

Best pub/sub messaging brokers

Hamsa Harcourt I'm Hamsa, a software engineer with a strong passion for building human-centric products. I love teaching concepts about JavaScript and the web at large.

Recent posts:

Npm Vs. Npx: What’s The Difference?

npm vs. npx: What’s the difference?

Explore use cases for using npm vs. npx such as long-term dependency management or temporary tasks and running packages on the fly.

Fimber Elemuwa
Dec 3, 2024 ⋅ 5 min read
How To Audit And Validate AI-Generated Code Output

How to audit and validate AI-generated code output

Validating and auditing AI-generated code reduces code errors and ensures that code is compliant.

Boemo Mmopelwa
Dec 2, 2024 ⋅ 5 min read
Building A Background Remover With Vue And Transformers.js

Building a background remover with Vue and Transformers.js

Build a real-time image background remover in Vue using Transformers.js and WebGPU for client-side processing with privacy and efficiency.

Emmanuel John
Nov 29, 2024 ⋅ 9 min read
Managing Search Parameters In Next.js With Nuqs

Managing search parameters in Next.js with nuqs

Optimize search parameter handling in React and Next.js with nuqs for SEO-friendly, shareable URLs and a better user experience.

Jude Miracle
Nov 27, 2024 ⋅ 10 min read
View all posts

2 Replies to "Best pub/sub messaging brokers"

  1. One thing that always confuses me is how does a web app subscribe to a certain topic or listen for an event notification that is only relevant to the logged in user?

    If the web app is receiving every message but only has an ‘IF user === loggedInUser’, wouldn’t someone be able to see every other unfiltered message by opening DevTools?

  2. Late answer, but the answer is simple: Web clients does not receive every message over wire. This is filtered server side. The web clients rarely connect directly to the broker, but receives the data over a web socket. For machine to machine clients, that do connect directly to a broker, these things can be controlled via subscriptions.

Leave a Reply