PROTOCOL ENGINEERING

Argus RPC

Custom Binary RPC Protocol Over Raw TCP

Overview

Lightweight TypeScript-native RPC protocol with binary framing, request correlation, heartbeats, retries, connection pooling, structured errors, and benchmarking.

Platform proof

Argus explores how service communication works beneath HTTP frameworks by implementing a custom protocol layer over raw TCP. It handles binary frames, message IDs, PING/PONG heartbeats, timeouts, retry behaviour, connection pools, and failure-aware communication.

Key capabilities

Custom Binary Frame ProtocolTCP Client/ServerMessage ID CorrelationPING/PONG HeartbeatsExponential Backoff RetriesConnection PoolingBenchmark Runner

Technical profile

TypeScriptNode.jsTCP SocketstsupVitestGitHub Actions

Architecture signal

Client ↓ Frame Encoder ↓ TCP Socket ↓ Argus Server ↓ Method Registry ↓ Handler ↓ Response Frame

Engineering focus

Protocol engineeringBinary framingService communicationReliability patternsConnection lifecycle managementBenchmarking

Skills

TypeScriptNode.jsTCP NetworkingBinary Protocol DesignRPC SystemsDistributed Systems

Technical note

Argus focuses on the mechanics beneath everyday service communication. Binary frames, message IDs, heartbeats, retries, and pooled TCP connections are kept explicit so the protocol can be inspected, tested, and benchmarked from first principles.

Discuss this project

Open to backend, platform, API, tooling, CMS, and business software conversations.

link Book 30min call