[erlang-questions] Re: Unicast 20k messages, $500-$1000 bounty

Joel Reymont <>
Thu Jul 16 22:49:44 CEST 2009


On Jul 16, 2009, at 9:47 PM, Paulo Sérgio Almeida wrote:

> But there is in fact a huge amount of context switching due to the 2  
> *  20k middlemen.

I used to have a version that used a closure with a socket to send  
directly.

Consensus then was that a middleman process should be used :-).

> However, I still think that performance should improve noticeably if  
> there is one less hop of middlemen: it will be at least 20k less  
> context switches and 20k less messages.


There are no middlemen now, Cliff's version sends directly to the  
socket.

	Thanks, Joel

---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont



More information about the erlang-questions mailing list