[josm-dev] Multi-Homed API Source

Frederik Ramm frederik at remote.org
Tue Apr 12 21:38:27 BST 2011


Hi,

Ian Dees wrote:
> While I know Mike was being a little bit trollish here, I think it may
> actually make sense to introduce the possibility of different URL(s) for
> read and write operations. This would allow us to (optionally) take a small
> portion of the API load off the DB server and put it on one of the XAPIs
> that are coming online.
> 
> What're your thoughts on this? Is it worth the extra complexity?

Yes, definitely. We could even make it so that the "main API" (the one 
where JOSM will write its changes to) can announce, in its capabilities 
response, which "read-only APIs" are available/recommended for reading 
data from. I assume that in the long run we'll see the admin team do a 
little bit of loadbalancing that way.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the josm-dev mailing list