Webserver for API

Which webserver would you recommend to receive UDP post requests? I would like to build a simple web API to receive post requests in JSON format and I would like to store them in a Redis database.

Would you go for Node.js? I was hoping to find a simple Ruby alternative.

Thin is the most secure and extensible ruby web server. It combines together ruby libraries mongrel parser, event machine and rack. Just do

sudo gem install thin

or gem install thin if you are using rvm.

In the console, go to your app directory and run.

thin start

Simple in Ruby means Sinatra. Node.js could be the answer too, depends on what you're more familiar with.