Skip to content

yakiniku-lovers/private-isu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

663 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

社内ISUCON 2016

起動方法

AMI

以下のAMI IDとインスタンスタイプで起動する。リージョンは『Asia Pacific (Tokyo)』。

用途 AMI ID インスタンスタイプ
競技者用 ami-18b05179 c4.large
ベンチマーカー ami-53ef0e32 c4.xlarge

競技者用インスタンス

manual.mdを参照のこと(一部社内イベントを意識した記述がある)。

webapp/ディレクトリ以下に全言語の実装がある。

ベンチマーカー用インスタンス

以下の手順で実行できる。

/opt/go/bin/benchmarker -t http://<競技者用インスタンスのグローバルIPアドレス>/ -u /opt/go/src/github.com/catatsuy/private-isu/benchmarker/userdata

# Output
# {"pass":true,"score":1710,"success":1434,"fail":0,"messages":[]}

競技用インスタンスのセットアップ方法

自分で立ち上げたい人向け。provisioning/ディレクトリ以下参照。

適当に手元で立てる

ベンチマーカーのビルドにはリポジトリ自体がGOPATH内にある必要がある。

curl -L -O https://github.com/catatsuy/private-isu/releases/download/img/dump.sql.bz2
bzcat dump.sql.bz2 | mysql -uroot

cd webapp/ruby
bundle install --path=vendor/bundle
bundle exec foreman start
cd ../..

cd benchmarker/userdata
curl -L -O https://github.com/catatsuy/private-isu/releases/download/img/img.zip
unzip img.zip
cd ../..

cd benchmarker
make
./bin/benchmarker -t "localhost:8080" -u $PWD/userdata

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Ruby 29.2%
  • Go 28.1%
  • HTML 14.9%
  • JavaScript 14.9%
  • PHP 10.7%
  • CSS 1.5%
  • Other 0.7%