{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/66","labels_url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/66/comments","events_url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/66/events","html_url":"https://github.com/cloudfoundry/loggregator/issues/66","id":96257268,"number":66,"title":"Syslog Sink throttled to 1 message per millisecond","user":{"login":"EngineerBetter","id":11817552,"avatar_url":"https://avatars.githubusercontent.com/u/11817552?v=3","gravatar_id":"","url":"https://api.github.com/users/EngineerBetter","html_url":"https://github.com/EngineerBetter","followers_url":"https://api.github.com/users/EngineerBetter/followers","following_url":"https://api.github.com/users/EngineerBetter/following{/other_user}","gists_url":"https://api.github.com/users/EngineerBetter/gists{/gist_id}","starred_url":"https://api.github.com/users/EngineerBetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EngineerBetter/subscriptions","organizations_url":"https://api.github.com/users/EngineerBetter/orgs","repos_url":"https://api.github.com/users/EngineerBetter/repos","events_url":"https://api.github.com/users/EngineerBetter/events{/privacy}","received_events_url":"https://api.github.com/users/EngineerBetter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-21T08:20:29Z","updated_at":"2015-09-22T03:05:54Z","closed_at":"2015-09-22T03:05:54Z","body":"The `ExponentialRetryStrategy` is [defaulting to a delay of 1ms](https://github.com/cloudfoundry/loggregator/blob/d648809112be62df9663ac82a7bd39babc47fa28/src/doppler/sinks/retrystrategy/retry_strategy.go#L14). \r\n\r\nIf I'm reading the code correctly, the [use of this strategy in `SyslogSink`](https://github.com/cloudfoundry/loggregator/blob/d648809112be62df9663ac82a7bd39babc47fa28/src/doppler/sinks/syslog/syslog_sink.go#L94) means that each iteration of the loop starts with a 1ms delay. If this is the case, then surely the loop should be timed that it only delays if a connection has failed, instead of delaying up-front?\r\n\r\nI haven't been able to find the code that deals with incoming messages, but if it is not also throttled in the same manner then this would explain why the `TruncatingBuffer` is filling so easily."},"comment":{"url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/comments/142167665","html_url":"https://github.com/cloudfoundry/loggregator/issues/66#issuecomment-142167665","issue_url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/66","id":142167665,"user":{"login":"roxtar","id":128514,"avatar_url":"https://avatars.githubusercontent.com/u/128514?v=3","gravatar_id":"","url":"https://api.github.com/users/roxtar","html_url":"https://github.com/roxtar","followers_url":"https://api.github.com/users/roxtar/followers","following_url":"https://api.github.com/users/roxtar/following{/other_user}","gists_url":"https://api.github.com/users/roxtar/gists{/gist_id}","starred_url":"https://api.github.com/users/roxtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roxtar/subscriptions","organizations_url":"https://api.github.com/users/roxtar/orgs","repos_url":"https://api.github.com/users/roxtar/repos","events_url":"https://api.github.com/users/roxtar/events{/privacy}","received_events_url":"https://api.github.com/users/roxtar/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T03:05:54Z","updated_at":"2015-09-22T03:05:54Z","body":"We have addressed this issue. See discussion in #71 "}}