[Help] Pub/Sub model or any Server Event Notification (Open to suggestions).

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Centrifugo

    Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.

    Mb try something like this https://github.com/centrifugal/centrifugo?

  • websocket

    Discontinued A fast, well-tested and widely used WebSocket implementation for Go.

    I had to deal with similar questions a few weeks ago and got inspired by https://github.com/gorilla/websocket/tree/master/examples/chat. My first prototype was written in go with zero dependencies (neither websockets, nor postgres. stdlib-only). Basically each organization gets its own channel (e.g. chan []byte) while publishing messages (to specific receivers) is realized using a message broker that knows all receivers. A parameter in the Publish method decides which message is send to which receivers. Check out the the run() method in hub.go to get an idea.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts