Skip to content
← Back
Active 20+ Engineers

StreamLayer

CTO · Led 20+ Engineers

Aug 2018 — 2025 · Fractional CTO from 2025

1M+
peak concurrent
<100ms
p99 latency
12
platform SDKs
7
years as CTO
Clients MastersNFLBellBetanoTGLInter Miami

Real-time interactive platform for live sports streaming. CTO for 7 years, leading 20+ engineers. The entire backend runs on Microfleet — the framework I built at Makeomatic — proving it at massive scale. Proto-first gRPC architecture across all services.

Architecture

gRPC Gateway → AMQP Microservices

Core

Single gRPC entry point (sl-grpc-proxy) terminates all SDK client connections and fans out to 20+ backend microservices via RabbitMQ AMQP. Handles JWT auth, geo-IP, rate limiting, and connection management. Designed for 1M+ concurrent with 2x scale-up in under 3 minutes.

gRPC Protobuf RabbitMQ JWT/jose

Proto-First Design

Central proto repository as single source of truth for all API contracts. Buf-managed codegen outputs to Swift, Java/Kotlin, TypeScript (ES modules + nice-grpc), Go, Python, JSON Schemas, and auto-generated docs. Proto domains covering analytics, chat, sports data, interactive engagement, triggers, and more.

Buf Multi-target Codegen

Microfleet-Powered Backend

Every backend service uses Microfleet plugins: AMQP transport, hapi HTTP, Redis Sentinel, Prometheus metrics, OpenTracing, distributed locking, JSON Schema validation. Consistent plugin composition across all services — new engineers onboard in days, not weeks.

Microfleet Redis Sentinel PostgreSQL MongoDB RethinkDB ClickHouse

Infrastructure & GitOps

Full Kubernetes ownership on GKE — Istio service mesh for traffic management, mTLS, and observability. Helm charts + Jsonnet templating for all services. Terraform for cloud resources, Concourse CI for GitOps pipelines. Prometheus + OpenTracing for monitoring. Managed the migration from bare VMs to containerized infrastructure.

GKE Istio Helm Jsonnet Terraform Concourse CI Prometheus

Service Domains

Sports Data

6 real-time data adapters: Sportradar, Betgenius, SimpleBet, BetMGM, SportsData.io, NFL. Event sync, game matching engine, and prediction features from live feeds.

Analytics Engine

ClickHouse OLAP backend with custom adapter for analytics and observability. Cluster-wide aggregate peak of billions events/second. Tracks viewer engagement, ad performance, and interactive overlay metrics across live broadcasts.

Interactive Engagement

Polls and gamification (OpenAI-powered auto-generated questions), event triggers with BullMQ, delayed promotions. Real-time audience interaction tied to in-game moments.

Communication

Chat auth (MongoDB + RethinkDB), Twilio-powered voice, Tinode chat management, content moderation (sl-censor), push notifications via APNs + Firebase.

AI Platform

9 specialized AI agents with Sense-Interpret-Act architecture on Temporal: event spotter, scorekeeper, floor manager, bookie interpreter, action planner, content composer, quality judge.

SDK Settings

Multi-tenant B2B: Organization → Stream → Client settings hierarchy. Stream Chat integration. JWT-based SDK initialization and configuration management.

Client SDKs — Architecture & Team Leadership

iOS

Swift, VIPER architecture. XcodeGen build system. iOS 13+ and tvOS 13+. CocoaPods + SPM distribution. SwiftLint, SwiftGen, Fastlane, Bitrise CI.

Android

Kotlin with modules: SDK core, ExoPlayer, Media3, Watch Party, TV, Firebase, Google PAL. Gradle KTS.

Web

React SDK built with Nx, Connect + gRPC-Web for transport. Storybook component library. Demo integrations: Next.js, Vite, webOS.

CTV & More

Roku (BrightScript), React Native (including new architecture), Fire TV, Apple TV, PlayStation, Xbox, Tizen, webOS.

Key Integrations

Masters

Multi-year Augusta National integration. 1M+ peak concurrent during tournament week. Template for all subsequent integrations.

Flagship

Betano

Group watch parties sustaining 1M+ peak concurrent across sporting markets.

1M+ concurrent
Brand partners NFLNikeCoca-ColaSamsungVerizonRed BullDraftKingsMercedes-BenzVisa

Stack

TypeScriptSwiftKotlinGoBrightScriptgRPCProtobufBufMicrofleetHapi.jsTypeORMClickHouseRedis SentinelPostgreSQLMongoDBRethinkDBRabbitMQBullMQWebSocketsGKEIstioHelmJsonnetTerraformCloudflareConcourse CIOpenTracingPrometheusSentry