Firstly, I'm sorry if this is posted in the wrong forum, I wanted to post this in "server-management" but all of the sections seemed to focus on scripting issues.
I am writing a daemon process which can take asynchronous user input to alter its state. I want the input to be given as HTTP requests (POSTs with post data).
Ideally, I would like to write the server daemon in C/C++ as it is purely number crunching. I would also like the server's task size (which increases with users roughly linearly) and number of connections it can accept to be as scalable as possible.
So, before I begin writing it I want to know what is the best approach. The two I am currently considering are:
- Writing a custom module for Apache.
- Using boost and other libraries to write a fully custom server.
The thing I want most is to be able to quickly get into development with a library which handles input parsing for me, is preferably simple to use and which is capable of good performance.
Advice would be much appreciated, thank you!