Commit Graph

50 Commits

Author SHA1 Message Date
ivowiblo
c765bc3910 Style refactor 2012-04-19 03:04:06 -04:00
ivowiblo
d5c2b9965c Slowlog commands. The unit test is failing. 2012-04-19 02:53:26 -04:00
Eric Hauser
fe87266a53 Merge pull request #163 from grdmitro/jedis
---

Throwing Jedis connection exception on IO error rather than JedisException
2011-09-12 23:07:45 -04:00
Kevin Sawicki
3abaf71e0a Mark inner classes static that don't reference parent class. 2011-06-29 09:34:57 -07:00
Dmytro
6e4e1c39f4 Throwing Jedis connection exception on IO error rather than JedisException 2011-06-15 09:46:48 +01:00
Dario Guzik
202d68a21c optimize 2011-05-15 18:34:15 -03:00
Dario Guzik
37587df2b6 MasterSlave consistency and old mode compatibility with shard names 2011-05-15 18:22:34 -03:00
Jonathan Leibiusky
66b0a5784d fix md5 hashing as MessageDigest is not threadsafe, now using ThreadLocal 2011-05-11 19:45:07 -03:00
Jonathan Leibiusky
0d6d37b95f throw JedisDataException when sending NULL values to redis as it is not a valid value in the protocol 2011-05-11 19:22:31 -03:00
Jonathan Leibiusky
90e68fa482 Merge branch 'ordered_shards_iteration' of https://github.com/grdmitro/jedis into grdmitro-ordered_shards_iteration 2011-04-06 01:57:14 -03:00
Dmytro
f16d91550d made shard iterable in the same order as in config during creation 2011-04-05 15:41:28 +01:00
Jonathan Leibiusky
74ca0e1d71 Merge branch 'MasterSlaveConsistency' of https://github.com/TioBorracho/jedis into TioBorracho-MasterSlaveConsistency 2011-03-25 10:56:57 -03:00
Dmytro
cb0d76051d made getShardInfo(byte[]) public 2011-03-21 15:03:34 +00:00
Dmytro
dc89193635 Revert "made getShardInfo(byte[]) public"
This reverts commit 0801b01ccb.
2011-03-21 14:58:29 +00:00
Dmytro
0801b01ccb made getShardInfo(byte[]) public 2011-03-21 14:32:50 +00:00
Dario Guzik
3d1603b59b Generate shard nodes by shard position. Shards are now host/port independent 2011-03-02 17:53:27 -03:00
Jonathan Leibiusky
2a4a43f4cd add JedisDataException and JedisConnectionException 2011-01-30 17:46:17 -03:00
Jonathan Leibiusky
6f92f5fc9c pool doesn't throw Exception anymore but JedisException 2010-12-10 17:36:44 -03:00
Jonathan Leibiusky
ad26ea23ad fix consistent hashing, both MD5 and Murmur, 2010-12-02 01:46:31 -03:00
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