TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Once Again on TCP vs. UDP

32 pointsby vimes656about 9 years ago

4 comments

dedalusabout 9 years ago
<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Reliable_User_Datagram_Protocol" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Reliable_User_Datagram_Protoco...</a> is also a good protocol in this space.<p>Its been a decade since I worked with atou (Almost TCP over UDP) but it does work: <a href="http:&#x2F;&#x2F;www.csm.ornl.gov&#x2F;~dunigan&#x2F;net100&#x2F;atou.html" rel="nofollow">http:&#x2F;&#x2F;www.csm.ornl.gov&#x2F;~dunigan&#x2F;net100&#x2F;atou.html</a><p>An excellent read on how to implement reliable UDP by Craig is here: <a href="https:&#x2F;&#x2F;pdfs.semanticscholar.org&#x2F;1d88&#x2F;1d58d53ee530a4b4c7427af8953affe8190c.pdf" rel="nofollow">https:&#x2F;&#x2F;pdfs.semanticscholar.org&#x2F;1d88&#x2F;1d58d53ee530a4b4c7427a...</a>
nickpsecurityabout 9 years ago
I tell people to start with UDT when trying to improve TCP or UDP:<p><a href="http:&#x2F;&#x2F;udt.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;udt.sourceforge.net&#x2F;</a><p>Good chance they already did what you need. On supercomputers with a distributed filesystem (Sector&#x2F;Sphere) at that. :)
评论 #11345864 未加载
tokenroveabout 9 years ago
Sadly no mention of SCTP, which, if you don&#x27;t need to communicate with arbitrary hosts over the Internet, sits in a nice middleground between TCP and UDP.
评论 #11343836 未加载
FullyFunctionalabout 9 years ago
TCP and UDP aren&#x27;t the perfect solutions [for everything] and there&#x27;s no shortage of proposed alternatives to TCP; Besides already mentioned QUIC, there&#x27;s CurveCP (<a href="https:&#x2F;&#x2F;curvecp.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;curvecp.org&#x2F;</a>), MinimaLT (<a href="https:&#x2F;&#x2F;www.ethos-os.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ethos-os.org&#x2F;</a>), or even more extreme Named Data Networking (<a href="http:&#x2F;&#x2F;named-data.net" rel="nofollow">http:&#x2F;&#x2F;named-data.net</a>).<p>For a background on <i>why</i> TCP is this way, look up &quot;The Design Philosophy of the DARPA Internet Protocols&quot;, by David D. Clark, however knowing is little comfort.