in reply to Which is quicker - writing to a file or inserting into a db?
I think that solution depends on some factors:
1. How many requests do you want to REALLY serve? (10/sec? 1000/sec?)
2. Should be saved data on-line immediately for further use? If not, how long time gap from their save to their usability is acceptable?
3. How many http listeners will do this service?
4. Are there some requirements for data consistency and integrity?
5. Are there some scenarios of HW/OS/SW crash?