Re: [OSM-dev] Synchronous mode

2018-02-20 Thread Tom Hughes
On 20/02/18 21:16, Paul Norman wrote: The data loss potential is very minimal, particularly since anything that brings down the DB server is likely to cause much larger interruptions to mapping than the loss of 5 seconds of PostgreSQL replication. I'd also point out that the data loss risk

Re: [OSM-dev] Synchronous mode

2018-02-20 Thread Paul Norman
On 2/20/2018 12:07 PM, Darafei "Komяpa" Praliaskouski wrote: This suggests that currently apidb replicas aren't in synchronous mode. Can it be switched to synchronous? https://www.postgresql.org/docs/9.5/static/warm-standby.html#SYNCHRONOUS-REPLICATION Given the absolutely miserable

Re: [OSM-dev] Read-only API calls, fair usage

2018-02-20 Thread Komяpa
> > There's no guarantee that the read-only changeset call will go to the same > backend server as the write call. > https://github.com/openstreetmap/iD/issues/1646 shows the problem caused > by iD not parsing the diff response and relying on redownloading. > This suggests that currently apidb

Re: [OSM-dev] Read-only API calls, fair usage

2018-02-20 Thread Paul Norman
On 2/20/2018 2:56 AM, Frederik Ramm wrote: Hi, On 20.02.2018 10:51, Michał Brzozowski wrote: You can use changeset replication with ChangesetMD to query your own DB. I was tempted to respond the same, but I imagine the idea is that as soon as the user clicks on the "I have fixed this" button,

Re: [OSM-dev] Read-only API calls, fair usage

2018-02-20 Thread Simon Poole
IMHO it boils down to one extra API call per edit made in a maproulette context(on top of a minimum of two API calls (if the editor is doing things properly that is actually three), so likely it is simply a bit of added noise, depending on how expensive

Re: [OSM-dev] Read-only API calls, fair usage

2018-02-20 Thread Frederik Ramm
Hi, On 20.02.2018 10:51, Michał Brzozowski wrote: > You can use changeset replication with ChangesetMD to query your own DB. I was tempted to respond the same, but I imagine the idea is that as soon as the user clicks on the "I have fixed this" button, MapRoulette checks what has been

Re: [OSM-dev] Read-only API calls, fair usage

2018-02-20 Thread Michał Brzozowski
You can use changeset replication with ChangesetMD to query your own DB. Michał 20.02.2018 01:45 "Martijn van Exel" napisał(a): > Hi, > > We’re thinking about adding task completion validation to MapRoulette. The > basic premise is this: a user completes a task in MapRoulette,