dev@grizzly.java.net

Re: benchmarking grizzly

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 02 Jun 2008 09:42:26 -0600

Salut Julien

Julien Vermillard wrote:
> Hi/Salut,
> I'm working on benchmarking different Apache MINA version for see te
> progress made over release (1.1 to 2.0) and I'm trying compare it with
> latest Grizzly too. I'm using a simple echo server as base, for MINA
> I'm using the echoserver example provided with the distribution, and
> for Grizzly the example provided on JF blog. I'm not sure this example
> is really optimal. So I contact you for some advise about how to
> configure grizzly. My code is here :
> http://svn.apache.org/repos/asf/mina/sandbox/jvermillard/grizzly/src/main/java/org/apache/mina/grizzlyecho/EchoServer.java
> . What I need to add/change ? Have you any rule of thumb for setting
> mySharedPipeline.setMaxThreads(5); ?
>

It really depends on the load and how you benchmark it. What do you want
to do/benchmark exactly? Just throughput, or scalability, or both?
Usually the value is between 20 and 100 (for the http case at least).


> The idea of this benchmark is more for helping our developpement by
> profilling some use case than bragging on blogs ;) I'm not even sure
> I'll disclose vs grizzly results outside of dev mailling list.

:-)

A+ et si jamais Grizzly est populaire a Toulouse, j'arrive au plus vite :-)

-- Jeanfrancois



>
> Have a nice weeked,
>
> Julien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>