{"action":"created","issue":{"url":"https://api.github.com/repos/SGrondin/bottleneck/issues/86","repository_url":"https://api.github.com/repos/SGrondin/bottleneck","labels_url":"https://api.github.com/repos/SGrondin/bottleneck/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/SGrondin/bottleneck/issues/86/comments","events_url":"https://api.github.com/repos/SGrondin/bottleneck/issues/86/events","html_url":"https://github.com/SGrondin/bottleneck/issues/86","id":360006761,"node_id":"MDU6SXNzdWUzNjAwMDY3NjE=","number":86,"title":"Feature Request: allow multiple groups to share Redis connections","user":{"login":"colinskow","id":5303269,"node_id":"MDQ6VXNlcjUzMDMyNjk=","avatar_url":"https://avatars0.githubusercontent.com/u/5303269?v=4","gravatar_id":"","url":"https://api.github.com/users/colinskow","html_url":"https://github.com/colinskow","followers_url":"https://api.github.com/users/colinskow/followers","following_url":"https://api.github.com/users/colinskow/following{/other_user}","gists_url":"https://api.github.com/users/colinskow/gists{/gist_id}","starred_url":"https://api.github.com/users/colinskow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinskow/subscriptions","organizations_url":"https://api.github.com/users/colinskow/orgs","repos_url":"https://api.github.com/users/colinskow/repos","events_url":"https://api.github.com/users/colinskow/events{/privacy}","received_events_url":"https://api.github.com/users/colinskow/received_events","type":"User","site_admin":false},"labels":[{"id":864508324,"node_id":"MDU6TGFiZWw4NjQ1MDgzMjQ=","url":"https://api.github.com/repos/SGrondin/bottleneck/labels/feature-request","name":"feature-request","color":"006b75","default":false},{"id":305467739,"node_id":"MDU6TGFiZWwzMDU0Njc3Mzk=","url":"https://api.github.com/repos/SGrondin/bottleneck/labels/in%20progress","name":"in progress","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-09-13T18:11:09Z","updated_at":"2018-09-27T16:41:55Z","closed_at":"2018-09-21T00:21:45Z","author_association":"NONE","body":"Redis hosting plans which allow large numbers of connections tend to be quite expensive. My app is hitting dozens of API endpoints each with their own throttling scheme.\r\n\r\nIs it technically feasible to allow groups with different `minTime` or `maxConcurrent` to share the same connections? This would save money on resources.\r\n\r\nBeeQueue allows each group to share the same primary connection, and creates additional connections on-demand only when needed...\r\n\r\n> `Note that this [Redis config] can also be a node_redis RedisClient instance, in which case Bee-Queue will issue normal commands over it. It will duplicate() the client for blocking commands and PubSub subscriptions, if enabled.\r\n\r\nRelated: #84"},"comment":{"url":"https://api.github.com/repos/SGrondin/bottleneck/issues/comments/425161730","html_url":"https://github.com/SGrondin/bottleneck/issues/86#issuecomment-425161730","issue_url":"https://api.github.com/repos/SGrondin/bottleneck/issues/86","id":425161730,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTE2MTczMA==","user":{"login":"SGrondin","id":2441123,"node_id":"MDQ6VXNlcjI0NDExMjM=","avatar_url":"https://avatars1.githubusercontent.com/u/2441123?v=4","gravatar_id":"","url":"https://api.github.com/users/SGrondin","html_url":"https://github.com/SGrondin","followers_url":"https://api.github.com/users/SGrondin/followers","following_url":"https://api.github.com/users/SGrondin/following{/other_user}","gists_url":"https://api.github.com/users/SGrondin/gists{/gist_id}","starred_url":"https://api.github.com/users/SGrondin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SGrondin/subscriptions","organizations_url":"https://api.github.com/users/SGrondin/orgs","repos_url":"https://api.github.com/users/SGrondin/repos","events_url":"https://api.github.com/users/SGrondin/events{/privacy}","received_events_url":"https://api.github.com/users/SGrondin/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T16:41:55Z","updated_at":"2018-09-27T16:41:55Z","author_association":"OWNER","body":"Thanks for the feedback.\r\n\r\n> But the queue and limiter do serve distinctly different roles, so I'm trying to wrap my head around how they would work together.\r\n\r\nThe more I think about it, the more I think this is exactly right. Limiters do have a queue of their own, but trying to build a proper queue out of a limiter seems like the wrong way around.\r\n\r\nI'll keep thinking about this and I might reach out to the BeeQueue maintainers to suggest integrating Bottleneck into BeeQueue as an optional setting."}}
{"actor":{"display_login":"SGrondin"}}