Permalink
Browse files

puma

  • Loading branch information...
sorah committed Oct 31, 2015
1 parent 4bab183 commit 7b6a4c137ded38dfd62ca6997ad71e97c9be7e55
Showing with 11 additions and 0 deletions.
  1. +2 −0 5f/webapp/ruby/Gemfile
  2. +2 −0 5f/webapp/ruby/Gemfile.lock
  3. +7 −0 5f/webapp/ruby/puma_config.rb
View
@@ -17,3 +17,5 @@ gem 'msgpack'
gem 'http-2'
gem 'net-http-persistent'
+
+gem 'puma'
@@ -21,6 +21,7 @@ GEM
oj (2.13.0)
oj_mimic_json (1.0.1)
pg (0.18.3)
+ puma (2.14.0)
rack (1.6.4)
rack-protection (1.5.3)
rack
@@ -62,6 +63,7 @@ DEPENDENCIES
oj
oj_mimic_json
pg
+ puma
redis
sinatra
sinatra-contrib
@@ -0,0 +1,7 @@
+directory '/home/isucon/webapp/ruby'
+daemonize false
+pidfile '/home/isucon/webapp/ruby/puma.pid'
+state_path '/tmp/puma.state'
+stdout_redirect '/tmp/puma-out.log', '/tmp/puma-err.log', true
+threads 0, 32
+bind 'unix:///tmp/puma.sock'

0 comments on commit 7b6a4c1

Please sign in to comment.