{"action":"created","issue":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/2142","labels_url":"https://api.github.com/repos/mperham/sidekiq/issues/2142/labels{/name}","comments_url":"https://api.github.com/repos/mperham/sidekiq/issues/2142/comments","events_url":"https://api.github.com/repos/mperham/sidekiq/issues/2142/events","html_url":"https://github.com/mperham/sidekiq/pull/2142","id":54635075,"number":2142,"title":"Load stats with pipeline","user":{"login":"ismaelga","id":492663,"avatar_url":"https://avatars.githubusercontent.com/u/492663?v=3","gravatar_id":"","url":"https://api.github.com/users/ismaelga","html_url":"https://github.com/ismaelga","followers_url":"https://api.github.com/users/ismaelga/followers","following_url":"https://api.github.com/users/ismaelga/following{/other_user}","gists_url":"https://api.github.com/users/ismaelga/gists{/gist_id}","starred_url":"https://api.github.com/users/ismaelga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismaelga/subscriptions","organizations_url":"https://api.github.com/users/ismaelga/orgs","repos_url":"https://api.github.com/users/ismaelga/repos","events_url":"https://api.github.com/users/ismaelga/events{/privacy}","received_events_url":"https://api.github.com/users/ismaelga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-16T22:52:25Z","updated_at":"2015-01-16T23:37:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mperham/sidekiq/pulls/2142","html_url":"https://github.com/mperham/sidekiq/pull/2142","diff_url":"https://github.com/mperham/sidekiq/pull/2142.diff","patch_url":"https://github.com/mperham/sidekiq/pull/2142.patch"},"body":"My attempt to load the stats in pipeline. This was the simplest way I could think of.\r\n\r\nComment are welcome :smile: "},"comment":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/comments/70340224","html_url":"https://github.com/mperham/sidekiq/pull/2142#issuecomment-70340224","issue_url":"https://api.github.com/repos/mperham/sidekiq/issues/2142","id":70340224,"user":{"login":"jonhyman","id":832655,"avatar_url":"https://avatars.githubusercontent.com/u/832655?v=3","gravatar_id":"","url":"https://api.github.com/users/jonhyman","html_url":"https://github.com/jonhyman","followers_url":"https://api.github.com/users/jonhyman/followers","following_url":"https://api.github.com/users/jonhyman/following{/other_user}","gists_url":"https://api.github.com/users/jonhyman/gists{/gist_id}","starred_url":"https://api.github.com/users/jonhyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonhyman/subscriptions","organizations_url":"https://api.github.com/users/jonhyman/orgs","repos_url":"https://api.github.com/users/jonhyman/repos","events_url":"https://api.github.com/users/jonhyman/events{/privacy}","received_events_url":"https://api.github.com/users/jonhyman/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T23:37:10Z","updated_at":"2015-01-16T23:37:10Z","body":"Fwiw I agree with @mperham here. Optimizing the network roundtrips is much\nmore important, especially for these calls which are really fast on Redis.\n\nSent from my mobile device\nOn Jan 16, 2015 6:30 PM, \"Mike Perham\" <notifications@github.com> wrote:\n\n> I'm not clear what you are trying to optimize with the additional\n> complexity. Are you trying to minimize Redis operations? I'd much rather\n> avoid network round-trips and not make the developer worry about which mode\n> they want to use.\n>\n> --\n> Reply to this email directly or view it on GitHub\n> <https://github.com/mperham/sidekiq/pull/2142#issuecomment-70339686>.\n>"}}