{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/139","repository_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues","labels_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/139/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/139/events","html_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues/issues/139","id":169928664,"number":139,"title":"High storage costs in default mode","user":{"login":"andreasohlund","id":125028,"avatar_url":"https://avatars.githubusercontent.com/u/125028?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasohlund","html_url":"https://github.com/andreasohlund","followers_url":"https://api.github.com/users/andreasohlund/followers","following_url":"https://api.github.com/users/andreasohlund/following{/other_user}","gists_url":"https://api.github.com/users/andreasohlund/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasohlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasohlund/subscriptions","organizations_url":"https://api.github.com/users/andreasohlund/orgs","repos_url":"https://api.github.com/users/andreasohlund/repos","events_url":"https://api.github.com/users/andreasohlund/events{/privacy}","received_events_url":"https://api.github.com/users/andreasohlund/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/labels/Type:%20Discussion","name":"Type: Discussion","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"Scooletz","id":519707,"avatar_url":"https://avatars.githubusercontent.com/u/519707?v=3","gravatar_id":"","url":"https://api.github.com/users/Scooletz","html_url":"https://github.com/Scooletz","followers_url":"https://api.github.com/users/Scooletz/followers","following_url":"https://api.github.com/users/Scooletz/following{/other_user}","gists_url":"https://api.github.com/users/Scooletz/gists{/gist_id}","starred_url":"https://api.github.com/users/Scooletz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scooletz/subscriptions","organizations_url":"https://api.github.com/users/Scooletz/orgs","repos_url":"https://api.github.com/users/Scooletz/repos","events_url":"https://api.github.com/users/Scooletz/events{/privacy}","received_events_url":"https://api.github.com/users/Scooletz/received_events","type":"User","site_admin":false},"assignees":[{"login":"Scooletz","id":519707,"avatar_url":"https://avatars.githubusercontent.com/u/519707?v=3","gravatar_id":"","url":"https://api.github.com/users/Scooletz","html_url":"https://github.com/Scooletz","followers_url":"https://api.github.com/users/Scooletz/followers","following_url":"https://api.github.com/users/Scooletz/following{/other_user}","gists_url":"https://api.github.com/users/Scooletz/gists{/gist_id}","starred_url":"https://api.github.com/users/Scooletz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scooletz/subscriptions","organizations_url":"https://api.github.com/users/Scooletz/orgs","repos_url":"https://api.github.com/users/Scooletz/repos","events_url":"https://api.github.com/users/Scooletz/events{/privacy}","received_events_url":"https://api.github.com/users/Scooletz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2016-08-08T13:52:27Z","updated_at":"2016-08-09T08:02:04Z","closed_at":null,"body":"When running 2 endpoints in idle mode (no messages processed), we get around 50 million storage requests per day per endpoint\r\n\r\n![asq-cost](https://cloud.githubusercontent.com/assets/125028/17481939/be3a8af8-5d7f-11e6-85a0-19e133865c1c.PNG)\r\n\r\nAfter changing  the settings to:\r\n\r\n```\r\n\r\n           configuration.UseTransport<AzureStorageQueueTransport>()\r\n                .DegreeOfReceiveParallelism(1)\r\n                .MaximumWaitTimeWhenIdle(TimeSpan.FromSeconds(1))\r\n                .PeekInterval(TimeSpan.FromSeconds(1))\r\n```\r\n\r\nThe number of calls go down as you see in the graph.\r\n\r\nThis seems like to much cost for 2 idle endpoints?\r\n\r\nShouldn't the transport dial back on the polling automatically if there is no messages coming in?"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/comments/238481912","html_url":"https://github.com/Particular/NServiceBus.AzureStorageQueues/issues/139#issuecomment-238481912","issue_url":"https://api.github.com/repos/Particular/NServiceBus.AzureStorageQueues/issues/139","id":238481912,"user":{"login":"yvesgoeleven","id":471354,"avatar_url":"https://avatars.githubusercontent.com/u/471354?v=3","gravatar_id":"","url":"https://api.github.com/users/yvesgoeleven","html_url":"https://github.com/yvesgoeleven","followers_url":"https://api.github.com/users/yvesgoeleven/followers","following_url":"https://api.github.com/users/yvesgoeleven/following{/other_user}","gists_url":"https://api.github.com/users/yvesgoeleven/gists{/gist_id}","starred_url":"https://api.github.com/users/yvesgoeleven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvesgoeleven/subscriptions","organizations_url":"https://api.github.com/users/yvesgoeleven/orgs","repos_url":"https://api.github.com/users/yvesgoeleven/repos","events_url":"https://api.github.com/users/yvesgoeleven/events{/privacy}","received_events_url":"https://api.github.com/users/yvesgoeleven/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T08:02:04Z","updated_at":"2016-08-09T08:02:04Z","body":"latency on first message in an empty queue really isn't that important, as long as it speeds up when more messages come in"}}
{"actor":{"display_login":"yvesgoeleven"}}