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: README.md
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,62 @@ A helper class to expire keys from a sorted set in Redis, useful for timeseries
10
10
11
11
[![NPM][npm-stats]][npm-package]
12
12
13
+
## Installation
14
+
```sh
15
+
npm install --save redis-sorted-cache
16
+
```
17
+
18
+
## Usage
19
+
20
+
##### Store a JSON object (timeseries event) in Redis and later retrieve all events within the cache TTL
21
+
22
+
From [https://github.com/nextorigin/godot2/.../src/godot/reactor/redis-cache.coffee#L31](https://github.com/nextorigin/godot2/blob/be70857187d83ec66188609db2d12e8a9d5209ea/src/godot/reactor/redis-cache.coffee#L31)
0 commit comments