This could very well explain the factor of 5 between the green and purple 
bar in:

http://vertxproject.files.wordpress.com/2012/05/chart_1.png

Den torsdagen den 10:e maj 2012 kl. 17:06:05 UTC+2 skrev koichik:
>
> Hi, 
>
> Node (libeio) has only 4 [1] background threads (per process) 
> for file I/O, but Vert.x has 20 [2] (per instance). 
>
> [1] 
> https://github.com/joyent/node/blob/v0.6.17/deps/uv/src/unix/eio/eio.c#L389 
> [2] 
> https://github.com/purplefox/vert.x/blob/v1.0.0.final/src/main/java/org/vertx/java/core/impl/DefaultVertx.java#L66
>  
>
>
> On Wed, 9 May 2012 21:56:26 -0400, Matt <hel...@gmail.com> wrote: 
>
> > No. 
> > 
> > Though I imagine Isaacs is wondering where the file read performance 
> > difference is. My gut feeling is that Java maybe uses mmap under the 
> hood, 
> > or some other performance trick. It would be much more obvious if there 
> > were strace output. There's also other probable wins, like using a newer 
> V8 
> > that optimises non-VM functions (see recent thread about threads-a-gogo 
> > being faster even with just one thread). 
> > 
> > On Wed, May 9, 2012 at 9:32 PM, Node42 <liu.ke...@gmail.com> wrote: 
> > 
> > > <a href=" 
> > > 
> http://vertxproject.wordpress.com/2012/05/09/vert-x-vs-node-js-simple-http-benchmarks/";>Benchmark
>  
>
> > > </a> 
> > > 
> > > <a href="http://news.ycombinator.com/item?id=3948727";>Hacker News 
> > > Discussion</a> 
> > > 
> > > <a href="http://news.ycombinator.com/item?id=3927891";>Hacker News 
> > > Discussion 2</a> 
> > > 
> > > <a href="http://vertx.io/";>Vert.x</a> 
> > > 
> > > <a href="http://www.infoq.com/news/2012/05/vertx";>InforQ article</a> 
> > > 
> > > <a href=" 
> > > 
> http://fbflex.wordpress.com/2012/05/02/running-vert-x-applications-on-heroku/";>Running
>  
>
> > > Vert.x Applications on Heroku</a> 
> > > 
> > > -- 
> > > Job Board: http://jobs.nodejs.org/ 
> > > Posting guidelines: 
> > > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines 
> > > You received this message because you are subscribed to the Google 
> > > Groups "nodejs" group. 
> > > To post to this group, send email to nodejs@googlegroups.com 
> > > To unsubscribe from this group, send email to 
> > > nodejs+unsubscr...@googlegroups.com 
> > > For more options, visit this group at 
> > > http://groups.google.com/group/nodejs?hl=en?hl=en 
> > > 
> > 
> > -- 
> > Job Board: http://jobs.nodejs.org/ 
> > Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines 
> > You received this message because you are subscribed to the Google 
> > Groups "nodejs" group. 
> > To post to this group, send email to nodejs@googlegroups.com 
> > To unsubscribe from this group, send email to 
> > nodejs+unsubscr...@googlegroups.com 
> > For more options, visit this group at 
> > http://groups.google.com/group/nodejs?hl=en?hl=en 
>
>
>
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to