Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Philippe Marschall
On 02/25/2012 05:47 PM, Sven Van Caekenberghe wrote: Philippe , That is incredibly fast, I just tried and I can't even get plain apache2 serve the static.html that fast over the local network ! When I have more time, I really have to try to repeat your results with your code ( as well as

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Göran Krampe
Hi Philippe! 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. :) Are you using stock SocketStream internally or anything even more bare bone? regards, Göran

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Philippe Marschall
On 02/27/2012 10:11 AM, Göran Krampe wrote: Hi Philippe! 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

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Göran Krampe
On 02/27/2012 10:27 AM, Philippe Marschall wrote: On 02/27/2012 10:11 AM, Göran Krampe wrote: Hi Philippe! 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

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Janko Mivšek
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

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Philippe Marschall
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

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Janko Mivšek
S, Philippe Marschall piše: 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

Re: [Pharo-project] So I broke 8k req/s today

2012-02-27 Thread Stéphane Ducasse
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. let us know because

Re: [Pharo-project] So I broke 8k req/s today

2012-02-26 Thread Sven Van Caekenberghe
On 25 Feb 2012, at 19:21, Philippe Marschall wrote: On 25.02.2012 17:47, Sven Van Caekenberghe wrote: Philippe , That is incredibly fast, I just tried and I can't even get plain apache2 serve the static.html that fast over the local network ! It's not over the network, it's on the

[Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Philippe Marschall
Hi I heighten everybody's mood I'll post some positive news. After some optimizations in both Seaside and AJP I managed to break 8000 requests / sec with a single Pharo 1.3 image. Thanks to SystemProfiler I knew where to look. This is with a single request handler that just returns a two

Re: [Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Sven Van Caekenberghe
Philippe, On 25 Feb 2012, at 14:35, Philippe Marschall wrote: Hi I heighten everybody's mood I'll post some positive news. After some optimizations in both Seaside and AJP I managed to break 8000 requests / sec with a single Pharo 1.3 image. Thanks to SystemProfiler I knew where to

Re: [Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Stéphane Ducasse
On Feb 25, 2012, at 2:35 PM, Philippe Marschall wrote: Hi I heighten everybody's mood I'll post some positive news. Ok now I understand what the earth stopped to spin today :) Thanks for the mail Stef After some optimizations in both Seaside and AJP I managed to break 8000 requests

Re: [Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Philippe Marschall
On 25.02.2012 16:02, Sven Van Caekenberghe wrote: Philippe, On 25 Feb 2012, at 14:35, Philippe Marschall wrote: Hi I heighten everybody's mood I'll post some positive news. After some optimizations in both Seaside and AJP I managed to break 8000 requests / sec with a single Pharo 1.3

Re: [Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Sven Van Caekenberghe
Philippe , That is incredibly fast, I just tried and I can't even get plain apache2 serve the static.html that fast over the local network ! When I have more time, I really have to try to repeat your results with your code ( as well as study the code ;-) Can you please provide the main

Re: [Pharo-project] So I broke 8k req/s today

2012-02-25 Thread Philippe Marschall
On 25.02.2012 17:47, Sven Van Caekenberghe wrote: Philippe , That is incredibly fast, I just tried and I can't even get plain apache2 serve the static.html that fast over the local network ! It's not over the network, it's on the local machine. Keep-alive makes a big difference. When I