[OSM-dev] C++ implementation of the API

Tom Hughes tom at compton.nu
Mon May 26 15:03:39 BST 2008

In message <4837063A.6000405 at remote.org>
          Frederik Ramm <frederik at remote.org> wrote:

> > Do we need an Apache server?
> > Why not writing (in c/c++) a small daemon listening on another port
> > (e.g. 8080) and having a pool of threads translating from GET requests
> > to mysql querries and from mysql results to xml?
> Famous last words: "Let's just write a small HTTP daemon..." ;-)
> Sure it's possible but you'd end up firstly not supporting a lot of
> stuff that you get for free if you use an Apache server (e.g. keepalive,
> output compression, HTTPS support) and secondly you're very likely to
> introduce tons of bugs and security holes that the Apache folks have
> long since thought of.

Indeed - it would be seriously pointless wheel reinvention to create
our own HTTP server and I can guarantee it would never be as good or
as protocol compliant as ones which already exist.


Tom Hughes (tom at compton.nu)

More information about the dev mailing list