{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls/8","id":36607211,"html_url":"https://github.com/alexxiyang/shiro-redis/pull/8","diff_url":"https://github.com/alexxiyang/shiro-redis/pull/8.diff","patch_url":"https://github.com/alexxiyang/shiro-redis/pull/8.patch","issue_url":"https://api.github.com/repos/alexxiyang/shiro-redis/issues/8","number":8,"state":"closed","locked":false,"title":"Add Redis sibling hosts session data replication","user":{"login":"dguerri","id":509264,"avatar_url":"https://avatars.githubusercontent.com/u/509264?v=3","gravatar_id":"","url":"https://api.github.com/users/dguerri","html_url":"https://github.com/dguerri","followers_url":"https://api.github.com/users/dguerri/followers","following_url":"https://api.github.com/users/dguerri/following{/other_user}","gists_url":"https://api.github.com/users/dguerri/gists{/gist_id}","starred_url":"https://api.github.com/users/dguerri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dguerri/subscriptions","organizations_url":"https://api.github.com/users/dguerri/orgs","repos_url":"https://api.github.com/users/dguerri/repos","events_url":"https://api.github.com/users/dguerri/events{/privacy}","received_events_url":"https://api.github.com/users/dguerri/received_events","type":"User","site_admin":false},"body":"This patch allows configuring multiple Redis servers for write/delete\r\noperation.\r\nThis is useful in HA/LB web server clusters to replicate session data\r\nto multiple Redis servers allowing local reading.\r\nThis is useful in those configuration in which it is not possible to enable Redis clustering and we want a \"multi-master\" setup.\r\n\r\n                                  │                          \r\n              ┌───────────┐       │        ┌───────────┐     \r\n              │    LB     │       │        │    LB     │     \r\n              └───────────┘       │        └───────────┘     \r\n                    │             │              │           \r\n             ┌──────┘             │              └─────┐     \r\n             ▼                    │                    ▼     \r\n        ┌ ─ ─ ─ ─ ┐  ┌ ─ ─ ─ ─ ┐  L  ┌ ─ ─ ─ ─ ┐  ┌ ─ ─ ─ ─ ┐\r\n           Host1        Host2     a     Host1        Host2   \r\n        │┌───────┐│  │┌───────┐│  t  │┌───────┐│  │┌───────┐│\r\n         │Client1│    │Client2│   e   │offline│    │Client2│ \r\n        │└───────┘│  │└───────┘│  r  │└───────┘│  │└───────┘│\r\n             D                    │                    ▲     \r\n        │    ├────┼──┼────┐    │  │  │         │  │    │    │\r\n             ▼            ▼       │                    D     \r\n        │┌───────┐│  │┌───────┐│  │  │┌───────┐│  │┌───────┐│\r\n         │Server1│    │Server2│   │   │Server1│    │Server2│ \r\n        │└───────┘│  │└───────┘│  │  │└───────┘│  │└───────┘│\r\n         ─ ─ ─ ─ ─    ─ ─ ─ ─ ─   │   ─ ─ ─ ─ ─    ─ ─ ─ ─ ─ \r\n                                  │                          ","created_at":"2015-06-01T08:19:07Z","updated_at":"2015-06-01T08:24:04Z","closed_at":"2015-06-01T08:24:04Z","merged_at":null,"merge_commit_sha":"e6e16b9571f6c364f6eb0e1e333d35c3c6dbf2f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls/8/commits","review_comments_url":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls/8/comments","review_comment_url":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alexxiyang/shiro-redis/issues/8/comments","statuses_url":"https://api.github.com/repos/alexxiyang/shiro-redis/statuses/be8e64b8d96ea6086a367da5d512f0bc86a97c34","head":{"label":"dguerri:master","ref":"master","sha":"be8e64b8d96ea6086a367da5d512f0bc86a97c34","user":{"login":"dguerri","id":509264,"avatar_url":"https://avatars.githubusercontent.com/u/509264?v=3","gravatar_id":"","url":"https://api.github.com/users/dguerri","html_url":"https://github.com/dguerri","followers_url":"https://api.github.com/users/dguerri/followers","following_url":"https://api.github.com/users/dguerri/following{/other_user}","gists_url":"https://api.github.com/users/dguerri/gists{/gist_id}","starred_url":"https://api.github.com/users/dguerri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dguerri/subscriptions","organizations_url":"https://api.github.com/users/dguerri/orgs","repos_url":"https://api.github.com/users/dguerri/repos","events_url":"https://api.github.com/users/dguerri/events{/privacy}","received_events_url":"https://api.github.com/users/dguerri/received_events","type":"User","site_admin":false},"repo":{"id":36555810,"name":"shiro-redis","full_name":"dguerri/shiro-redis","owner":{"login":"dguerri","id":509264,"avatar_url":"https://avatars.githubusercontent.com/u/509264?v=3","gravatar_id":"","url":"https://api.github.com/users/dguerri","html_url":"https://github.com/dguerri","followers_url":"https://api.github.com/users/dguerri/followers","following_url":"https://api.github.com/users/dguerri/following{/other_user}","gists_url":"https://api.github.com/users/dguerri/gists{/gist_id}","starred_url":"https://api.github.com/users/dguerri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dguerri/subscriptions","organizations_url":"https://api.github.com/users/dguerri/orgs","repos_url":"https://api.github.com/users/dguerri/repos","events_url":"https://api.github.com/users/dguerri/events{/privacy}","received_events_url":"https://api.github.com/users/dguerri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dguerri/shiro-redis","description":"shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!","fork":true,"url":"https://api.github.com/repos/dguerri/shiro-redis","forks_url":"https://api.github.com/repos/dguerri/shiro-redis/forks","keys_url":"https://api.github.com/repos/dguerri/shiro-redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dguerri/shiro-redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dguerri/shiro-redis/teams","hooks_url":"https://api.github.com/repos/dguerri/shiro-redis/hooks","issue_events_url":"https://api.github.com/repos/dguerri/shiro-redis/issues/events{/number}","events_url":"https://api.github.com/repos/dguerri/shiro-redis/events","assignees_url":"https://api.github.com/repos/dguerri/shiro-redis/assignees{/user}","branches_url":"https://api.github.com/repos/dguerri/shiro-redis/branches{/branch}","tags_url":"https://api.github.com/repos/dguerri/shiro-redis/tags","blobs_url":"https://api.github.com/repos/dguerri/shiro-redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dguerri/shiro-redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dguerri/shiro-redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/dguerri/shiro-redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dguerri/shiro-redis/statuses/{sha}","languages_url":"https://api.github.com/repos/dguerri/shiro-redis/languages","stargazers_url":"https://api.github.com/repos/dguerri/shiro-redis/stargazers","contributors_url":"https://api.github.com/repos/dguerri/shiro-redis/contributors","subscribers_url":"https://api.github.com/repos/dguerri/shiro-redis/subscribers","subscription_url":"https://api.github.com/repos/dguerri/shiro-redis/subscription","commits_url":"https://api.github.com/repos/dguerri/shiro-redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/dguerri/shiro-redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/dguerri/shiro-redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/dguerri/shiro-redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/dguerri/shiro-redis/contents/{+path}","compare_url":"https://api.github.com/repos/dguerri/shiro-redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dguerri/shiro-redis/merges","archive_url":"https://api.github.com/repos/dguerri/shiro-redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dguerri/shiro-redis/downloads","issues_url":"https://api.github.com/repos/dguerri/shiro-redis/issues{/number}","pulls_url":"https://api.github.com/repos/dguerri/shiro-redis/pulls{/number}","milestones_url":"https://api.github.com/repos/dguerri/shiro-redis/milestones{/number}","notifications_url":"https://api.github.com/repos/dguerri/shiro-redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dguerri/shiro-redis/labels{/name}","releases_url":"https://api.github.com/repos/dguerri/shiro-redis/releases{/id}","created_at":"2015-05-30T11:42:57Z","updated_at":"2015-05-30T11:42:57Z","pushed_at":"2015-06-01T08:24:04Z","git_url":"git://github.com/dguerri/shiro-redis.git","ssh_url":"git@github.com:dguerri/shiro-redis.git","clone_url":"https://github.com/dguerri/shiro-redis.git","svn_url":"https://github.com/dguerri/shiro-redis","homepage":null,"size":687,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alexxiyang:master","ref":"master","sha":"be8e64b8d96ea6086a367da5d512f0bc86a97c34","user":{"login":"alexxiyang","id":2314106,"avatar_url":"https://avatars.githubusercontent.com/u/2314106?v=3","gravatar_id":"","url":"https://api.github.com/users/alexxiyang","html_url":"https://github.com/alexxiyang","followers_url":"https://api.github.com/users/alexxiyang/followers","following_url":"https://api.github.com/users/alexxiyang/following{/other_user}","gists_url":"https://api.github.com/users/alexxiyang/gists{/gist_id}","starred_url":"https://api.github.com/users/alexxiyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexxiyang/subscriptions","organizations_url":"https://api.github.com/users/alexxiyang/orgs","repos_url":"https://api.github.com/users/alexxiyang/repos","events_url":"https://api.github.com/users/alexxiyang/events{/privacy}","received_events_url":"https://api.github.com/users/alexxiyang/received_events","type":"User","site_admin":false},"repo":{"id":10599140,"name":"shiro-redis","full_name":"alexxiyang/shiro-redis","owner":{"login":"alexxiyang","id":2314106,"avatar_url":"https://avatars.githubusercontent.com/u/2314106?v=3","gravatar_id":"","url":"https://api.github.com/users/alexxiyang","html_url":"https://github.com/alexxiyang","followers_url":"https://api.github.com/users/alexxiyang/followers","following_url":"https://api.github.com/users/alexxiyang/following{/other_user}","gists_url":"https://api.github.com/users/alexxiyang/gists{/gist_id}","starred_url":"https://api.github.com/users/alexxiyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexxiyang/subscriptions","organizations_url":"https://api.github.com/users/alexxiyang/orgs","repos_url":"https://api.github.com/users/alexxiyang/repos","events_url":"https://api.github.com/users/alexxiyang/events{/privacy}","received_events_url":"https://api.github.com/users/alexxiyang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexxiyang/shiro-redis","description":"shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!","fork":false,"url":"https://api.github.com/repos/alexxiyang/shiro-redis","forks_url":"https://api.github.com/repos/alexxiyang/shiro-redis/forks","keys_url":"https://api.github.com/repos/alexxiyang/shiro-redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexxiyang/shiro-redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexxiyang/shiro-redis/teams","hooks_url":"https://api.github.com/repos/alexxiyang/shiro-redis/hooks","issue_events_url":"https://api.github.com/repos/alexxiyang/shiro-redis/issues/events{/number}","events_url":"https://api.github.com/repos/alexxiyang/shiro-redis/events","assignees_url":"https://api.github.com/repos/alexxiyang/shiro-redis/assignees{/user}","branches_url":"https://api.github.com/repos/alexxiyang/shiro-redis/branches{/branch}","tags_url":"https://api.github.com/repos/alexxiyang/shiro-redis/tags","blobs_url":"https://api.github.com/repos/alexxiyang/shiro-redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexxiyang/shiro-redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexxiyang/shiro-redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexxiyang/shiro-redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexxiyang/shiro-redis/statuses/{sha}","languages_url":"https://api.github.com/repos/alexxiyang/shiro-redis/languages","stargazers_url":"https://api.github.com/repos/alexxiyang/shiro-redis/stargazers","contributors_url":"https://api.github.com/repos/alexxiyang/shiro-redis/contributors","subscribers_url":"https://api.github.com/repos/alexxiyang/shiro-redis/subscribers","subscription_url":"https://api.github.com/repos/alexxiyang/shiro-redis/subscription","commits_url":"https://api.github.com/repos/alexxiyang/shiro-redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexxiyang/shiro-redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexxiyang/shiro-redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexxiyang/shiro-redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexxiyang/shiro-redis/contents/{+path}","compare_url":"https://api.github.com/repos/alexxiyang/shiro-redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexxiyang/shiro-redis/merges","archive_url":"https://api.github.com/repos/alexxiyang/shiro-redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexxiyang/shiro-redis/downloads","issues_url":"https://api.github.com/repos/alexxiyang/shiro-redis/issues{/number}","pulls_url":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls{/number}","milestones_url":"https://api.github.com/repos/alexxiyang/shiro-redis/milestones{/number}","notifications_url":"https://api.github.com/repos/alexxiyang/shiro-redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexxiyang/shiro-redis/labels{/name}","releases_url":"https://api.github.com/repos/alexxiyang/shiro-redis/releases{/id}","created_at":"2013-06-10T11:51:25Z","updated_at":"2015-06-01T06:54:35Z","pushed_at":"2015-06-01T08:19:07Z","git_url":"git://github.com/alexxiyang/shiro-redis.git","ssh_url":"git@github.com:alexxiyang/shiro-redis.git","clone_url":"https://github.com/alexxiyang/shiro-redis.git","svn_url":"https://github.com/alexxiyang/shiro-redis","homepage":null,"size":1114,"stargazers_count":55,"watchers_count":55,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":5,"forks":45,"open_issues":5,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls/8"},"html":{"href":"https://github.com/alexxiyang/shiro-redis/pull/8"},"issue":{"href":"https://api.github.com/repos/alexxiyang/shiro-redis/issues/8"},"comments":{"href":"https://api.github.com/repos/alexxiyang/shiro-redis/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alexxiyang/shiro-redis/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/alexxiyang/shiro-redis/statuses/be8e64b8d96ea6086a367da5d512f0bc86a97c34"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":0,"additions":0,"deletions":0,"changed_files":0}}