I've been hearing some rumblings about V8 finally getting support for
threading.
Specifically "Isolates"...

I have a few questions I'm hoping someone can answer.

1) How heavy/light is each instance of V8, assuming each thread would
get a difference instance.  I want to know what it would look like if
I spun up 1000+ instances.

2) We could like compile server side scripts once and run them over
and over.  Do I need to compile a new copy for each instance?

2) We are looking at using V8 for a web server where there can be a
"session" started on the server. The session has a special "session
global" which can be shared by each request having the same session id
(via cookie).
How well does V8 support a global for use in multiple threads, each
with its own context?  It is assumed that serialized access to the
global may be needed depending on the V8 implementation. The "session
global" holds standard classes which must be preserved between server
hits for the same session id.

Thanks!

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to