{"action":"created","issue":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/863","labels_url":"https://api.github.com/repos/xetorthio/jedis/issues/863/labels{/name}","comments_url":"https://api.github.com/repos/xetorthio/jedis/issues/863/comments","events_url":"https://api.github.com/repos/xetorthio/jedis/issues/863/events","html_url":"https://github.com/xetorthio/jedis/issues/863","id":54979654,"number":863,"title":"Exception in thread \"Thread-1798\" redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Software caused connection abort: recv failed","user":{"login":"Pratap6","id":10598012,"avatar_url":"https://avatars.githubusercontent.com/u/10598012?v=3","gravatar_id":"","url":"https://api.github.com/users/Pratap6","html_url":"https://github.com/Pratap6","followers_url":"https://api.github.com/users/Pratap6/followers","following_url":"https://api.github.com/users/Pratap6/following{/other_user}","gists_url":"https://api.github.com/users/Pratap6/gists{/gist_id}","starred_url":"https://api.github.com/users/Pratap6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pratap6/subscriptions","organizations_url":"https://api.github.com/users/Pratap6/orgs","repos_url":"https://api.github.com/users/Pratap6/repos","events_url":"https://api.github.com/users/Pratap6/events{/privacy}","received_events_url":"https://api.github.com/users/Pratap6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-01-21T05:34:40Z","updated_at":"2015-02-12T03:23:02Z","closed_at":null,"body":"Iam checking Redis Read and Write with Concurrent Users at A time(Multi-threading).it is working fine upto 380 Users and then it throws above Exception.\r\n\r\nAny help greatly appreciated.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/comments/74011371","html_url":"https://github.com/xetorthio/jedis/issues/863#issuecomment-74011371","issue_url":"https://api.github.com/repos/xetorthio/jedis/issues/863","id":74011371,"user":{"login":"marcosnils","id":1578458,"avatar_url":"https://avatars.githubusercontent.com/u/1578458?v=3","gravatar_id":"","url":"https://api.github.com/users/marcosnils","html_url":"https://github.com/marcosnils","followers_url":"https://api.github.com/users/marcosnils/followers","following_url":"https://api.github.com/users/marcosnils/following{/other_user}","gists_url":"https://api.github.com/users/marcosnils/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosnils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosnils/subscriptions","organizations_url":"https://api.github.com/users/marcosnils/orgs","repos_url":"https://api.github.com/users/marcosnils/repos","events_url":"https://api.github.com/users/marcosnils/events{/privacy}","received_events_url":"https://api.github.com/users/marcosnils/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T03:23:02Z","updated_at":"2015-02-12T03:23:02Z","body":"@Pratap6 and how did you come to the conclusion that the problem was the JVM heap?. Increasing the RAM of the underlying system doesn't modify the JVM heap automatically. Did you manually tune up the Xmx and Xms parameters into your program to increase the amount of users?\r\n\r\nRegarding to optimizations for your current problem (if you only have one redis server) I believe that by using sharding and pipelining you should get the response times and throughput expected. How many keys are you supposed to handle in a worst case scenario?. \r\n\r\nRedis is extremely fast, I've seen it handle up to 30k queries per second through the network for a single thread application.\r\n"}}