{"id":22194094,"url":"https://github.com/thakursaurabh1998/distributed-websocket-server","last_synced_at":"2026-04-28T23:01:48.818Z","repository":{"id":204080484,"uuid":"711044884","full_name":"thakursaurabh1998/distributed-websocket-server","owner":"thakursaurabh1998","description":"This is a POC/template for creating a distributed service for handling websocket connections using Redis as the central pub/sub provider.","archived":false,"fork":false,"pushed_at":"2023-11-01T07:48:37.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T01:41:44.789Z","etag":null,"topics":["distributed","golang","redis","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thakursaurabh1998.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-28T03:50:39.000Z","updated_at":"2023-11-11T00:25:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"4135612f-1972-4fcd-9427-871f0deea95c","html_url":"https://github.com/thakursaurabh1998/distributed-websocket-server","commit_stats":null,"previous_names":["thakursaurabh1998/distributed-websocket-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thakursaurabh1998%2Fdistributed-websocket-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thakursaurabh1998%2Fdistributed-websocket-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thakursaurabh1998%2Fdistributed-websocket-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thakursaurabh1998%2Fdistributed-websocket-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thakursaurabh1998","download_url":"https://codeload.github.com/thakursaurabh1998/distributed-websocket-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245353804,"owners_count":20601429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["distributed","golang","redis","websocket"],"created_at":"2024-12-02T13:11:03.238Z","updated_at":"2026-04-28T23:01:43.777Z","avatar_url":"https://github.com/thakursaurabh1998.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distributed Websocket Server\n\nThis is a POC/template for creating a distributed service for handling websocket connections using Redis as the central pub/sub provider.\n\n### The aim of the POC:\n\n- To be able to create multiple servers connecting to a single Redis instance where all the messages from websockets are published to and subscribed from.\n\n- If the `--redis` flag isn't provided, then the websocket server shouldn't rely on a Redis server and maintain all the messages in memory until they're written to the sockets\n\n### Why Redis?\n\nWe're using Redis here for it's use case as a multiplexer to which all the backend servers connect to and the system is horizontally scalable without creating a stickiness to a single server for websocket connections.\n\nWe can also use any other pub/sub provider in place of Redis.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthakursaurabh1998%2Fdistributed-websocket-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthakursaurabh1998%2Fdistributed-websocket-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthakursaurabh1998%2Fdistributed-websocket-server/lists"}