- Amazon Machine Image (以下AMI) から起動したインスタンスを1台利用
- 使用するインスタンスタイプは m3.xlarge (EBS最適化なし) とする。他のインスタンスタイプを使用した場合の結果は無効とする。
- 各参加チームが自分のAWSアカウントでそのマシンイメージを起動
- 出題者側で発行したAPI key(文字列) を入力してベンチマークツールを設定
- 予選終了までは出題内容を他者に漏らさないこと
以下変更不可
- アクセス先のURI (IPアドレスおよびパス(複数))
use warnings; | |
use strict; | |
use Encode qw/from_to _utf8_off/; | |
use Net::Google::Spreadsheets; | |
my $user='id'; | |
my $pass='pass'; | |
my $service = Net::Google::Spreadsheets->new( | |
username => $user, |
[242, 261] in /Users/nikushi.nobuhiro/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpresponse.rb
242: if @status == 304 || @status == 204 || HTTPStatus::info?(@status)
243: @header.delete('content-length')
244: @body = ""
245: elsif chunked?
246: @header["transfer-encoding"] = "chunked"
247: @header.delete('content-length')
248: elsif %r{^multipart/byteranges} =~ @header['content-type']
249: @header.delete('content-length')
curl web-server directly terminator is "0d 0a". Response is normal and correct!
<= Recv data, 10398 bytes (0x289e)
0000: 32 38 39 31 0d 0a 89 50 4e 47 0d 0a 1a 0a 00 00 2891...PNG......
0010: 00 0d 49 48 44 52 00 00 01 ce 00 00 00 ba 08 02 ..IHDR..........
0020: 00 00 00 a8 40 3a 84 00 00 00 06 62 4b 47 44 00 ....@:.....bKGD.
0030: ff 00 ff 00 ff a0 bd a7 93 00 00 20 00 49 44 41 ........... .IDA
105 ensure
106 if req.request_line
107 if req.keep_alive? && res.keep_alive?
108 req.fixup()
109 end
110 res.send_response(sock)
111 server.access_log(@config, req, res)
112 end
113 end
$ fluentd -c fluent/fluentd.conf
2013-12-05 08:45:29 +0000 [info]: starting fluentd-0.10.41
2013-12-05 08:45:29 +0000 [info]: reading config file path="fluent/fluentd.conf"
2013-12-05 08:45:29 +0000 [info]: gem 'fluent-plugin-multiprocess' version '0.1.0'
2013-12-05 08:45:29 +0000 [info]: gem 'fluentd' version '0.10.41'
2013-12-05 08:45:29 +0000 [info]: using configuration file: <ROOT>
<source>
type multiprocess
<process>