This app is a playground for:
-
= ruby 1.9.3
-
= PostgreSQL 9.2beta3
- a C build env for
sequel_pg
.
- create a
.env
file
DATABASE_URL=postgres://path/to/pg/db
RACK_ENV=development
bundle install
rake db:migrate
thin start
- open
http://localhost:9393/
- in another tab open
http://localhost:9393/gen
brew install siege
siege -t 10s http://localhost:9393/gen
siege -t 10s http://localhost:9393/touch