[OSM-dev] OSMXAPI to be ported? (Was Re: Lean and mean Tile- and XML-API-Server)
Stefan Keller
sfkeller at gmail.com
Fri Nov 21 07:22:04 GMT 2008
Thanks Matt and Stefan for the explanations.
Stefan wrote in thread "Re: [OSM-dev] Lean and mean Tile- and XML-API-Server":
> Next to this. I don't know if you actually try to setup an API server
> yourself ;) But I think you will be shocked how much time the 'official'
> builds will take you ;)
I admit, there are some more than me - and that's the issue of
learnability! Given the heterogeneity of these official tools - or
dependency zoo as I would call it - this seems to be rather an issue
of maintenance and learnability and not yet an issue of performance
(remind, the official OSMXAPI server is still down since days).
So it seems that the OSMXAPI is the candidate which really needs to be ported?
Stefan
2008/11/21 Matt Amos <zerebubuth at gmail.com>:
> On Fri, Nov 21, 2008 at 1:07 AM, Stefan de Konink <stefan at konink.de> wrote:
>> Stefan Keller wrote:
>>> Would'nt it be worthwhile to rewrite everything in a single well known
>>> language (like Ruby or Java)?
>
> iirc, the only thing in a "weird" language is osmxapi which, as you
> point out, is written in MUMPS.
>
> the server software is mostly in ruby. osmosis, the "OSM swiss-army
> knife" is in java. various little libraries and tools are in C/C++.
> ROMA is in perl. all of these are well-known, if heterogeneous.
>
>> The reason for the rewrite to C(++) of common used tools within OSM (api
>> server/editor) is purely performance and not a prototype language like
>> Python, Ruby. Or a language that is cross platform but is memory hungry
>> as Java.
>
> "premature optimisation is the root of all evil" ;-)
>
>> Next to this. I don't know if you actually try to setup an API server
>> yourself ;) But I think you will be shocked how much time the 'official'
>> builds will take you ;) Yes I am biased, but also capable to setup a new
>> server within the download time of the planetfile ;)
>
> the instructions here
>
> http://wiki.openstreetmap.org/wiki/The_Rails_Port
>
> shouldn't take more than 20 minutes to set up on a linux box and, at a
> minimum, requires no compilation whatsoever. the planet to mysql
> import takes some extra time, but that must be true of your C++ port
> as well.
>
> there are optional ruby and mysql libraries to improve performance,
> which do need to be compiled. however, they are not necessary and you
> can easily run a personal API without them.
>
> cheers,
>
> matt
>
More information about the dev
mailing list