All projects
Production

Real-time WebSocket Gateway

  • NestJS
  • WebSockets
  • Prometheus
  • Grafana
  • Redis
  • Bull Queues
Role
Backend Engineer
Year
2023 - 2024
Status
Production

Overview

Built real-time WebSocket gateway for live odds streaming with sub-second latency, serving thousands of concurrent connections. Implemented comprehensive monitoring with Prometheus and Grafana dashboards to track WebSocket performance metrics.

Key responsibilities

  1. 1

    Implemented real-time WebSocket gateways for live odds streaming

  2. 2

    Set up Prometheus and Grafana monitoring dashboards for WebSocket applications

  3. 3

    Investigated and resolved Redis connectivity issues impacting Bull queue workers

  4. 4

    Optimized WebSocket connection handling for thousands of concurrent users

  5. 5

    Built message broadcasting system for efficient odds updates across all connected clients

Technical highlights

  • Sub-second latency for live odds updates

  • Handles thousands of concurrent WebSocket connections

  • Prometheus metrics collection for real-time monitoring

  • Grafana dashboards for performance visualization

  • Redis-backed Bull queues for reliable message processing

  • Automatic reconnection and connection health monitoring