Paxos by default?

36 views
Skip to first unread message

Marak Squires

unread,
Apr 8, 2012, 1:13:06 AM4/8/12
to hoo...@googlegroups.com
It occurs to me that some people might get epically confused with paxos enabled by default.

I've gotten a few random reports of people not understanding why hooks won't go down. Unexplained uptime is kinda confusing.

Does anyone think we should disable the paxos fail-over by default or keep it enabled and improve and rough points? 

--
-- 
Marak Squires
Co-founder and Chief Evangelist
Nodejitsu, Inc.

Erik Rothwell

unread,
Apr 13, 2012, 11:49:33 AM4/13/12
to Hook.io
On Apr 8, 1:13 am, Marak Squires <marak.squi...@gmail.com> wrote:
>
> Does anyone think we should disable the paxos fail-over by default or keep
> it enabled and improve and rough points?

It makes sense when your hooks are largely independent peers but there
are many
cases (such as mine :)) where you have a parent hook spawning child
hooks as
workers of various kinds, for example, and you really do want the rest
of the
hooks to die when the parent goes down for any reason.

Erik.

Marak Squires

unread,
Apr 14, 2012, 10:24:12 AM4/14/12
to hoo...@googlegroups.com
I think you really don't want your mesh auto healing unless you know what you are doing. I took it out by default and replaced it with a new flag --autoheal. 

If you use --autoheal, hook mesh will now attempt to heal. 

It's too big of a surprise for new users who don't understand what is going on. It also seems to be a bit buggy with Hook.spawn and Hook.stop in some cases.

Not really a big deal. If people want to enable it for their own hooks or libraries its just one flag.
Reply all
Reply to author
Forward
0 new messages