> On 11 Dec 2014, at 00:36, Harry Simons wrote:
>
> Afterthought: It will be nice if Node can support a distributed lock service
> out of the box thereby making its cluster feature "more complete". Meaning,
> if I can spawn, fork etc from within Node, then I should also be able to
> coordinat
On Saturday, December 6, 2014 9:30:24 PM UTC+5:30, Aria Stewart wrote:
>
>
> > On 6 Dec 2014, at 03:03, Harry Simons >
> wrote:
> >
> > 2. To use multi-cores, I can have multiple Node processes, sure. But how
> do I serialize/synchronize these processes when doing a set of (non-atomic)
> ope
Hadn't thought of wrapping the code in a domain, thanks for the idea. Will
give that a try and see if it gets me closer. Trying to catch typos on a
remote SSH client instead of just getting a generic Hapi error back.
On Wed, Dec 10, 2014 at 9:49 PM, Andrey wrote:
> no. You are only creating co
Interesting Sam, but what if I set a flag that is checked every
process.nextTick and suspends redis updates, so what's left is finishing
iterating over in-memory items?
On Wed, Dec 10, 2014 at 8:47 PM, Sam Roberts wrote:
> >> On Monday, December 8, 2014 at 3:47 PM, Ω Alisson wrote:
> >>
> >> I'm
no. You are only creating context, not full sandboxed JS environment.
The code is called from the same event loop and functions you have in your
context are same regular functions as in the rest of the code.
All possible solutions are same as for "how do I handle async errors"
question. Use domai
Is there any way to actually capture exceptions from code running
vm.runInNewContext or vm.runInContext, etc...? Seems there should be an
on('error') or something callback but can't find it.
Wrapping the call in try/catch does't capture anything that is within an
async call within the script bein
On Tue, Dec 9, 2014 at 9:49 AM, karim elsafy wrote:
> Dears,
> I have an issue when I call forever module in windows, it works fine
> except that my code is calling Cluster module , and I do "Cluster.fork()",
> the problem is that I got 2 empty consoles opened! like the image shows(2
> because I
>> On Monday, December 8, 2014 at 3:47 PM, Ω Alisson wrote:
>>
>> I'm running a Node app that fetches Redis data into another database. It´s
>> using the cluster module, everything works fine but I need to ensure that
>> workers will finish properly their jobs(they use BRPOP then allocate into a
>>
On Wed, Dec 10, 2014 at 12:27 AM, Ryan Schmidt
wrote:
>
> On Dec 9, 2014, at 1:09 PM, Matt wrote:
>
> > I highly recommend you subscribe to nodeweekly - it's a weekly roundup
> of node news where you'll at least get to hear about this stuff.
> >
> > http://nodeweekly.com/
>
> Done. I'll point out
On Dec 9, 2014, at 1:09 PM, Matt wrote:
> I highly recommend you subscribe to nodeweekly - it's a weekly roundup of
> node news where you'll at least get to hear about this stuff.
>
> http://nodeweekly.com/
Done. I'll point out that this, too, is a resource that has never been
mentioned here
10 matches
Mail list logo