{"action":"opened","issue":{"url":"https://api.github.com/repos/jrallison/go-workers/issues/71","repository_url":"https://api.github.com/repos/jrallison/go-workers","labels_url":"https://api.github.com/repos/jrallison/go-workers/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/jrallison/go-workers/issues/71/comments","events_url":"https://api.github.com/repos/jrallison/go-workers/issues/71/events","html_url":"https://github.com/jrallison/go-workers/issues/71","id":192169315,"number":71,"title":"Application server concurrency","user":{"login":"harlow","id":739782,"avatar_url":"https://avatars.githubusercontent.com/u/739782?v=3","gravatar_id":"","url":"https://api.github.com/users/harlow","html_url":"https://github.com/harlow","followers_url":"https://api.github.com/users/harlow/followers","following_url":"https://api.github.com/users/harlow/following{/other_user}","gists_url":"https://api.github.com/users/harlow/gists{/gist_id}","starred_url":"https://api.github.com/users/harlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harlow/subscriptions","organizations_url":"https://api.github.com/users/harlow/orgs","repos_url":"https://api.github.com/users/harlow/repos","events_url":"https://api.github.com/users/harlow/events{/privacy}","received_events_url":"https://api.github.com/users/harlow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-29T02:08:56Z","updated_at":"2016-11-29T02:08:56Z","closed_at":null,"body":"Hello, I've run into a bit of an issue when running several worker applications.\r\n\r\nwe use the worker concurrency (`workers.Process(\"myqueue2\", myJob, 20)`), but then launch several instances of the worker application to distribute the load across several machines.\r\n\r\nI'm seeing an issue where the separate worker applications are pulling down duplicate jobs. Do we need to add a lock when pulling job from queue so there isn't a race condition with other applications reading from same queue?\r\n"}}
{"actor":{"display_login":"harlow"}}