[OSM-dev] Tirex - a renderd alternative
Jochen Topf
jochen at remote.org
Tue Mar 9 13:07:52 GMT 2010
On Tue, Mar 09, 2010 at 01:54:41PM +0100, Stefan de Konink wrote:
> Op 09-03-10 08:46, Frederik Ramm schreef:
> > But Stefan, you are of course welcome to modify your mod_tile version to
> > talk to Tirex directly. The protocol is really most simple, you just
> > have to send one UDP message and wait for an answer.
>
> The wait for an answer part, how can your 'rely' on that with UDP? Or is
> your idea to that if your timeout expires, than serve a busy tile?
As long as you are on the same host and don´t fill up the buffer UDP is
reliable. The whole thing works only on the same host anyway, so this should
not be a problem.
And yes, if you don´t get an answer within a timeout, you serve an old tile
or send an error message. We have to take this case into account anyway.
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the dev
mailing list