{"action":"opened","number":1098,"pull_request":{"url":"https://api.github.com/repos/akkadotnet/akka.net/pulls/1098","id":38580792,"html_url":"https://github.com/akkadotnet/akka.net/pull/1098","diff_url":"https://github.com/akkadotnet/akka.net/pull/1098.diff","patch_url":"https://github.com/akkadotnet/akka.net/pull/1098.patch","issue_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1098","number":1098,"state":"open","locked":false,"title":"Implemented BackoffSupervisor","user":{"login":"Horusiath","id":679705,"avatar_url":"https://avatars.githubusercontent.com/u/679705?v=3","gravatar_id":"","url":"https://api.github.com/users/Horusiath","html_url":"https://github.com/Horusiath","followers_url":"https://api.github.com/users/Horusiath/followers","following_url":"https://api.github.com/users/Horusiath/following{/other_user}","gists_url":"https://api.github.com/users/Horusiath/gists{/gist_id}","starred_url":"https://api.github.com/users/Horusiath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horusiath/subscriptions","organizations_url":"https://api.github.com/users/Horusiath/orgs","repos_url":"https://api.github.com/users/Horusiath/repos","events_url":"https://api.github.com/users/Horusiath/events{/privacy}","received_events_url":"https://api.github.com/users/Horusiath/received_events","type":"User","site_admin":false},"body":"This is implementation of the exponential backoff algorithm for actor supervisors. It's useful in cases, when for example persistent actor fails due to underlying persistence mechanism failures or unavailability. In that case it's quite probable that in this case immediate restart of an actor will fail again. Solution is to apply some delay before restart.\r\n\r\nThis implementation uses exponential back-off i.e. given minimal back-off 3 sec. and maximal back-off 30 sec. the following start attempts will be delayed with 3, 6, 12, 24, 30 seconds. In addition back-off uses random delay multiplier configured by `randomFactor` variable (example 0.2 &rArr; 20%). Reason for that is to avoid hitting the persistence backend by all restarting actors at the same time.","created_at":"2015-06-25T18:56:50Z","updated_at":"2015-06-25T18:56:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/akkadotnet/akka.net/pulls/1098/commits","review_comments_url":"https://api.github.com/repos/akkadotnet/akka.net/pulls/1098/comments","review_comment_url":"https://api.github.com/repos/akkadotnet/akka.net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1098/comments","statuses_url":"https://api.github.com/repos/akkadotnet/akka.net/statuses/485ff06536344cf7e0137fa50c8f5716d0054882","head":{"label":"Horusiath:backoff-supervisor","ref":"backoff-supervisor","sha":"485ff06536344cf7e0137fa50c8f5716d0054882","user":{"login":"Horusiath","id":679705,"avatar_url":"https://avatars.githubusercontent.com/u/679705?v=3","gravatar_id":"","url":"https://api.github.com/users/Horusiath","html_url":"https://github.com/Horusiath","followers_url":"https://api.github.com/users/Horusiath/followers","following_url":"https://api.github.com/users/Horusiath/following{/other_user}","gists_url":"https://api.github.com/users/Horusiath/gists{/gist_id}","starred_url":"https://api.github.com/users/Horusiath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horusiath/subscriptions","organizations_url":"https://api.github.com/users/Horusiath/orgs","repos_url":"https://api.github.com/users/Horusiath/repos","events_url":"https://api.github.com/users/Horusiath/events{/privacy}","received_events_url":"https://api.github.com/users/Horusiath/received_events","type":"User","site_admin":false},"repo":{"id":21521073,"name":"akka.net","full_name":"Horusiath/akka.net","owner":{"login":"Horusiath","id":679705,"avatar_url":"https://avatars.githubusercontent.com/u/679705?v=3","gravatar_id":"","url":"https://api.github.com/users/Horusiath","html_url":"https://github.com/Horusiath","followers_url":"https://api.github.com/users/Horusiath/followers","following_url":"https://api.github.com/users/Horusiath/following{/other_user}","gists_url":"https://api.github.com/users/Horusiath/gists{/gist_id}","starred_url":"https://api.github.com/users/Horusiath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horusiath/subscriptions","organizations_url":"https://api.github.com/users/Horusiath/orgs","repos_url":"https://api.github.com/users/Horusiath/repos","events_url":"https://api.github.com/users/Horusiath/events{/privacy}","received_events_url":"https://api.github.com/users/Horusiath/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Horusiath/akka.net","description":"Port of Akka actors for .NET","fork":true,"url":"https://api.github.com/repos/Horusiath/akka.net","forks_url":"https://api.github.com/repos/Horusiath/akka.net/forks","keys_url":"https://api.github.com/repos/Horusiath/akka.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Horusiath/akka.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Horusiath/akka.net/teams","hooks_url":"https://api.github.com/repos/Horusiath/akka.net/hooks","issue_events_url":"https://api.github.com/repos/Horusiath/akka.net/issues/events{/number}","events_url":"https://api.github.com/repos/Horusiath/akka.net/events","assignees_url":"https://api.github.com/repos/Horusiath/akka.net/assignees{/user}","branches_url":"https://api.github.com/repos/Horusiath/akka.net/branches{/branch}","tags_url":"https://api.github.com/repos/Horusiath/akka.net/tags","blobs_url":"https://api.github.com/repos/Horusiath/akka.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Horusiath/akka.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Horusiath/akka.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/Horusiath/akka.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Horusiath/akka.net/statuses/{sha}","languages_url":"https://api.github.com/repos/Horusiath/akka.net/languages","stargazers_url":"https://api.github.com/repos/Horusiath/akka.net/stargazers","contributors_url":"https://api.github.com/repos/Horusiath/akka.net/contributors","subscribers_url":"https://api.github.com/repos/Horusiath/akka.net/subscribers","subscription_url":"https://api.github.com/repos/Horusiath/akka.net/subscription","commits_url":"https://api.github.com/repos/Horusiath/akka.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/Horusiath/akka.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/Horusiath/akka.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/Horusiath/akka.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/Horusiath/akka.net/contents/{+path}","compare_url":"https://api.github.com/repos/Horusiath/akka.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Horusiath/akka.net/merges","archive_url":"https://api.github.com/repos/Horusiath/akka.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Horusiath/akka.net/downloads","issues_url":"https://api.github.com/repos/Horusiath/akka.net/issues{/number}","pulls_url":"https://api.github.com/repos/Horusiath/akka.net/pulls{/number}","milestones_url":"https://api.github.com/repos/Horusiath/akka.net/milestones{/number}","notifications_url":"https://api.github.com/repos/Horusiath/akka.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Horusiath/akka.net/labels{/name}","releases_url":"https://api.github.com/repos/Horusiath/akka.net/releases{/id}","created_at":"2014-07-05T13:59:08Z","updated_at":"2015-06-06T22:02:30Z","pushed_at":"2015-06-25T18:44:45Z","git_url":"git://github.com/Horusiath/akka.net.git","ssh_url":"git@github.com:Horusiath/akka.net.git","clone_url":"https://github.com/Horusiath/akka.net.git","svn_url":"https://github.com/Horusiath/akka.net","homepage":"","size":44937,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"akkadotnet:dev","ref":"dev","sha":"6042eb2b9a51abd2335934a0cd60827cdeb80731","user":{"login":"akkadotnet","id":7003835,"avatar_url":"https://avatars.githubusercontent.com/u/7003835?v=3","gravatar_id":"","url":"https://api.github.com/users/akkadotnet","html_url":"https://github.com/akkadotnet","followers_url":"https://api.github.com/users/akkadotnet/followers","following_url":"https://api.github.com/users/akkadotnet/following{/other_user}","gists_url":"https://api.github.com/users/akkadotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/akkadotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akkadotnet/subscriptions","organizations_url":"https://api.github.com/users/akkadotnet/orgs","repos_url":"https://api.github.com/users/akkadotnet/repos","events_url":"https://api.github.com/users/akkadotnet/events{/privacy}","received_events_url":"https://api.github.com/users/akkadotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":15509440,"name":"akka.net","full_name":"akkadotnet/akka.net","owner":{"login":"akkadotnet","id":7003835,"avatar_url":"https://avatars.githubusercontent.com/u/7003835?v=3","gravatar_id":"","url":"https://api.github.com/users/akkadotnet","html_url":"https://github.com/akkadotnet","followers_url":"https://api.github.com/users/akkadotnet/followers","following_url":"https://api.github.com/users/akkadotnet/following{/other_user}","gists_url":"https://api.github.com/users/akkadotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/akkadotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akkadotnet/subscriptions","organizations_url":"https://api.github.com/users/akkadotnet/orgs","repos_url":"https://api.github.com/users/akkadotnet/repos","events_url":"https://api.github.com/users/akkadotnet/events{/privacy}","received_events_url":"https://api.github.com/users/akkadotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akkadotnet/akka.net","description":"Port of Akka actors for .NET","fork":false,"url":"https://api.github.com/repos/akkadotnet/akka.net","forks_url":"https://api.github.com/repos/akkadotnet/akka.net/forks","keys_url":"https://api.github.com/repos/akkadotnet/akka.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akkadotnet/akka.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akkadotnet/akka.net/teams","hooks_url":"https://api.github.com/repos/akkadotnet/akka.net/hooks","issue_events_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/events{/number}","events_url":"https://api.github.com/repos/akkadotnet/akka.net/events","assignees_url":"https://api.github.com/repos/akkadotnet/akka.net/assignees{/user}","branches_url":"https://api.github.com/repos/akkadotnet/akka.net/branches{/branch}","tags_url":"https://api.github.com/repos/akkadotnet/akka.net/tags","blobs_url":"https://api.github.com/repos/akkadotnet/akka.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akkadotnet/akka.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akkadotnet/akka.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/akkadotnet/akka.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akkadotnet/akka.net/statuses/{sha}","languages_url":"https://api.github.com/repos/akkadotnet/akka.net/languages","stargazers_url":"https://api.github.com/repos/akkadotnet/akka.net/stargazers","contributors_url":"https://api.github.com/repos/akkadotnet/akka.net/contributors","subscribers_url":"https://api.github.com/repos/akkadotnet/akka.net/subscribers","subscription_url":"https://api.github.com/repos/akkadotnet/akka.net/subscription","commits_url":"https://api.github.com/repos/akkadotnet/akka.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/akkadotnet/akka.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/akkadotnet/akka.net/contents/{+path}","compare_url":"https://api.github.com/repos/akkadotnet/akka.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akkadotnet/akka.net/merges","archive_url":"https://api.github.com/repos/akkadotnet/akka.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akkadotnet/akka.net/downloads","issues_url":"https://api.github.com/repos/akkadotnet/akka.net/issues{/number}","pulls_url":"https://api.github.com/repos/akkadotnet/akka.net/pulls{/number}","milestones_url":"https://api.github.com/repos/akkadotnet/akka.net/milestones{/number}","notifications_url":"https://api.github.com/repos/akkadotnet/akka.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akkadotnet/akka.net/labels{/name}","releases_url":"https://api.github.com/repos/akkadotnet/akka.net/releases{/id}","created_at":"2013-12-29T14:17:38Z","updated_at":"2015-06-24T15:06:39Z","pushed_at":"2015-06-25T10:34:54Z","git_url":"git://github.com/akkadotnet/akka.net.git","ssh_url":"git@github.com:akkadotnet/akka.net.git","clone_url":"https://github.com/akkadotnet/akka.net.git","svn_url":"https://github.com/akkadotnet/akka.net","homepage":"http://getakka.net","size":58068,"stargazers_count":931,"watchers_count":931,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":211,"mirror_url":null,"open_issues_count":77,"forks":211,"open_issues":77,"watchers":931,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/akkadotnet/akka.net/pulls/1098"},"html":{"href":"https://github.com/akkadotnet/akka.net/pull/1098"},"issue":{"href":"https://api.github.com/repos/akkadotnet/akka.net/issues/1098"},"comments":{"href":"https://api.github.com/repos/akkadotnet/akka.net/issues/1098/comments"},"review_comments":{"href":"https://api.github.com/repos/akkadotnet/akka.net/pulls/1098/comments"},"review_comment":{"href":"https://api.github.com/repos/akkadotnet/akka.net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akkadotnet/akka.net/pulls/1098/commits"},"statuses":{"href":"https://api.github.com/repos/akkadotnet/akka.net/statuses/485ff06536344cf7e0137fa50c8f5716d0054882"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":188,"deletions":0,"changed_files":4}}