Matt Ranney
36c40ee03d
JavaScript parser passes all tests when returning strings.
...
JS is still way too slow for large mb replies. Hiredis is fast for strings of large replies,
but slow for buffers.
2010-12-07 00:23:31 -08:00
Matt Ranney
b907364573
Support for multiple reply parsers including hiredis.
...
Several parsing bugs fixed in JavaScript.
Some new config options that need to be better documented.
2010-12-06 09:11:16 -08:00
Matt Ranney
232f34a4e1
Add Unix socket example.
2010-12-01 22:36:14 -08:00
Pieter Noordhuis
a5381964d9
Add option to specify whether to return strings or buffers for bulk data
2010-11-30 23:10:02 +01:00
Pieter Noordhuis
7b4ca228d6
Fix incorrect test
2010-11-30 23:00:32 +01:00
Pieter Noordhuis
8c158eb75f
Merge branch 'master' into hiredis-merge
2010-11-30 22:40:36 +01:00
Pieter Noordhuis
4bef57cff0
Try to use hiredis as default reply parser
2010-11-30 22:40:09 +01:00
Matt Ranney
f30e08235f
Explicitly check for empty Array instead of comparing to []
2010-11-30 13:37:53 -08:00
Pieter Noordhuis
1e698e3fce
Move the reply parser to its own file
2010-11-30 22:29:16 +01:00
Pieter Noordhuis
88711fe4fe
Move requiring util to a separate file
2010-11-30 22:19:24 +01:00
Pieter Noordhuis
275030148b
Rewrite multi_bench.js to stop pipelining
2010-11-30 13:18:00 -08:00
Matt Ranney
12d2aebb70
Send empty Array for 0 length mb replies instead of null.
2010-11-30 13:05:07 -08:00
Matt Ranney
79511b4499
Fix parser bug after failed EXEC.
v0.3.9
2010-11-30 11:47:52 -08:00
Pieter Noordhuis
4815295ed8
Use the buffers in bench.js
...
Before, the buffers were not used and "foo" was pushed to a list for
every buffer. Also, LRANGE did not use the lists populated by the LPUSH
benchmark and always returned an empty multi bulk response.
2010-11-23 17:28:40 +01:00
Matt Ranney
05e9699817
Fix for null MULTI response when WATCH condition fails.
2010-11-10 10:36:26 -08:00
Paul Carey
5bddbe3d9a
Partial fix for null multi bulk response.
2010-11-10 10:04:47 -08:00
Matt Ranney
1eb3f6a1aa
Add "drain" and "idle" events.
v0.3.7
2010-11-09 13:13:40 -08:00
Matt Ranney
e6f7dc5f20
Check for stream.writable before trying to write()
2010-11-09 12:14:22 -08:00
Matt Ranney
95e60006f6
Add subqueries example.
2010-11-03 14:04:53 -07:00
Matt Ranney
81fc8516e4
Update for v0.3.6
v0.3.6
2010-11-03 12:47:02 -07:00
Matt Ranney
1387429ca6
Bump version for error message improvement.
2010-11-03 12:44:16 -07:00
Matt Ranney
f91626d110
Send friendlier error event on stream errors.
2010-11-03 12:43:18 -07:00
Matt Ranney
dd866c0649
Take connection count from command line.
2010-11-02 17:40:00 -07:00
Matt Ranney
6bda787181
Bottom spacer.
2010-10-30 02:09:34 -07:00
Matt Ranney
b097bf2ccd
Add bottom spacer.
2010-10-30 02:08:49 -07:00
Matt Ranney
a3c03dcc68
Add all commands from Redis master, not just ones documented on the Redis wiki.
...
Use lowercase for all command names.
Build RedisClient and Multi prototype at the same time.
2010-10-30 01:40:31 -07:00
Matt Ranney
d51abad43f
Minor wording tweaks.
2010-10-30 01:40:09 -07:00
Matt Ranney
86b2c22c80
Use db 15 for testing. Adapt many fine tests from fictorial's client.
2010-10-30 01:38:47 -07:00
Matt Ranney
ff517f1f2f
Add changelog.
v0.3.5
2010-10-21 20:24:45 -07:00
Matt Ranney
6b21fbfb45
Bump version for null MB response fix.
2010-10-21 18:15:14 -07:00
Matt Ranney
ee976bb82c
Add test for BLPOP, tighten up MULTI tests.
2010-10-21 18:14:44 -07:00
Matt Ranney
7a9ae90fcf
sys -> util
...
Also, only emit "end" once, which was confusing the tests.
2010-10-21 18:13:58 -07:00
Matt Ranney
645a981231
JSLint fixes.
2010-10-20 16:38:47 -07:00
Matt Ranney
1c5f73f541
Organize examples.
2010-10-20 16:38:33 -07:00
Matt Ranney
85bd648adc
Export RedisClient prototype to support extending.
...
See examples/extend.js for a simple example.
Remove command list from exports while I was in there.
2010-10-05 11:30:57 -07:00
Matt Ranney
ddcecc5b29
Improvements to recreate redis-benchmark.
2010-10-04 23:25:25 -07:00
Matt Ranney
62dec00285
Bump version for bug fixes.
2010-10-02 16:36:04 -07:00
Matt Ranney
86fccd3cb8
Update contributors.
2010-10-02 16:35:42 -07:00
Matt Ranney
d0ffb47fbb
Update contributors info.
2010-10-02 16:35:18 -07:00
Matt Ranney
b6c48b2357
Merge remote branch 'aivopaas/master'
2010-10-02 16:25:06 -07:00
Matt Ranney
6fd6f7ad32
Merge remote branch 'hanksims/master'
2010-10-02 16:19:29 -07:00
Matt Ranney
b24edbecad
Simple web server that integrates with Redis.
2010-10-02 16:17:29 -07:00
Matt Ranney
e31e0c67fd
Merge branch 'bench'
2010-10-02 16:17:14 -07:00
Hank Sims
0ceb2c0f30
Added a psubscribe example.
2010-10-02 13:18:08 -07:00
Aivo Paas
1cfbdea49a
Minor fixes in tests
...
Moved a last() call to the end of a test
Fixed typo and added error message when client emits error
2010-10-02 22:06:16 +03:00
Aivo Paas
3495b60047
Fixed .multi() to convert HGETALL result to an object
2010-10-02 22:00:57 +03:00
Matt Ranney
cb87a9b2b7
Set up connections serially.
2010-10-01 23:12:48 -07:00
Matt Ranney
8356ecfda8
Simplify lowercase command prototype.
...
Suggested by Rasmus Andersson
2010-09-30 09:15:19 -07:00
Matt Ranney
371469d4d4
Merge branch 'master' into bench
2010-09-29 22:47:41 -07:00
Matt Ranney
b4f5891da3
Draw attention to how awesome and trend-setting our speed techniques are.
2010-09-29 21:38:15 -07:00