README
Boosterfor EZS plugin
This package cannot be used alone. EZS has to be installed.
Example
#!/usr/bin/env ezs
[use]
plugin = booster
[booster]
file = ./script.ini
Installation
$ git clone https://github.com/touv/node-booster.git
$ cd node-booster
$ npm install -g ezs
$ npm install
$ npm link
$ npm run build
$ echo "booster do something !" | ./examples/booster.ezs
Statements
Table of Contents
booster
Takes an Object
delegate processing to an external pipeline and cache the result
Parameters
data
feed
file
String? the external pipeline is descrbied in a filescript
String? the external pipeline is descrbied in a sting of characterscommands
String? the external pipeline is descrbied in objectkey
String? the cache key identifier form the stream, in not provided, the key is computed with the first chunkhitsByCheck
Number Number of hits to verify the cache (optional, default1000
)maxFiles
Number Number of hits to verify the cache (optional, default100
)maxTotalSize
Number Size (bytes) maximun of the cash (1 G) (optional, default1000000000
)cleanupDelay
Number Frequency (milliseconds) to cleanup the cahe (10 min) (optional, default600000
)
Returns Object