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

Frederik Ramm frederik at remote.org
Fri May 23 19:00:26 BST 2008


Hi,

> 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.

Bye
Frederik

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




More information about the dev mailing list