Giter Site home page Giter Site logo

go-pubsub's Introduction

go-pubsub

Scalable Publisher Subscriber You can use this package to publish messages to multiple topics. Multiple subscribers subscribed to the topic will receive the message on a channel which can be used for various application. Its extensible as a package import.

Components

  • Publisher
    • Simple interface for application to publish a message on any topic
  • Broker
    • publisher sends the message to the broker, broker manages the connections with all the consumers
    • stores the configuration between consumers and each topic the consumers are subscribed to.
    • sends the message for the topic to the corresponding subscribed consumers
    • closes the streams in case consumers go down or unsubscribes.
  • consumer
    • multiple consumers can run concurrently
    • can subscribe to multiple topics at a time
    • receives the message and sends the data to a channel (per consumer) which can be utilized by the client.

Working

TBD

Enhancements

  • Healthchecks for consumers
  • HA for publisher and broker
  • Scale-up nos of brokers
  • Sharding of topics/consumers between the brokers

go-pubsub's People

Contributors

shameerb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.