Better HN
topnewbestaskshowjobs
Log inSign up

ldemailly

15 karma · joined Jul 21, 2015 (11y ago) · 10 submissions

Submissions

comment 1y ago · link · parent

Then what would you do? serial port? ssh? what is your terminal connected to if you don’t have an OS?

comment 1y ago · link · parent

It doesn’t (look like a go layout) and that’s a good thing because pkg/ src/ etc aren’t good go directories.

3.

Simplify Go Dockerfiles: Tiny, Efficient, Secure(laurentsv.com ↗)

5 points · by ldemailly · 2y ago · discuss

comment 9y ago · link · parent

MQ shines in async calls/event delivery. gRPC / http2 / websockets / thrift is better for synchronous calls ?

comment 11y ago · link · parent

My understanding iz ZMQ is a messaging/rpc mechanism while WDT is aimed at large data transfers (though it also works well with lots of small data as it's streaming)

Also I don't know that ZMQ uses multiple streams ?

comment 11y ago · link · parent

bittorrent is optimized for sending to many and across peers. for fastest data transfer the time it takes to read the data is the bottleneck once the network is optimized, so hashing before sending would be more costly (for a 1:1 copy)

we are considering 1:many case for future development but there are tools (like bittorrent) which already excel at this

comment 11y ago · link · parent

Facebook internally use SDN which hashes source host/port destination host/port to pick paths. By using multiple connections on independent ports we do get multiple path utilized and can thus get better reliability and throughput if some are less healthy than others.

comment 11y ago · link · parent

http://udt.sourceforge.net/ is a solution using UDP but we decided that TCP with multiple flow was a better tradeoff for us (not to reinvent most of the window, congestion control, etc... of TCP)