Robust way to deploy a Rack application (Sinatra)
问题 I'm looking for a robust way to deploy a Rack application (in this case a Sinatra app). Requests will take a little time (0.25-0.5 sec waiting on proxied HTTP requests) and there may be a decent amount of traffic. Should I go with a traditional mongrel cluster setup? Use HAProxy as a load balancer? nginx? rackup? What solutions have you used and what are the advantages? 回答1: Nginx / Unicorn FTW! Nginx in front to serve static files and unicorn to handle Sinatra app. Benefits: Performance,