{"action":"created","issue":{"url":"https://api.github.com/repos/jubatus/jubatus_core/issues/184","labels_url":"https://api.github.com/repos/jubatus/jubatus_core/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/jubatus/jubatus_core/issues/184/comments","events_url":"https://api.github.com/repos/jubatus/jubatus_core/issues/184/events","html_url":"https://github.com/jubatus/jubatus_core/issues/184","id":106908217,"number":184,"title":"Use read/write lock in local_storage","user":{"login":"rimms","id":2141477,"avatar_url":"https://avatars.githubusercontent.com/u/2141477?v=3","gravatar_id":"","url":"https://api.github.com/users/rimms","html_url":"https://github.com/rimms","followers_url":"https://api.github.com/users/rimms/followers","following_url":"https://api.github.com/users/rimms/following{/other_user}","gists_url":"https://api.github.com/users/rimms/gists{/gist_id}","starred_url":"https://api.github.com/users/rimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimms/subscriptions","organizations_url":"https://api.github.com/users/rimms/orgs","repos_url":"https://api.github.com/users/rimms/repos","events_url":"https://api.github.com/users/rimms/events{/privacy}","received_events_url":"https://api.github.com/users/rimms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rimms","id":2141477,"avatar_url":"https://avatars.githubusercontent.com/u/2141477?v=3","gravatar_id":"","url":"https://api.github.com/users/rimms","html_url":"https://github.com/rimms","followers_url":"https://api.github.com/users/rimms/followers","following_url":"https://api.github.com/users/rimms/following{/other_user}","gists_url":"https://api.github.com/users/rimms/gists{/gist_id}","starred_url":"https://api.github.com/users/rimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimms/subscriptions","organizations_url":"https://api.github.com/users/rimms/orgs","repos_url":"https://api.github.com/users/rimms/repos","events_url":"https://api.github.com/users/rimms/events{/privacy}","received_events_url":"https://api.github.com/users/rimms/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jubatus/jubatus_core/milestones/19","html_url":"https://github.com/jubatus/jubatus_core/milestones/0.2.4","labels_url":"https://api.github.com/repos/jubatus/jubatus_core/milestones/19/labels","id":1070267,"number":19,"title":"0.2.4","description":"","creator":{"login":"kmaehashi","id":939877,"avatar_url":"https://avatars.githubusercontent.com/u/939877?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaehashi","html_url":"https://github.com/kmaehashi","followers_url":"https://api.github.com/users/kmaehashi/followers","following_url":"https://api.github.com/users/kmaehashi/following{/other_user}","gists_url":"https://api.github.com/users/kmaehashi/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaehashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaehashi/subscriptions","organizations_url":"https://api.github.com/users/kmaehashi/orgs","repos_url":"https://api.github.com/users/kmaehashi/repos","events_url":"https://api.github.com/users/kmaehashi/events{/privacy}","received_events_url":"https://api.github.com/users/kmaehashi/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":7,"state":"open","created_at":"2015-04-16T07:49:31Z","updated_at":"2015-10-23T02:00:44Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-17T03:57:51Z","updated_at":"2015-10-23T07:59:57Z","closed_at":null,"body":"(related #112)\r\n\r\nIn order to improve concurrency, I think we should use read/write lock in ``local_storage``."},"comment":{"url":"https://api.github.com/repos/jubatus/jubatus_core/issues/comments/150501346","html_url":"https://github.com/jubatus/jubatus_core/issues/184#issuecomment-150501346","issue_url":"https://api.github.com/repos/jubatus/jubatus_core/issues/184","id":150501346,"user":{"login":"rimms","id":2141477,"avatar_url":"https://avatars.githubusercontent.com/u/2141477?v=3","gravatar_id":"","url":"https://api.github.com/users/rimms","html_url":"https://github.com/rimms","followers_url":"https://api.github.com/users/rimms/followers","following_url":"https://api.github.com/users/rimms/following{/other_user}","gists_url":"https://api.github.com/users/rimms/gists{/gist_id}","starred_url":"https://api.github.com/users/rimms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimms/subscriptions","organizations_url":"https://api.github.com/users/rimms/orgs","repos_url":"https://api.github.com/users/rimms/repos","events_url":"https://api.github.com/users/rimms/events{/privacy}","received_events_url":"https://api.github.com/users/rimms/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T07:59:57Z","updated_at":"2015-10-23T07:59:57Z","body":"I did a RPC benchmark for 0.8.3 and [develop](https://github.com/jubatus/jubatus_core/tree/92849ca4a2dba26b13e199f29a7b601ff41cfb79) with this patch.\r\n\r\n**QPS** are followings:\r\n\r\n* Standalone Mode\r\n\r\n  | Query Type | 0.8.3 | develop w/ this patch | rate of improvement |\r\n  | :--------- | ----: | --------------------: | ------------------: |\r\n  | ``train`` | 16486.86 | 17252.48 | 104.7 % |\r\n  | ``train`` and ``classify`` (50:50) | 17061.81 | 18234.20 | 106.9 % |\r\n  | ``train`` and ``classify`` (10:90) | 18972.11 | 20168.97 | 106.3 % |\r\n  | ``classify`` | 22216.97 | 22924.62 | 103.2 % |\r\n\r\n* Distributed  Mode (4 JubatusServer on 2 Machine)\r\n\r\n  | Query Type | 0.8.3 | develop w/ this patch | rate of improvement |\r\n  | :--------- | ----: | --------------------: | ------------------: |\r\n  | ``train`` | 24246.84 | 25439.71 | 104.9 % |\r\n  | ``train`` and ``classify`` (50:50) | 23731.40 | 26015.62 | 109.6 % |\r\n  | ``train`` and ``classify`` (10:90) | 27970.42 | 30893.01 | 110.5 % |\r\n  | ``classify`` | 39031.67 | 39579.85 | 101.4% |\r\n\r\nThe conditions are followings:\r\n\r\n* method: perceptron\r\n* dataset: Twitter data (string data)\r\n* fv_converter: 3-gram\r\n"}}