See http://github.com/mschwartz/SilkJS.



On Sun, Feb 12, 2012 at 1:51 PM, michael bienstein <[email protected]>wrote:

> Hi everyone,
>
> I am investigating using v8 in a server environment. As in node.js,
> incoming requests will do some (hopefully) light work before waiting
> on a heavy duty back end process. Normally one request thread would be
> fine as in node.js, however third parties can write the JavaScript
> code and so I can't rely on this really being alive in a sort of multi-
> tenant environment (multi project at least).
>
> When looking into multi threading and v8, I see I can use isolates. I
> have two questions:
> 1) I can easily ensure that only one thread accesses an isolate at a
> time - do I still need to use the Locker class?
> 2) I will use windows fibers to manage chunks of parallelizable work.
> If running some JavaScript code in a fiber results in calling the
> heavy duty backend, I want to make the fiber yield. What happens to
> the isolate, handlescope and lockers in this case? Do they remain
> associated only with the fiber or with the thread overall?
>
> Thanks,
>
> Mchael
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

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

Reply via email to