On 12/13/06, toad <toad at amphibian.dyndns.org> wrote:
> On Wed, Dec 13, 2006 at 03:14:39PM +0000, Michael Rogers wrote:
> > toad wrote:
> > > This is why the vast majority of swap attempts fail in
> > > "swapsRejectedAlreadyLocked" on the stats page:
> >
> > If most nodes are locked at any given time, doesn't that mean nodes are
> > spending most of their time executing swaps, ie swaps are already
> > happening nearly as fast as they can? Sorry if I've misunderstood.
>
> Most of the time they are trying to send swaps out, which get rejected
> because the node they reach is already locked, because it itself is
> sending a swap out. Executing swaps doesn't take long; it's the 6 hops
> random routing to find a partner who isn't already locked, the reply,
> the confirmation and the completion that take time; but maybe we can
> significantly speed this up by queueing accepts, so that nodes don't
> fail to swap most times?

Forgive me if I misunderstood the swapping algo or what you are
proposing, but how can we queue accepts when our node location is
about to change?  Won't that affect who we should swap with next?

-- 
I may disagree with what you have to say, but I shall defend, to the
death, your right to say it. - Voltaire
Those who would give up Liberty, to purchase temporary Safety, deserve
neither Liberty nor Safety. - Ben Franklin

Reply via email to