Default to using Mongo for caching

Stress testing shows that after the recent caching optimization there
seems to be no significant difference in performance when using Mongo
for caching as opposed to Redis. Redis is still supported but is now
optional.

Also removed hiredis dependency since as of node_redis 2.6 the default
parser is faster than hiredis.
This commit is contained in:
Zaid Abdulla committed 2017-06-01 16:34:42 -07:00
1 parent b1ed1f4f2f
commit b38b3cf5ab
5 files changed
+8 -10

No files matched your search

+3 -2
View File
@@ -19,13 +19,14 @@
"bin": "bin"
},
"dependencies": {
"hiredis": "^0.5.0",
"later": "^1.2.0",
"libxmljs": "^0.18.4",
"mongodb": "^2.2.24",
"redis": "^2.6.5",
"seedrandom": "^2.4.2"
},
"optionalDependencies": {
"redis": "^2.6.5"
},
"devDependencies": {
"coffeescript": "^1.12.4"
},