On 02/27/2012 12:53 PM, Janko Mivšek wrote:
Hi guys,

S, Philippe Marschall piše:
Göran Krampe wrote:

Nice to see your AJP work giving results! I think Nginx has a module for
AJP, would be interesting to see if that makes a difference. :)

I don't see how this should help when the Pharo image is at 100% CPU. I
don't see how event driven IO is supposed to help for few, high
throughput connections.

Are you using stock SocketStream internally or anything even more bare
bone?

No, I build my own buffer and go straight to Socket. AJP is packet
oriented with 8k packets so this is easy.

Reuse of the same buffer (same ByteArray) on raw socket is also the
technique used in Swazoo and results are similar. I'm preparing a
similar benchmark including the comparison with VW, so that we can see
how Pharo is progressing on network field and also in general.

One thing I noted with testing Swazoo is that is doesn't support Keep-Alive with HTTP 1.0. Unfortunately ApacheBench uses exactly this.

Cheers
Philippe


Reply via email to