Commit Graph

31 Commits

Author SHA1 Message Date
Jonathan Leibiusky
81ec9f8af3 add checks when server closes idle connections 2010-11-30 12:27:22 -03:00
Jonathan Leibiusky
a1815f3881 Now Sharded will handle connections instead of Info, so connection won't be shared between instances of ShardedJedis 2010-11-22 12:49:18 -03:00
Jonathan Leibiusky
ad149e8252 Remove @override to make it java 1.5 compliant 2010-11-22 10:21:56 -03:00
Jonathan Leibiusky
098de44a07 add support for java 1.5 2010-11-21 19:53:43 -03:00
Jonathan Leibiusky
71eb4c5b4a replace custom pool implementation with apache's 2010-11-21 18:16:31 -03:00
Jonathan Leibiusky
e7582644b1 Merge branch 'ApacheCommonsPool' of git://github.com/yaourt/jedis 2010-11-21 17:31:15 -03:00
Jonathan Leibiusky
b013a74c44 Merge branch 'binaryAPI' of git://github.com/yaourt/jedis
Conflicts:
	src/main/java/redis/clients/jedis/Connection.java
	src/main/java/redis/clients/jedis/Jedis.java
	src/main/java/redis/clients/jedis/ShardedJedis.java
2010-11-15 23:55:57 -03:00
Yaourt
6ba7a699a9 Remove unused old pool class. 2010-11-07 22:51:28 +01:00
Yaourt
e2d8148802 Binary key & values seems to be implemented now 2010-11-04 15:59:50 +01:00
Yaourt
85ce39ca3e BinaryClient is born 2010-11-04 12:22:40 +01:00
Yaourt
daec806c5a UTF-8 charset declared in Protocol, added a getBinaryBulkReply() in Connection 2010-11-04 09:31:21 +01:00
Cyril Bonté
3f21dcd0eb Fixed a performance issue with utf8 characters.
When an utf8 char was detected in a string, jedis flushed its output buffer
for each char. Now, the buffer is only flushed when it is really full.
2010-10-09 20:46:50 +02:00
Jonathan Leibiusky
45bb728425 Removed System.out and System.err logging. Using native java logging support 2010-10-01 15:13:53 -03:00
Jonathan Leibiusky
6a1e141064 Added sharding benchmark and removed some imports 2010-09-30 21:04:21 -03:00
Murilo Queiroz
39618506e4 Key tags support made optional.
The regular expression in the key tags code leads to a 20% performance hit,
so it's disabled by default.
2010-09-30 18:14:32 -03:00
Murilo Queiroz
2df3a1b258 Added support for key tags.
See http://code.google.com/p/redis/wiki/FAQ#I'm_using_some_form_of_key_hashing_for_partitioning,_but_wh
2010-09-30 17:17:51 -03:00
Alex Tkachman
53efb8471f simplification of sharding 2010-09-16 15:41:04 +02:00
Jonathan Leibiusky
edcf7412ff Changed MurmurHash algo, to the one developed in http://github.com/tdunning/MAHOUT-228 2010-09-15 15:06:12 -03:00
Jonathan Leibiusky
703244c85e Merge branch 'master' of http://github.com/alextkachman/jedis 2010-09-14 14:11:57 -03:00
Jonathan Leibiusky
8629360954 Added MurmureHash as sharding algo. 2010-09-14 14:08:49 -03:00
Alex Tkachman
032fe7e134 ability to provide logger instead of stdout 2010-09-14 11:50:49 +02:00
Jonathan Leibiusky
baab2225f6 Added sharding using ketama 2010-09-14 01:30:59 -03:00
Alex Tkachman
f9e7887e02 more optimizations on write side 2010-09-12 17:05:58 +02:00
Alex Tkachman
aed824c94c more optimizations on write side 2010-09-12 12:36:16 +02:00
Alex Tkachman
b573526a0d optimized writeInt 2010-09-11 21:48:36 +03:00
Alex Tkachman
a521841ff5 a bit faster implementation of output stream for Redis 2010-09-11 21:15:38 +03:00
Alex Tkachman
d4d133291e isUse must be final otherwise synchronized has no useful semantic 2010-09-11 09:54:06 +03:00
Jonathan Leibiusky
e6105efd69 Removed not useful information from the pool 2010-09-07 16:31:32 -03:00
Dario
d3be2f629d FixedResourcePool upgraded
Added pool destroy method.
Added idle connections validation (When needed)
Added metrics log every 10 seconds.
2010-09-07 22:15:32 +08:00
Jonathan Leibiusky
68905396d5 Fixed EOFException issue with JedisPool. Was trying to reuse a broken Jedis 2010-09-04 11:29:54 -03:00
Jonathan Leibiusky
96709e0a16 Added connection pool 2010-08-24 00:34:37 -03:00