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: cache/docs/DETAILED.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,38 @@
4
4
5
5
The RERUM API implements an LRU (Least Recently Used) cache with smart invalidation for all read endpoints. The cache intercepts requests before they reach the database and automatically invalidates when data changes.
6
6
7
+
## Prerequisites
8
+
9
+
### Required System Tools
10
+
11
+
The cache test scripts require the following command-line tools:
12
+
13
+
#### Essential Tools (must install)
14
+
-**`jq`** - JSON parser for extracting fields from API responses
15
+
-**`bc`** - Calculator for arithmetic operations in metrics
16
+
-**`curl`** - HTTP client for API requests
17
+
18
+
**Quick Install (Ubuntu/Debian):**
19
+
```bash
20
+
sudo apt update && sudo apt install -y jq bc curl
21
+
```
22
+
23
+
**Quick Install (macOS with Homebrew):**
24
+
```bash
25
+
brew install jq bc curl
26
+
```
27
+
28
+
#### Standard Unix Tools (usually pre-installed)
29
+
-`date` - Timestamp operations
30
+
-`sed` - Text manipulation
31
+
-`awk` - Text processing
32
+
-`grep` - Pattern matching
33
+
-`cut` - Text field extraction
34
+
-`sort` - Sorting operations
35
+
-`head` / `tail` - Line operations
36
+
37
+
These are typically pre-installed on Linux/macOS systems. If missing, install via your package manager.
0 commit comments