# 5 Backend Design Patterns for Managing Threads and Sockets Page: https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/5-backend-design-patterns-for-managing-threads-and-sockets Text version: https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/5-backend-design-patterns-for-managing-threads-and-sockets.md Podcast: [The Backend Engineering Show with Hussein Nasser](https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440) Published: 2026-01-19T16:24:00+00:00 Episode link: https://podcasters.spotify.com/pod/show/hnasr/episodes/5-Backend-Design-Patterns-for-Managing-Threads-and-Sockets-e3cpho0 Audio file: https://anchor.fm/s/1eb6d14/podcast/play/113083584/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-11-24%2F8c439a1f-c9c8-c350-b4f7-02e81c9ef007.m4a Processing state: not_requested JSON: https://stenobird.com/v1/public/podcasts/the-backend-engineering-show-with-hussein-nasser-847440/episodes/5-backend-design-patterns-for-managing-threads-and-sockets Duration seconds: 2769 ## Resource In this video I introduce 5 different design patterns for building backend applications. Each mode explains how a socket listener is established, a connections are established and how threads and connections are managed to read, write and process requests. ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/the-backend-engineering-show-with-hussein-nasser-847440/episodes/5-backend-design-patterns-for-managing-threads-and-sockets/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/5-backend-design-patterns-for-managing-threads-and-sockets.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.