January 2012
1 post
Building an API: Rails 3 vs Grape
I’ve been pretty impressed with the Grape Rack library for building an API, but I was curious how it stacks up against Rails 3, now that Rails has been Rack-ified and has steadily become more hospitable to APIs.
Using an existing Rails app with a Grape API mounted as middleware, I ran a benchmark against a vanilla API with this environment:
Grape 0.1.5
Rails 3.0.10
Passenger 3.0.5
Ruby...