You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.md
+11-5
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
Changelog
2
2
=========
3
3
4
-
## v.2.2.0 - xx Oct, 2015 - The peregrino falcon
4
+
## v.2.2.0 - 12 Oct, 2015 - The peregrino falcon
5
5
6
-
The peregrino falcon is the fasted bird on earth and this is what this release is all about: We increased performance for heavy usage by up to **400%**[sic!] and increased overall performance for any command as well. Please check the benchmarks in the [README.md](README.md) for further details.
6
+
The peregrino falcon is the fasted bird on earth and this is what this release is all about: Increased performance for heavy usage by up to **400%**[sic!] and increased overall performance for any command as well. Please check the benchmarks in the [README.md](README.md) for further details.
7
7
8
8
Features
9
9
@@ -18,15 +18,17 @@ Features
18
18
19
19
Bugfixes
20
20
21
-
- Fix a javascript parser regression introduced in 2.0 that could result in timeouts on high load. ([@BridgeAR](https://github.com/BridgeAR))
21
+
- Fix a javascript parser regression introduced in 2.0 that could result in timeouts on high load. <b>*</b> ([@BridgeAR](https://github.com/BridgeAR))
22
22
- Fixed should_buffer boolean for .exec, .select and .auth commands not being returned and fix a couple special conditions ([@BridgeAR](https://github.com/BridgeAR))
23
23
24
+
* I was not able to write a regression test for this, since the error seems to only occur under heavy load with special conditions. So please have a look for timeouts with the js parser, if you use it and report all issues and switch to the hiredis parser in the meanwhile. If you're able to come up with a reproducable test case, this would be even better :)
25
+
24
26
If you do not rely on transactions but want to reduce the RTT you can use .batch from now on. It'll behave just the same as .multi but it does not have any transaction and therefor won't roll back any failed commands.<br>
25
27
Both .multi and .batch are from now on going to cache the commands and release them while calling .exec.
26
28
27
29
Please consider using .batch instead of looping through a lot of commands one by one. This will significantly improve your performance.
28
30
29
-
Here are some stats compared to ioredis 1.9.1:
31
+
Here are some stats compared to ioredis 1.9.1 (Lenovo T450s i7-5600U):
30
32
31
33
simple set
32
34
82,496 op/s » ioredis
@@ -38,7 +40,7 @@ Here are some stats compared to ioredis 1.9.1:
38
40
39
41
simple get with pipeline
40
42
10,233 op/s » ioredis
41
-
26,541 op/s » node_redis
43
+
26,541 op/s » node_redis (using .batch)
42
44
43
45
lrange 100
44
46
7,321 op/s » ioredis
@@ -54,6 +56,10 @@ Here are some stats compared to ioredis 1.9.1:
54
56
55
57
To conclude: we can proudly say that node_redis is very likely outperforming any other node redis client.
56
58
59
+
Known issues
60
+
61
+
- The pub sub system has some flaws and those will be addressed in the next minor release
0 commit comments