---
title: "Discussion on \"TCP vs UDP: I sent 20,000 messages to a slow reader and UDP lost 70%\" | Hashnode"
description: "Discussion on \"TCP vs UDP: I sent 20,000 messages to a slow reader and UDP lost 70%\". TCP vs UDP in plain English, with a real test on a Mac: the same 20,000 messages to a slow reader. UDP lost 60% to 72% across three runs, TCP lost none."
url: "https://hashnode.com/posts/tcp-vs-udp-i-sent-20000-messages-to-a-slow-reader-and-udp-lost-70/6ac22f113a982e43f6a706bd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TCP vs UDP: I sent 20,000 messages to a slow reader and UDP lost 70%](https://systemdesignacademy.hashnode.dev/tcp-vs-udp-i-sent-20000-messages-to-a-slow-reader-and-udp-lost-70?utm_source=hashnode&utm_medium=feed)

TCP vs UDP in plain English, with a real test on a Mac: the same 20,000 messages to a slow reader. UDP lost 60% to 72% across three runs, TCP lost none.

Oct 4 · 6 min read · systemdesignacademy.hashnode.dev  
Read the article

-   [#networking](https://hashnode.com/tag/networking)
-   [#tcp](https://hashnode.com/tag/tcp)
-   [#udp](https://hashnode.com/tag/udp)
-   [#system-design](https://hashnode.com/tag/system-design)
-   [#python](https://hashnode.com/tag/python)

## Written by

[RONI DAS](https://hashnode.com/@ronidas)

@ronidas · India

  
[View profile](https://hashnode.com/@ronidas)

AI engineering, agentic memory, machine learning, and system design at scale.

I work on AI systems and the infrastructure they actually run on: agentic architectures, memory for agents, retrieval, and the graph and data layers that keep model output grounded in something real. Formerly at Neo4j. I also write and teach the systems side that most AI content skips, from distributed systems and databases to the design decisions that decide whether a model ever reaches production. I run Total Technology Zonne on YouTube and I am building systemdesign.academy, an interactive course on system design, machine learning, and AI engineering, covering the parts most tutorials leave as an exercise for the reader. Mock interviews and prep packs: topmate.io/roni

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
