Skip to content

Scalable microservice to broadcast message to millions of clients

Notifications You must be signed in to change notification settings

Abinash4567/pub-sub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

pub-sub

Broadcast your messagages at ease

About the Project

Broadcasting Mircoservices

This Go-based microservice facilitates efficient, large-scale message broadcasting from a single sender to millions of receivers. It's designed to operate with minimal resources, making it highly scalable and cost-effective. The service acts as a central hub, managing connections between one sender client and a vast number of receiver clients. When the sender broadcasts a message, the microservice efficiently distributes it to all connected receivers simultaneously. By leveraging Go's concurrency and OS level epoll features optimizing resource usage, this solution enables real-time communication for applications requiring widespread message dissemination while maintaining low infrastructure demands.

Built With

Usage

  1. Clone this repo.
  2. start Server by running go run server.go.
  3. Create a sever connection ws:https://localhost:8000/sender.
  4. Connect as many clients posisble ws:https://localhost:8000/receiver.
  5. Start sending meaages to all clients from sender connection.

About

Scalable microservice to broadcast message to millions of clients

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages