circle-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [circle] Hosts do not find each other


From: Jiri Baum
Subject: Re: [circle] Hosts do not find each other
Date: Tue, 16 Sep 2003 00:12:46 +1000
User-agent: Mutt/1.3.28i

Jiri:
> >   - start up circle on computer A
> >   - type into A:
> >       !node.activate_hashtable()
> >   - start up circle on computers B, C, D
> >   - tell B, C, D to connect to peer A

Asheesh:
> Hooray!  Magic.

Excellent :-)

> > Doing this in a nicer way is probably on a wish-list somewhere...

> Why not just do this automatically on startup?

The idea was to avoid activating it on nodes that are only going to be
up for five minutes, or on nodes that have poor connections. So it waits
for 20-30 minutes, and makes sure the connection to the rest of the
network is good.

However, that assumes that there is a network "out there" already up. If
there isn't - as when starting up a private one - the logic breaks down.


Question for the developers: could the "greet a peer manually" function
cause both nodes to activate their hashtables if neither of them knows
where the rest of the network is? Would that make sense, or would it
just cause confusion?

(Perhaps even do the same for the automatic greet at startup - if there
are nodes out there, but none of them knows where the network is, start
a new one. That might tend toward net-splits, though.)

Jiri
-- 
Jiri Baum <address@hidden>           http://www.csse.monash.edu.au/~jirib
  MAT LinuxPLC project --- http://mat.sf.net --- Machine Automation Tools




reply via email to

[Prev in Thread] Current Thread [Next in Thread]