This guide will give you an overview of the web server infrastucture behind your ruby on rails app. After reading it you should be familiar with:
Rack is an interface between webservers and the Ruby and Ruby framework - or other ruby-based web apps.