Commit Graph

36 Commits

Author SHA1 Message Date
Vladimir Mihailenco 110e93a8e4 Simplify connection management with sticky connection pool. Fixes #260. 2016-03-01 14:12:25 +02:00
Vladimir Mihailenco ebf51e1a1b Add prefix to package logger. 2016-02-06 12:16:09 +02:00
Francisco Souza d3ee281748 Declare and use a package-level Logger
This allow users of the API to override the Logger. Fix #250.
2016-02-03 12:30:39 -05:00
Vladimir Mihailenco d7c44c7899 Better rate limited message. 2015-12-22 15:45:03 +02:00
Vladimir Mihailenco 9782e280cf Improve nil reply parsing. 2015-12-22 11:02:18 +02:00
Vladimir Mihailenco 9079a66323 cluster: add Watch support. 2015-12-16 16:15:01 +02:00
Vladimir Mihailenco 42141f11d1 Improve ReceiveMessage. 2015-12-02 15:40:44 +02:00
Vladimir Mihailenco f766eb0209 Improve Tx example. 2015-11-15 10:23:47 +02:00
Vladimir Mihailenco ade3425870 multi: fix recovering from bad connection. 2015-11-14 14:44:16 +02:00
Vladimir Mihailenco d0d3920e69 Make Pipeline thread-safe. Fixes #166. 2015-11-04 14:25:48 +02:00
Vladimir Mihailenco 25164333ff Fix pool panic on slow connection with MaxRetries > 0. 2015-10-13 12:10:04 +03:00
Vladimir Mihailenco b23b9b7727 Refactor reply parser. 2015-10-07 17:09:20 +03:00
Vladimir Mihailenco c809246d8b Clarify thread safety. Fixes #166. 2015-09-12 09:36:03 +03:00
Vladimir Mihailenco 58cb170ac0 Get rid of custom bufio package. 2015-09-03 18:41:35 +03:00
Vladimir Mihailenco 3c1f2bd45a Allow setting and scaning interface{} values. 2015-07-11 11:54:26 +03:00
Vladimir Mihailenco a8fe55571b pool: put connection to the list before returning it. 2015-06-03 16:45:46 +03:00
Vladimir Mihailenco 55f551a447 multi: remove confusing comment. 2015-05-18 14:59:39 +03:00
Dimitrij Denissenko a5891da2f6 Simplify internal API 2015-04-17 14:18:44 +01:00
Dimitrij Denissenko c21e5f3255 Add Redis Cluster support. 2015-03-19 11:19:55 +02:00
Vladimir Mihailenco b11853c050 Allow Pipelined funcs to return error. 2014-07-02 16:18:19 +03:00
Vladimir Mihailenco 678b8b3667 Cleanup. 2014-06-28 14:47:37 +03:00
Vladimir Mihailenco 5f52b5823f pool: rate limit number of open connections. 2014-05-15 14:21:37 +03:00
Vladimir Mihailenco 3bea997988 all: switch to gopkg.in. 2014-05-11 10:44:22 +03:00
Vladimir Mihailenco 037888ee0f multi: Restrict Discard usage. 2012-08-25 22:51:42 +03:00
Vladimir Mihailenco dbcfb0984e redis: Rename mtx to reqsMtx. 2012-08-25 22:44:53 +03:00
Vladimir Mihailenco ee844aaf1d multi: Properly reset client in case of empty transaction. 2012-08-25 21:54:35 +03:00
Vladimir Mihailenco 303687e438 multi: Use mutex to sychronize reads and writes. 2012-08-20 12:10:00 +03:00
Vladimir Mihailenco 5e2cce4853 Micro-optimize loop. 2012-08-20 11:40:27 +03:00
Vladimir Mihailenco 9764065750 Reuse connections to Redis during tests. 2012-08-19 23:59:52 +03:00
Vladimir Mihailenco 11e1783560 Review API. 2012-08-17 21:36:48 +03:00
Vladimir Mihailenco a2f5423658 Reuse buffer for constructing request. 2012-08-14 18:20:22 +03:00
Vladimir Mihailenco 625adac9ab multi: Improve API. 2012-08-13 14:45:32 +03:00
Vladimir Mihailenco 59f901d62f parser: greatly simplify reply parsing. 2012-08-12 21:41:44 +03:00
Vladimir Mihailenco 2f4156dd04 Extract pipeline and multi/exec support to separate files. 2012-08-11 17:42:10 +03:00
Vladimir Mihailenco 153bd05fb7 Fix multi/exec and add more commands. 2012-07-26 18:16:17 +03:00
Vladimir Mihailenco a74d9a5801 Initial commit. 2012-07-25 16:00:50 +03:00