views:

17

answers:

0

Hi,

I'm building a small web server for learning purposes.

For each incoming POST request I'm planning to append the content to a file.

  • I'm using ZeroMQ sockets for communicating with the file-append process. Do I need to take special care with the file operations (fopen, fseek)?

  • Considering a typical Amazon EC2 instance and that each request has at most 1kb, how many file-append operations per second can my server handle?

Thanks!