Carthagobet

Sports Betting
Company:Skillware
Year:November 2020 - May 2022
Technology:Node.js, React.js, Angular, RabbitMQ, Socket.IO, Docker
Category:Sports Betting

Overview

Carthagobet is a real-money sports betting platform that served over 50,000 daily active users and processed millions of transactions, with a Node.js backend, a React.js public site, and an Angular back office.

Third-party sportsbook and game integrations were decoupled through RabbitMQ, and race conditions on shared bet/wallet state were eliminated with pessimistic locking and idempotency keys.

Live odds and balance updates were pushed to users over Socket.IO, and the platform shipped with zero-downtime deployments via Docker and GitHub Actions CI/CD.

The problem

A real money betting platform under high volume load had transaction race conditions, with balances and odds changing concurrently.

My role

Team Lead at Skillware, November 2020 to May 2022, leading a team of 5 across parallel workstreams.

Tech stack

  • Node.js
  • Angular
  • React
  • RabbitMQ
  • Socket.IO
  • Docker
  • GitHub Actions

Key decisions

  • Node.js backend with Angular and React frontends.
  • Race conditions removed with pessimistic locking (SELECT FOR UPDATE) and idempotency keys.
  • Real time odds and balance updates delivered over Socket.IO.
  • Third party sportsbook and game provider integrations decoupled by routing their API traffic through RabbitMQ message queues.
  • Zero downtime deployments with a Docker and GitHub Actions CI/CD pipeline.

Results

  • 50k+ daily active users
  • Millions of transactions
  • Team of 5
  • Zero downtime deployments

Gallery