[e-lang] Redirectories and captp://

Tyler Close list at waterken.net
Thu Sep 23 23:24:43 EDT 2004


So is PING_TIMEOUT = 20 seconds also a good value to use for the wait 
time between checks of the Vat's IP address?

I suppose a related timeout is the time that a Vat waits before retrying 
a connection. Is this application specific in E, or is there some retry 
logic above VatTP in CapTP?

Tyler

Bill Frantz wrote:
> At 10:29 PM -0700 9/20/04, Mark Miller wrote:
> 
>>Tyler Close wrote:
>>
>>>David Hopwood wrote:
>>>
>>>
>>>>Ah, OK. I don't think there's any way to do that without either polling,
>>>>or platform-dependent native code.
>>>
>>>
>>>That's my suspicion too.
>>>
>>>So what's the right polling period for E?
>>
>>We can of course make this configurable, but we still need to choose a
>>default?
>>
>>How expensive to you expect the polling operation to be?
>>
>>What is the time interval between VatTP keep-alives?
>>
>>How long does it take for a VatTP connection to time out?
> 
> 
>>From Msg.java:
> 
>     /**
>      * A fudge factor with which to multiply the timeouts for purposes of
>      * debugging.
>      */
>     //static private final long TIME_FUDGE = 1;  //the normal value
>     static private final long TIME_FUDGE = 60;  //debug value
> 
>     /** The tick rate for the connection keep alive clock.  Used in
>      * conjunction with PING_SENDTIME and PING_TIMEOUT to ensure that the
>      * connection is still in good working order. In milliseconds.*/
>     static final long TICK_RATE = 15 * 1000 * TIME_FUDGE;
> 
>     /** The timeout for no messages received.  When this timeout is exceeded,
>      * we send a ping message.  In milliseconds.*/
>     static final long PING_SENDTIME = 20 * 1000 * TIME_FUDGE;
> 
>     /** The timeout for a ping.  If we don't receive a message within this
>      * time after we have sent a ping, we declare the connection down.
>      * In milliseconds.*/
>     static final long PING_TIMEOUT = 20 * 1000 * TIME_FUDGE;
> 
> Cheers - Bill
> 
> 
> -------------------------------------------------------------------------
> Bill Frantz        | "So long as we govern our nation by the letter and
> (408)356-8506      | spirit of the Bill of Rights, we can be sure that our
> www.pwpconsult.com | nation will grow in strength and wisdom and freedom."
>                    |    - Harry S. Truman
> 
> 
> _______________________________________________
> e-lang mailing list
> e-lang at mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/e-lang
> 


-- 
The web-calculus is the union of REST and capability-based security.
http://www.waterken.com/dev/Web/


More information about the e-lang mailing list