Skip to content
Hire me
01 / StartXP 0%0/9
Stage 1-1 · Netsync Network Solutions · 2023 — Now

ALTO device platform

Real-time device management for an IPTV platform: NestJS, Socket.io and MongoDB holding 100,000+ concurrent device connections.

Role
Senior engineer · team lead
Company
Netsync Network Solutions
Period
2023 — Now
Stack
NestJS, Socket.io, MongoDB, GraphQL
NestJSSocket.ioMongoDBGraphQLDockerKubernetesAWS EKSJenkins

01The problem

Every IPTV device on the ALTO platform keeps a live connection for commands, status and notifications. At 100,000+ devices, the backend has to hold every socket open, route messages to the right device and survive spikes without dropping events.

On top of that, the original backend was a monolith: one slow path could drag the whole platform's latency up.

02Approach

I designed the real-time device management system on NestJS with Socket.io for the device connections and MongoDB for device state.

Notifications run through a WebSocket and queue-based event pipeline that delivers millions of events a day with at-least-once semantics, so a slow consumer delays a message instead of losing it.

We split the monolith into NestJS services on Docker and Kubernetes. Isolating failure domains cut p95 latency by about 40%.

03Architecture

Devices connect to NestJS Socket.io gateways; events flow through queues to NestJS services backed by MongoDB.

A schema-first GraphQL API is the single layer for web, mobile and partner integrations.

Everything ships through Jenkins CI/CD to Kubernetes on AWS EKS, with monitoring and incident response owned by the team I led (7+ engineers).

04Results

100,000+ concurrent device connections, millions of events a day, and p95 latency down ~40% after the services split. The same device telemetry later fed the ALTO AI agent and MCP server.

go2alto.com
Live artifactTry it yourself

Runs in your browser. Nothing to install.

Interactive demo — embedded on xerk.io. The article above explains what it shows.
100K+
Concurrent connections
−40%
p95 latencyafter the services split
M/day
Events deliveredat-least-once

FAQ

What is ALTO?

An IPTV platform by Netsync. Its real-time device management backend handles 100,000+ concurrent device connections on NestJS, Socket.io and MongoDB.

How do you keep that many WebSocket connections reliable?

Socket.io gateways in NestJS, a queue between the sockets and the business logic, at-least-once delivery for events, and services isolated on Kubernetes so one failure doesn't take down the rest.

Can you build a real-time system like this for me?

Yes. Book a call or message me on Upwork with how many devices or users you expect and what has to happen in real time.

Need something like this?

I'm Ahmed Mamdouh — 10+ years building systems like ALTO device platform. Scoped in one call.