[erlang-questions] How does Erlang TCP determine the end of a TCP stream?

scott ribe scott_ribe@REDACTED
Wed Nov 1 05:05:35 CET 2017


On Oct 31, 2017, at 6:09 PM, Eric des Courtis <eric.des.courtis@REDACTED> wrote:
> 
> Depends on the data and what you are doing with it. If it's say a video over a gigantic P2P network then yes I would agree but then you might want something like SHA256 or SHA3 as your checksum.

Exactly. I'd probably do murmur or SIP hash for performance, but that's basically the idea.

> Then again that checksum should probably stick around with the data because hard drives, CPUs and RAM are more likely to screw up the data.

I'm a fan of ZFS ;-)

--
Scott Ribe
https://www.linkedin.com/in/scottribe/
(303) 722-0567




More information about the erlang-questions mailing list