←back to thread

257 points tosh | 1 comments | | HN request time: 0.304s | source
Show context
OptionOfT ◴[] No.42068148[source]
Did they originally NOT run things on the same machine? Otherwise the WebSocket would be local and incur no cost.
replies(4): >>42068249 #>>42068326 #>>42068338 #>>42070889 #
1. ted_dunning ◴[] No.42070889[source]
The article describes why this isn't the problem. You might enjoy reading it.

The basic point is that WebSockets requires that data move across channels that are too general and cause multiple unaligned memory copies. The CPU cost to do the copies was what cost the megabuck, not network transfer costs.