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

Stefan de Konink skinkie at xs4all.nl
Fri May 23 19:13:45 BST 2008

Frederik Ramm schreef:
> 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.

As mentioned before. Take a look at cherokee and their module structure. 
:) You got the best off all worlds :)


More information about the dev mailing list