filmov
tv
Why most TCP servers are multi threaded and how to build one from scratch
Показать описание
Build Your Own Redis / DNS / BitTorrent / SQLite - with CodeCrafters.
In this video, I explained how to build a TCP server from scratch using raw sockets in a programming language like Go. I covered the basics of socket programming, system calls, handling multiple TCP connections, and processing HTTP requests. We created a simple server that listens to a port, accepts connections, reads requests, processes them, sends responses, and closes connections. However, the server we built could only handle one request at a time due to its single-threaded nature.
# Recommended videos and playlists
If you liked this video, you will find the following videos and playlists helpful
# Things you will find amusing
# Other socials
I keep writing and sharing my practical experience and learnings every day, so if you resonate then follow along. I keep it no fluff.
Thank you for watching and supporting! it means a ton.
I am on a mission to bring out the best engineering stories from around the world and make you all fall in
love with engineering. If you resonate with this then follow along, I always keep it no-fluff.
Комментарии