FYI: Nginx creator comments on Google V8 shortcomings (maybe related to NodeJS too)

37 views
Skip to first unread message

pcdinh

unread,
Feb 24, 2010, 12:25:44 PM2/24/10
to nodejs

Ivan Boldyrev

unread,
Feb 25, 2010, 2:22:26 AM2/25/10
to nod...@googlegroups.com
This is not related to node.js, as a main complain is a long context creation time.  But node.js uses single context created on startup.

But memory overflow handling is a problem indeed.

--
Ivan Boldyrev

Joran Greef

unread,
Feb 25, 2010, 5:51:06 AM2/25/10
to nodejs
Re: "In principle, nothing wrong with using a separate context for
each query there, if not the time to create the context - 2
milliseconds. Of course, when the context is created for each page in
a browser, a user of these 2 milliseconds will not notice, but for the
server, this means that it may set up a second no more than 500
contexts, and therefore can not handle more than 500 queries per
second."

What about creating contexts in advance of the request coming in?

Ivan Boldyrev

unread,
Feb 25, 2010, 6:00:26 AM2/25/10
to nod...@googlegroups.com
On Thu, Feb 25, 2010 at 4:51 PM, Joran Greef <joran...@gmail.com> wrote:
What about creating contexts in advance of the request coming in?


Request incoming regulary, without "advance", so pool of contexts will soon be empty.

--
Ivan Boldyrev
Reply all
Reply to author
Forward
0 new messages