ML
Topic

Scaling

Scaling notes — horizontal vs vertical, CAP and PACELC, sharding strategies, idempotency, back-pressure, and the cost curves that decide whether 'just throw money at it' is the right answer.

5 articles · updated regularly

Scaling
Jun 27, 20268 min

Running Out of Ports: Ephemeral Port Exhaustion Under Outbound Load

Under a load test our service started throwing 'cannot assign requested address' even though every machine had spare CPU, memory, and bandwidth. We were not out of capacity in any way a dashboard tracks. We were out of source ports, because every outbound request opened a fresh connection and left a pile of sockets sitting in TIME_WAIT.

NetworkingScaling
Read