[OSM-dev] Proxy for the API
Stefan de Konink
skinkie at xs4all.nl
Mon Apr 16 21:39:09 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Martijn van Oosterhout schreef:
> On 4/16/07, Stefan de Konink <skinkie at xs4all.nl> wrote:
>> Yesterday on IRC was talked about using a proxy for the API. In general
>> a proxy will give a higher uptime for many people and the chance to do
>> work on the backend. In contrast to 'local' mirrors for specific
>> countries, which may give higher uptimes for that country but in general
>> can lead to merging errors.
> It's a nice idea, I even implemented most of one, but there's one real
> issue: conflicts. Currently there is (rudementary) support for
> detecting conflicts. You lose that when going through a proxy. I have
> no idea how to deal with that, other than dropping the idea of
> conflict detection altogether.
Why do you think conflicts are different for proxied environments?
Changes should be transactions. Now each transaction is directly applied
to a database. To detect conflicts in a proxy the samething happens +
the transactionlog is searched for pending changes on those nodes.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the dev