Përvoja personale me Go si gjuhë e infrastrukturës
summary
Company moves HELLO 2 to microservices and builds a WebSocket hub that handles real-time TCP full‑duplex sessions; implementation uses per‑connection goroutines and messaging channels and exposes a central hub that routes subscribe/publish events. Encountered surprising failure mode: unsynchronized maps crash under concurrent access, fixed by mutex‑protected maps and encapsulation. Works at scale after rearchitecture — hundreds of simultaneous connections, ping/pong keepalives, reconnection and ack logic added to avoid message loss.
AI-written summary · about
related talks
29mGoing Infinite: Handling 1 Million Websocket Connections in Go
57mReliability Nirvana
28mMicroservices – Boyan Dimitrov
35mEvolving Critical Systems With gRPC: Bidirectional at Scale — What Works, What Hurts, What’s Next?
54mRethinking REST in a Microservices World
31mGo: Code that Grows with Grace
01h 01mThe Unsung Hero of Modern Software: Asynchronous Messaging
35mConcurrent and Resilient Connections to Outside the BEAM
