[Tilesathome] Some questions on client behaviour

Matthias Julius lists at julius-net.net
Thu Nov 20 17:51:14 GMT 2008


Dirk-Lüder Kreie <osm-list at deelkar.net> writes:

> Matthias Julius schrieb:
>> It just occured to me that this is far from optimal.  Instead, a
>> client running in upload_loop mode should simply upload from the
>> UploadDirectory.  This would eliminate the need for a separate setup.
>
> You will get all sorts of "funny effects" on platforms that can't lock
> properly.

Files are copied with a _part suffix first and then renamed.  This
should be safe, I hope.

>
> Besides it might be entirely undesireable to share the working
> directories of multiple renderers in the LAN for the same reason.

I believe the only potencial for clashing should be when two clients
try to put the same tileset into uploadable at the same time.  The
chance for that should be pretty low.

Anyway, on platforms where file locking is an issue people need to
keep installations separate.  All others can reuse them.

Matthias




More information about the Tilesathome mailing list