{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/aspnet-redis-providers/issues/33","repository_url":"https://api.github.com/repos/Azure/aspnet-redis-providers","labels_url":"https://api.github.com/repos/Azure/aspnet-redis-providers/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Azure/aspnet-redis-providers/issues/33/comments","events_url":"https://api.github.com/repos/Azure/aspnet-redis-providers/issues/33/events","html_url":"https://github.com/Azure/aspnet-redis-providers/issues/33","id":162672085,"number":33,"title":"This solution is not working for multi server setup in AWS behind Load balancer","user":{"login":"vikashachary","id":4008125,"avatar_url":"https://avatars.githubusercontent.com/u/4008125?v=3","gravatar_id":"","url":"https://api.github.com/users/vikashachary","html_url":"https://github.com/vikashachary","followers_url":"https://api.github.com/users/vikashachary/followers","following_url":"https://api.github.com/users/vikashachary/following{/other_user}","gists_url":"https://api.github.com/users/vikashachary/gists{/gist_id}","starred_url":"https://api.github.com/users/vikashachary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikashachary/subscriptions","organizations_url":"https://api.github.com/users/vikashachary/orgs","repos_url":"https://api.github.com/users/vikashachary/repos","events_url":"https://api.github.com/users/vikashachary/events{/privacy}","received_events_url":"https://api.github.com/users/vikashachary/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-28T12:19:07Z","updated_at":"2016-08-10T15:02:31Z","closed_at":null,"body":"I'm facing problem when I tried to use redis as session session server for the below configuration:\r\n1. Two windows servers hosting same application\r\n2. Elastic load balancer with weighted routing redirects requests to the 2 IIS servers\r\n3. Redis is hosted in AWS elastic-cache and accessible from both servers\r\n4. Redis serves as a session server for 1 server at a time without any issue\r\n\r\nfor each session 3 keys are created\r\n\"{/_kktffpxxxxxxg2xixdnhe}_Write_Lock\"\r\n\"{/_kktffpxxxxxxg2xixdnhe}_Data\"\r\n\"{/_kktffpxxxxxxg2xixdnhe}_Internal\"\r\n\r\nIssue: When 1+ servers try to serve same user, by accessing session from redis at same instance, if 1 server have placed \"_Write_Lock\" then the other server fails to write the data and after that it cleares the key --> result, the user's next request to any server fails to verify his/her session.\r\n\r\nAm i the only one who gets this issue ?? \r\n\r\nNote: With session stickiness enabled in ELB the signout is not intermittent, however that restricts us to take out a server for upgradation without loosing all user sessions for that server."},"comment":{"url":"https://api.github.com/repos/Azure/aspnet-redis-providers/issues/comments/238895329","html_url":"https://github.com/Azure/aspnet-redis-providers/issues/33#issuecomment-238895329","issue_url":"https://api.github.com/repos/Azure/aspnet-redis-providers/issues/33","id":238895329,"user":{"login":"damonzero","id":3934664,"avatar_url":"https://avatars.githubusercontent.com/u/3934664?v=3","gravatar_id":"","url":"https://api.github.com/users/damonzero","html_url":"https://github.com/damonzero","followers_url":"https://api.github.com/users/damonzero/followers","following_url":"https://api.github.com/users/damonzero/following{/other_user}","gists_url":"https://api.github.com/users/damonzero/gists{/gist_id}","starred_url":"https://api.github.com/users/damonzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonzero/subscriptions","organizations_url":"https://api.github.com/users/damonzero/orgs","repos_url":"https://api.github.com/users/damonzero/repos","events_url":"https://api.github.com/users/damonzero/events{/privacy}","received_events_url":"https://api.github.com/users/damonzero/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T15:02:31Z","updated_at":"2016-08-10T15:02:31Z","body":"You are not the only one.  I think your issue is probably related to this one:\r\n[https://github.com/Azure/aspnet-redis-providers/issues/21](url).  \r\n\r\nWe plan to solve this problem by using a different session state provider that does not lock Redis data.   \r\n\r\n"}}
{"actor":{"display_login":"damonzero"}}