{"action":"created","issue":{"url":"https://api.github.com/repos/redisson/redisson/issues/1045","repository_url":"https://api.github.com/repos/redisson/redisson","labels_url":"https://api.github.com/repos/redisson/redisson/issues/1045/labels{/name}","comments_url":"https://api.github.com/repos/redisson/redisson/issues/1045/comments","events_url":"https://api.github.com/repos/redisson/redisson/issues/1045/events","html_url":"https://github.com/redisson/redisson/issues/1045","id":257050979,"number":1045,"title":"30 times slower than jedis","user":{"login":"valodzka","id":9821,"avatar_url":"https://avatars2.githubusercontent.com/u/9821?v=4","gravatar_id":"","url":"https://api.github.com/users/valodzka","html_url":"https://github.com/valodzka","followers_url":"https://api.github.com/users/valodzka/followers","following_url":"https://api.github.com/users/valodzka/following{/other_user}","gists_url":"https://api.github.com/users/valodzka/gists{/gist_id}","starred_url":"https://api.github.com/users/valodzka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valodzka/subscriptions","organizations_url":"https://api.github.com/users/valodzka/orgs","repos_url":"https://api.github.com/users/valodzka/repos","events_url":"https://api.github.com/users/valodzka/events{/privacy}","received_events_url":"https://api.github.com/users/valodzka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-09-12T13:51:59Z","updated_at":"2018-05-22T05:50:27Z","closed_at":"2017-09-13T10:04:46Z","author_association":"NONE","body":"I'm trying to migrate old jedis code to redisson and getting some weird result.\r\n\r\nRoughly same code, jedis: \r\n\r\n    pool = new JedisPool(new JedisPoolConfig(), host, port, 20_000)\r\n\r\nLater in code, from multiple threads:\r\n\r\n    try (Jedis j  = pool.getResource()) {\r\n       v = j.hget(mapName, mapKey);\r\n    }\r\n\r\nRedisson:\r\n\r\n    Config config = new Config()\r\n    config.useSingleServer()\r\n          .setAddress(address)\r\n          .setConnectTimeout(20_000)\r\n          .setTimeout(20_000);\r\n\r\n      RedissonClient c = Redisson.create(config);\r\n\r\nLater in code, from multiple threads: \r\n\r\n      RMap<byte[], byte[]> map = c.getMap(mapName, new ByteArrayCodec())\r\n      v = map.get(mapKey)\r\n    \r\nMeasurements 95% of queries:\r\n\r\n![95%](https://monosnap.com/file/JLVdlZLLJ4nr10uOB0y5IXAjJEsyqg.png)\r\n\r\nAm I doing something wrong with redisson?\r\n"},"comment":{"url":"https://api.github.com/repos/redisson/redisson/issues/comments/390870883","html_url":"https://github.com/redisson/redisson/issues/1045#issuecomment-390870883","issue_url":"https://api.github.com/repos/redisson/redisson/issues/1045","id":390870883,"user":{"login":"dekelbz","id":5824964,"avatar_url":"https://avatars3.githubusercontent.com/u/5824964?v=4","gravatar_id":"","url":"https://api.github.com/users/dekelbz","html_url":"https://github.com/dekelbz","followers_url":"https://api.github.com/users/dekelbz/followers","following_url":"https://api.github.com/users/dekelbz/following{/other_user}","gists_url":"https://api.github.com/users/dekelbz/gists{/gist_id}","starred_url":"https://api.github.com/users/dekelbz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dekelbz/subscriptions","organizations_url":"https://api.github.com/users/dekelbz/orgs","repos_url":"https://api.github.com/users/dekelbz/repos","events_url":"https://api.github.com/users/dekelbz/events{/privacy}","received_events_url":"https://api.github.com/users/dekelbz/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T05:50:27Z","updated_at":"2018-05-22T05:50:27Z","author_association":"NONE","body":"I use RedissonClient. The .get() is what takes very long"}}
{"actor":{"display_login":"dekelbz"}}