Here's a crude benchmark I've made, throwing numbers with no explanations.
Both client and server running on my macbook pro 2.6GHz i7, MacOS 10.8.2
with default configuration

Using https://github.com/wg/wrk tool:

wrk -c50 -d5s http://127.0.0.1:8080/Makefile
4.1: RPS 2719, Socket errors: connect 0, read 0, write 0, timeout 100
5.0: RPS 35311, Socket errors: none

wrk -c200 -d5s http://127.0.0.1:8080/Makefile
4.1: RPS 2493, Socket errors: connect 0, read 407, write 0, timeout 200
5.0: RPS 35110,  Socket errors: none

wrk -c1000 -d5s http://127.0.0.1:8080/Makefile
4.1: RPS 2669, Socket errors: connect 749, read 390, write 0, timeout 2498
5.0: RPS 33544, Socket errors: connect 749, read 186, write 0, timeout 1676

Using apache benchmark tool (ab). I have to note that
unlike for wrk, ab results were inconsistent between runs.
ab -n 10000 -c100 http://127.0.0.1:8080/Makefile
4.1: RPS 13371
5.0: RPS 15909

Apparently new core executing in a single thread performs significantly
better.
Note that multiple threads could be used too by sharing listening socket
between
server instances as shown in the
multi_threaded.c<https://github.com/cesanta/mongoose/blob/master/examples/multi_threaded.c>example.



On Sat, Dec 28, 2013 at 9:01 AM, Aris Setyawan <[email protected]> wrote:

> Hi,
>
> With this new non-blocking feature, how many percent of RPS (request per
> second) boost, compared to previous version?
>
> -aris
>
> --
> You received this message because you are subscribed to the Google Groups
> "mongoose-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/mongoose-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to