{"action":"created","issue":{"url":"https://api.github.com/repos/ss/rails_monitoring_engine/issues/12","repository_url":"https://api.github.com/repos/ss/rails_monitoring_engine","labels_url":"https://api.github.com/repos/ss/rails_monitoring_engine/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ss/rails_monitoring_engine/issues/12/comments","events_url":"https://api.github.com/repos/ss/rails_monitoring_engine/issues/12/events","html_url":"https://github.com/ss/rails_monitoring_engine/issues/12","id":384011211,"node_id":"MDU6SXNzdWUzODQwMTEyMTE=","number":12,"title":"Handle 1000 requests/second.","user":{"login":"ss","id":290,"node_id":"MDQ6VXNlcjI5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/290?v=4","gravatar_id":"","url":"https://api.github.com/users/ss","html_url":"https://github.com/ss","followers_url":"https://api.github.com/users/ss/followers","following_url":"https://api.github.com/users/ss/following{/other_user}","gists_url":"https://api.github.com/users/ss/gists{/gist_id}","starred_url":"https://api.github.com/users/ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ss/subscriptions","organizations_url":"https://api.github.com/users/ss/orgs","repos_url":"https://api.github.com/users/ss/repos","events_url":"https://api.github.com/users/ss/events{/privacy}","received_events_url":"https://api.github.com/users/ss/received_events","type":"User","site_admin":false},"labels":[{"id":1103582952,"node_id":"MDU6TGFiZWwxMTAzNTgyOTUy","url":"https://api.github.com/repos/ss/rails_monitoring_engine/labels/High%20Priority","name":"High Priority","color":"f9d0c4","default":false},{"id":1103574601,"node_id":"MDU6TGFiZWwxMTAzNTc0NjAx","url":"https://api.github.com/repos/ss/rails_monitoring_engine/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"ss","id":290,"node_id":"MDQ6VXNlcjI5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/290?v=4","gravatar_id":"","url":"https://api.github.com/users/ss","html_url":"https://github.com/ss","followers_url":"https://api.github.com/users/ss/followers","following_url":"https://api.github.com/users/ss/following{/other_user}","gists_url":"https://api.github.com/users/ss/gists{/gist_id}","starred_url":"https://api.github.com/users/ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ss/subscriptions","organizations_url":"https://api.github.com/users/ss/orgs","repos_url":"https://api.github.com/users/ss/repos","events_url":"https://api.github.com/users/ss/events{/privacy}","received_events_url":"https://api.github.com/users/ss/received_events","type":"User","site_admin":false},"assignees":[{"login":"ss","id":290,"node_id":"MDQ6VXNlcjI5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/290?v=4","gravatar_id":"","url":"https://api.github.com/users/ss","html_url":"https://github.com/ss","followers_url":"https://api.github.com/users/ss/followers","following_url":"https://api.github.com/users/ss/following{/other_user}","gists_url":"https://api.github.com/users/ss/gists{/gist_id}","starred_url":"https://api.github.com/users/ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ss/subscriptions","organizations_url":"https://api.github.com/users/ss/orgs","repos_url":"https://api.github.com/users/ss/repos","events_url":"https://api.github.com/users/ss/events{/privacy}","received_events_url":"https://api.github.com/users/ss/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ss/rails_monitoring_engine/milestones/2","html_url":"https://github.com/ss/rails_monitoring_engine/milestone/2","labels_url":"https://api.github.com/repos/ss/rails_monitoring_engine/milestones/2/labels","id":3767219,"node_id":"MDk6TWlsZXN0b25lMzc2NzIxOQ==","number":2,"title":"Minimum Viable Product","description":"This should contain the initial implementation of major features.\r\n\r\n- Data Collection\r\n- Data Visualization\r\n- Documentation (Readme)","creator":{"login":"ss","id":290,"node_id":"MDQ6VXNlcjI5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/290?v=4","gravatar_id":"","url":"https://api.github.com/users/ss","html_url":"https://github.com/ss","followers_url":"https://api.github.com/users/ss/followers","following_url":"https://api.github.com/users/ss/following{/other_user}","gists_url":"https://api.github.com/users/ss/gists{/gist_id}","starred_url":"https://api.github.com/users/ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ss/subscriptions","organizations_url":"https://api.github.com/users/ss/orgs","repos_url":"https://api.github.com/users/ss/repos","events_url":"https://api.github.com/users/ss/events{/privacy}","received_events_url":"https://api.github.com/users/ss/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2018-10-25T01:50:25Z","updated_at":"2018-11-24T18:30:06Z","due_on":"2018-12-31T08:00:00Z","closed_at":null},"comments":2,"created_at":"2018-11-24T18:30:06Z","updated_at":"2018-11-24T19:53:28Z","closed_at":null,"author_association":"OWNER","body":"## Why?\r\nWe don't want to overload the app or database servers.\r\n\r\n## Details\r\nI'm going to create a rake task to test performance ```rails app:test:performance```\r\nThe task will run apache bench.\r\n\r\n\r\n## Tasks\r\n - [ ] 1) Create app:test:performance rake task\r\n - [ ] 2) *optional:* Allow Requests-per-minute parameter to be passed in\r\n\r\n### Testing\r\nNot Applicable?\r\n\r\n### Documentation\r\n- [ ] Update README.md\r\n- [ ] Update Wiki\r\n"},"comment":{"url":"https://api.github.com/repos/ss/rails_monitoring_engine/issues/comments/441391656","html_url":"https://github.com/ss/rails_monitoring_engine/issues/12#issuecomment-441391656","issue_url":"https://api.github.com/repos/ss/rails_monitoring_engine/issues/12","id":441391656,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTM5MTY1Ng==","user":{"login":"ss","id":290,"node_id":"MDQ6VXNlcjI5MA==","avatar_url":"https://avatars1.githubusercontent.com/u/290?v=4","gravatar_id":"","url":"https://api.github.com/users/ss","html_url":"https://github.com/ss","followers_url":"https://api.github.com/users/ss/followers","following_url":"https://api.github.com/users/ss/following{/other_user}","gists_url":"https://api.github.com/users/ss/gists{/gist_id}","starred_url":"https://api.github.com/users/ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ss/subscriptions","organizations_url":"https://api.github.com/users/ss/orgs","repos_url":"https://api.github.com/users/ss/repos","events_url":"https://api.github.com/users/ss/events{/privacy}","received_events_url":"https://api.github.com/users/ss/received_events","type":"User","site_admin":false},"created_at":"2018-11-24T19:53:28Z","updated_at":"2018-11-24T19:53:28Z","author_association":"OWNER","body":"Engine enable, ```finish!``` was short-circuited.\r\n\r\nTest Results:\r\n```\r\nExecuting: ab -k -n 100 http://localhost:3000/\r\nThis is ApacheBench, Version 2.3 <$Revision: 1430300 $>\r\nCopyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\r\nLicensed to The Apache Software Foundation, http://www.apache.org/\r\n\r\nBenchmarking localhost (be patient).....done\r\n\r\n\r\nServer Software:        WEBrick/1.3.1\r\nServer Hostname:        localhost\r\nServer Port:            3000\r\n\r\nDocument Path:          /\r\nDocument Length:        123063 bytes\r\n\r\nConcurrency Level:      1\r\nTime taken for tests:   1.818 seconds\r\nComplete requests:      100\r\nFailed requests:        0\r\nWrite errors:           0\r\nKeep-Alive requests:    100\r\nTotal transferred:      12371800 bytes\r\nHTML transferred:       12306300 bytes\r\nRequests per second:    55.02 [#/sec] (mean)\r\nTime per request:       18.176 [ms] (mean)\r\nTime per request:       18.176 [ms] (mean, across all concurrent requests)\r\nTransfer rate:          6647.18 [Kbytes/sec] received\r\n\r\nConnection Times (ms)\r\n              min  mean[+/-sd] median   max\r\nConnect:        0    0   0.0      0       0\r\nProcessing:    15   18  20.2     16     217\r\nWaiting:       15   18  20.2     16     217\r\nTotal:         15   18  20.2     16     218\r\n\r\nPercentage of the requests served within a certain time (ms)\r\n  50%     16\r\n  66%     16\r\n  75%     16\r\n  80%     17\r\n  90%     17\r\n  95%     19\r\n  98%     35\r\n  99%    218\r\n 100%    218 (longest request)\r\n```\r\n\r\nSingle request log:\r\n```\r\nStarted GET \"/\" for 127.0.0.1 at 2018-11-24 11:51:49 -0800\r\nProcessing by Rails::WelcomeController#index as */*\r\n  Rendering /home/ss/work/rails_monitoring_engine/vendor/bundle/ruby/2.2.0/gems/railties-5.2.1/lib/rails/templates/rails/welcome/index.html.erb\r\n  Rendered /home/ss/work/rails_monitoring_engine/vendor/bundle/ruby/2.2.0/gems/railties-5.2.1/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)\r\nCompleted 200 OK in 11ms (Views: 6.7ms | ActiveRecord: 0.0ms)\r\n\r\n\r\n127.0.0.1 - - [24/Nov/2018:11:51:49 PST] \"GET / HTTP/1.0\" 200 123063\r\n- -> /\r\n```"}}
{"actor":{"display_login":"ss"}}