{"id":15137082,"url":"https://github.com/omran95/chatroom","last_synced_at":"2026-02-07T18:33:43.390Z","repository":{"id":243856041,"uuid":"812073452","full_name":"omran95/chatroom","owner":"omran95","description":"Backend for Real-time, Highly-Scalable Chat Room App","archived":false,"fork":false,"pushed_at":"2024-07-05T11:59:22.000Z","size":655,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T12:47:15.564Z","etag":null,"topics":["cassandra","docker","golang","grpc","kafka","opentelemetry","prometheus","rate-limiter","redis","traefik","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omran95.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-07T22:41:46.000Z","updated_at":"2024-10-21T16:36:51.000Z","dependencies_parsed_at":"2024-09-21T11:02:01.305Z","dependency_job_id":null,"html_url":"https://github.com/omran95/chatroom","commit_stats":null,"previous_names":["omran95/chat-app","omran95/chatroom"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/omran95/chatroom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omran95%2Fchatroom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omran95%2Fchatroom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omran95%2Fchatroom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omran95%2Fchatroom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omran95","download_url":"https://codeload.github.com/omran95/chatroom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omran95%2Fchatroom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29203782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cassandra","docker","golang","grpc","kafka","opentelemetry","prometheus","rate-limiter","redis","traefik","websocket"],"created_at":"2024-09-26T06:43:18.636Z","updated_at":"2026-02-07T18:33:43.374Z","avatar_url":"https://github.com/omran95.png","language":"Go","readme":"# Chatroom\n![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/omran95/chatroom?label=Version\u0026sort=semver)\n\nBackend for a real-time chat room app in a highly scalable architecture. \n\n\n### System architecture\n\n\u003cimg width=\"1028\" alt=\"image\" src=\"https://raw.githubusercontent.com/omran95/chatroom/main/architecture.png\"\u003e\n\n\n### Features\n- Real-time chatting using websockets.\n- Services **are stateless** and can be horizontally scaled.\n  - `room`: creates rooms (public/protected) and handles messages.\n  - `subscriber`: maintains Kafka subscriber topics for each room in a Redis cluster.\n\n- Traefik for efficient HTTP reverse proxying and load balancing\n- gRPC for low-latency and high-throughput inter-service communication.\n  - with retry (Exponential backoff with jitter), timeout, and circuit breaker.\n- Graceful shutdown.\n- Observability using Prometheus + Grafana for service monitoring and OpenTelemetry + Jaeger for distributed tracing.\n- Pub/Sub using Kafka with partitioning for parallel processing.\n- Persist messages and rooms in Cassandra, A highly available and scalable NoSQL Database with tunable consistency.\n- Protect the create room API with distributed rate limiting using the Token-Bucket Algorithm with Redis.\n- Broadcasting seen, typing, joining, and leaving events to all room members.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomran95%2Fchatroom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomran95%2Fchatroom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomran95%2Fchatroom/lists"}