Skip to content

Dependencies

What BigBash talks to outside a single service process. Internal service list: catalog. Live prod deploy list: GitOps ApplicationSet (see rfetech-gitops).

AWS (in-VPC)

DependencyUsed forIf it fails
Aurora aurora-*OLTP, one database/schema per serviceWrites/reads fail
Aurora aurora-da-*Data Aggregator / partitionsBackoffice/DA lag; OLTP may still work
ValkeyOdds cache, sessions, pub/subStale odds, session issues
MSKDomain events + CDC topicsAsync lag; placement may still hit SQL
MSK Connect / DebeziumOutbox → KafkaConsumers starve; outbox table grows
S3CDN images, MFA QR, plugins, partitionsImages 404; MFA/plugins break
EventBridge bus_{env}Market-closure style eventsThose flows stall
SQSReferenced by livetv Helm (AWS_SQS_BASE_URL)LiveTV features degrade
ECRPull imagesNew pods cannot start
Secrets ManagerConfig blobCrashLoop / 500s
Lambda + EventBridge/SQSBettingEngine settlement (SAM, not GitOps)Bets may place; settlement stalls

How a pod reaches data stores: private subnets + security groups from the VPC CIDR. No public RDS. Networking.

Third-party (prod inventory)

Evidence from GitOps Helm env keys / architecture inventory — not guessed:

SystemUsed byNotes
Betfairbetfairstreaming, BettingEngine Betfair jobsStream + catalogue; local emulators replace this
data.datafeed365.combookmakerdata, fancydataTHIRD_PARTY_SERVICE_URL
scoremaster.123scard.comlivescoreTHIRDPARTY_SERVICE_URL
oddsdata.orglivetv, frontendsPlayer / TV metadata
Casino operatorscasinomanagementPer-operator credentials in Secrets Manager
skorekard.123scard.comFrontendsScorecard UI
GroundcoverCluster sensorsAPM UI (vendor backend)
SentryApp SDKsErrors / traces
GitHubAll CI + GitOpsActions, Argo repo
Google ChatTrivy / ship notifications; Alertmanager config existsAlertmanager is disabled in the kube-prometheus-stack base values we inspected — do not assume Chat is the live pager

Local VPN compose: bookmaker/fancy/betfair paths egress via Gluetun. Networking.

In-cluster platform

Traefik, ExternalDNS, cert-manager, Kyverno, KEDA, metrics-server, oauth2-proxy, Groundcover sensor, OTEL collector, kube-prometheus-stack. rfetech-gitops.

Service → data (prod, evidenced)

ServiceIngress path (gateway)Primary deps
frontend-b2cbigbash.siteGateway APIs, OTEL browser
frontend-b2badmin.bigbash.siteGateway, MDM websocket
userservice/userserviceAurora, Valkey, MSK *_user_sync, S3 MFA
bettingengine/bettingengineAurora, Valkey, MSK, EventBridge, Fancy/BM/MDM/Casino
betfairstreamingnone (worker)Betfair, Valkey, MSK DLQ, EventBridge
bookmakerdata/bookmakerdataDB, Valkey, markets, datafeed365
fancydata/fancydataDB, Valkey, markets, datafeed365
markets/marketsDB, Valkey
manualdatamanagement/manualdatamanagementDB, Valkey, BE/Fancy/BM
casinomanagement/casinomanagementDB, Valkey, MSK, BE, userservice
livescore/livescoreDB, Valkey, scoremaster
livetv/livetvDB, Valkey, oddsdata, SQS
frontmarket/frontmarketBE+BM DBs, Valkey
backoffice/backofficeDA DB + userservice DB, Valkey
dataaggregatornoneMSK, aurora-da, Valkey

Gateway host prod: gateway-prod.bigbash.site. Exact HTTP edges: rfetech-gitops Helm httpRoutes (source of truth).

Settlement Lambdas

C4 and the catalog describe BettingEngine triggering AWS Lambda on a settlement path (EventBridge → SQS → Lambda). Images/stacks ship with build-lambda.yml (SAM), not Argo. LocalStack needs ssm for /rfe/lambda/vpc/*. This repo does not contain the SAM templates — they live in the BettingEngine (or lambda) service repo.

BigBash architecture SSOT — hosted for the team; edit via pull requests.