Using Redis

By default, the Redis module uses a pure JavaScript parser. However, the Redis project provides hiredis as a module with Native C bindings to the official Redis client, Hiredis.

We may find performance gains (although mileage may vary), by using a parser written in C.

The redis module will avail itself of hiredis if it's installed, so to enable a potentially faster Redis client we can simply install the hiredis Node module:

$ npm install --save hiredis
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.103.5