No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
db
example
lib
plans
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
README.md

README.md

tuningsan

https://speakerdeck.com/mirakui/quan-zi-dong-parametatiyuningusan

How to run a demo

  1. clone this repository
$ git clone https://github.com/mirakui/tuningsan.git
  1. run unicorn
$ cp example/config/unicorn.conf.sample example/config/unicorn.conf
$ unicorn -D -c example/config/unicorn.conf example/config.ru
  1. run tuningsan agent
$ bin/agent plans/demo_unicorn.yml
  1. run tuningsan tuner (with another terminal window)
$ bin/tuner plans/demo_unicorn.yml
  1. check out unicorn.conf tuned!
$ diff example/config/unicorn.conf.sample example/config/unicorn.conf
3c3
< worker_processes 1
---
> worker_processes 17