thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Luciani <jak...@gmail.com>
Subject Re: TNonblockingServer performance
Date Wed, 20 May 2009 10:23:08 GMT
there is a usleep(5000) in the client operation for just this test.  i added
this a long time ago to show the half-sync/half-async works.

you can comment it out or if you specify --server-type=thread-pool it will
use async for io but threads for processing.

-Jake

On Wed, May 20, 2009 at 5:45 AM, Rory McGuire <rmcguire@neonova.co.za>wrote:

> I haven't used it, but non-blocking IO should out perform blocking IO
> when you have more clients (try 10000).
>
> -Rory
>
>
>
> On Tue, 2009-05-19 at 18:08 -0700, Rush Manbert wrote:
>
> > Has anyone else built the non-blocking version of the C++ stress-test?
> > When I run it with a client count of 20 and a loop count of 100 I see
> > a rate value of about 395.
> >
> > With the blocking version and the same parameters I see a rate between
> > 28000 and 34000, depending on the server type.
> >
> > The TNonblockingServer header says this is a server for high
> > performance, but that's not what I'm seeing. I'm on Mac OS X 10.5.6.
> >
> > Is there anyone else who is getting different results?
> >
> > - Rush
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message