GitHunt
SA

SantanuKar43/Sockkeeper

Distributed websocket based message bus/notification server.

Sockkeeper

A distributed client connection manager.

  • Keeps track of client socket connections.
  • Forwards messages from backend services to connected clients.

Design

design

APIs

Accept client connection

protocol: ws
uri: /connect/{principal_id}

ws://localhost:8888/connect/santanukar

Send message to client

protocol: http
uri: /send
method: POST

POST http://localhost:8888/sendMessage

Body:

    {
        "principal": {
            "id": "santanukar"
        },
        "message": "{\"text\":\"Hello, world!\"}"
    }
Created July 30, 2024
Updated March 11, 2025