Mehdi Akiki

Posts tagged "networking"

  • Published on
    Learn load balancing from scratch: build a production-ready load balancer with sticky sessions in Go. Complete with WebSocket support, health checking, rate limiting, and real-world deployment strategies.
  • Published on
    What actually happens between bytes arriving on a socket and your gRPC handler running? This article walks one real request through every parsing layer — TCP, HTTP/2 frames, HPACK, gRPC envelope, protobuf — so the magic disappears.
  • Published on

    Article · Through the layers

    WebSockets From the Wire Up

    Most WebSocket tutorials start at the API. This one starts at the wire — electrons, NIC interrupts, kernel socket buffers, the TCP state machine, the HTTP upgrade handshake, the binary frame format — and works up to what ws.send() actually does.
  • Published on
    Learn multiple methods to identify and stop processes occupying a specific port, using commands like `lsof`, `ss`, and `fuser`, especially when standard tools aren’t available.