On Sat, Jan 1, 2011 at 12:02 PM, Eloy Paris <pe...@chapus.net> wrote:
> I just checked and bus.0/settings/timeout_volatile is set to the default
> of 15 seconds while settings/timeout_volatile has the 300 seconds I set
> it to. I'll change the former to 300 to see what happens.
>
> What is the difference between bus.0/settings/timeout_volatile and
> settings/timeout_volatile? I mean, which one gets used and under what
> circumstances?
>

This gets to the heart of where the work is done: in the client or in
the server?

For the ownet clients, it's easy. They don't understand anything about
the query and everything is sent to the server. In fact, you don't
even see that first layer of bus.0

For the traditional clients, like owfs and owhttpd and
ow[perl|python|tcl|php|capi] the program is a little schizophrenic. It
can both connect directly to a bus master, or connect remotely to
owserver. For the most part this is transparent, but caching,
temperature scales and aliases are a little ambiguous.

Caching the values where the live bus master lives seems the only safe
method. Otherwise two clients accessing the same owserver might have
different cached values, and you would save a little on network
communication (usually fast) at the expense of 1-wire communication
(relatively slow).

Temperature scales are kept locally, and the values are scaled only by
the last client.

Timeouts are currently only assigned locally, unless the full bus.c
address is used. This is internally consistent, but is not intuitive.

Any suggestions are welcome.

Paul Alfille

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to