Thursday, April 18, 2024
HomeGolangPublish adjustments. Subscribe on adjustments. The right way to suppose? - Technical...

Publish adjustments. Subscribe on adjustments. The right way to suppose? – Technical Dialogue


I’ve learn many articles and watched many tutorial movies, however the widespread floor for many of the materials is to Publish adjustments to ALL customers. Not Subscribing and get info what considerations simply the consumer who’s logged in.

The opposite widespread floor is Websockets protocol. There appears to be many different methods to pores and skin this cat (Mark Twain) and I’ve some doubt which one to selected.

What I’m trying to find is a manner for the consumer to login and hook up with a server (Websocket server?) and say one thing like “Hey, I’m Joe, please preserve me up to date on MY stuff”.

I’ve managed to arrange a websocket server, however I solely will get extra confused proceed. The right way to suppose? The closest I’ve discovered is that this and discovered additionally this. However that is above my pay grade. I do perceive nothing.

On this stage I’m principally concerned about “ suppose”? No language particular.

Any enter or course is welcome!

Did you look into utilizing current messaging programs like NATS?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments