I'm in the process of planning a web service, which will be written in C++. The goal is to be able to select more or less any web server to drive the service. For this to become true, I obviously have to choose a standardized interface between web servers and applications.
Well known methods that I've heard of are:
- CGI
- FastCGI
- WSGI
Now, as I have absolutely no experience on using those interfaces, I don't really know what to choose. I do have some requirements though.
- needs to be reasonably fast (from what I've heard of, this pretty much rules out CGI)
- should be easily usable in a pure C/C++ environment (e.g. there should be libraries available)
- must provide support for HTTP 1.1 (dunno if that matters)
Thanks for any suggestions :)