FAQ
Hi,

The issue is with TCP_NODELAY. It seems that C, by default, does not use
TCP_NODELAY, which Go, by default, does.

I've attached 2 clients (go and C) that switch TCP_NODELAY - so the Go
client turns it OFF, and the C client turns it ON. On my system, this
inverts the performance - my Go client takes about 23s and my C client
about 3 minutes. (in the original, C was about 19s, and Go about 3 min)

All the best,
Craig

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

People

Translate

site design / logo © 2021 Grokbase