tricache 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist/cache-service.d.ts +54 -1
- package/dist/cache-service.d.ts.map +1 -1
- package/dist/cache-service.js +353 -59
- package/dist/cache-service.js.map +1 -1
- package/dist/disk-tier.d.ts +74 -7
- package/dist/disk-tier.d.ts.map +1 -1
- package/dist/disk-tier.js +512 -28
- package/dist/disk-tier.js.map +1 -1
- package/dist/encryption.d.ts +2 -0
- package/dist/encryption.d.ts.map +1 -1
- package/dist/encryption.js +55 -33
- package/dist/encryption.js.map +1 -1
- package/dist/index.cjs +952 -155
- package/dist/index.d.cts +269 -8
- package/dist/smart-memory-cache.d.ts +30 -0
- package/dist/smart-memory-cache.d.ts.map +1 -1
- package/dist/smart-memory-cache.js +216 -36
- package/dist/smart-memory-cache.js.map +1 -1
- package/dist/types.d.ts +109 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/wasm/bloom-filter-wasm.d.ts.map +1 -1
- package/dist/wasm/bloom-filter-wasm.js +5 -21
- package/dist/wasm/bloom-filter-wasm.js.map +1 -1
- package/package.json +11 -10
- package/src/cache-service.ts +394 -57
- package/src/disk-tier.ts +481 -27
- package/src/encryption.ts +61 -34
- package/src/smart-memory-cache.ts +213 -41
- package/src/types.ts +117 -0
- package/src/wasm/bloom-filter-wasm.ts +5 -21
package/README.md
CHANGED
|
@@ -46,8 +46,12 @@ tricache is an extremely fast three-tier Node.js cache library. It serves warm r
|
|
|
46
46
|
| **`setIfAbsent()`** | Atomic "set if not cached" — L1 `has()` check → Redis `SET NX EX` → L1 set on success; returns `true` if written, `false` if already present |
|
|
47
47
|
| **Refresh-ahead** | Proactively recompute an entry in the background when remaining TTL falls below a configured fraction — zero-latency freshness |
|
|
48
48
|
| **XFetch probabilistic early expiry** | Probabilistic background recompute keyed to last fetch duration and `xfetchBeta` — optimal protection against expiry spikes under load |
|
|
49
|
+
| **Adaptive TTL** | Tracks per-key fetch latency in a rolling ring buffer; once ≥ 5 samples are collected, automatically sets TTL = `p95LatencyMs × multiplier`. Expensive keys get cached longer; cheap keys stay close to their base TTL — no manual TTL tuning required |
|
|
49
50
|
| **`hotKeys(n)`** | Returns top N keys by Count-Min Sketch access frequency with size — no full Map scan |
|
|
50
51
|
| **`dependsOn` cascade invalidation** | Tag entries with parent keys; deleting a parent automatically evicts all declared dependents from L1 |
|
|
52
|
+
| **`onHit` / `onMiss` callbacks** | Per-operation hit/miss hooks with tier info (`'l1'` \| `'disk'` \| `'l2'`) — no wait for the metrics interval |
|
|
53
|
+
| **`frozen` mode** | Dev-time mutation guard — `Object.freeze()` applied recursively to every L1 hit so accidental mutations throw immediately |
|
|
54
|
+
| **`tags` in `get()` opts** | Attach tags at read time; when `fetchFn` populates the entry on a miss the tags are registered automatically |
|
|
51
55
|
|
|
52
56
|
---
|
|
53
57
|
|
|
@@ -167,6 +171,8 @@ CacheService.create({
|
|
|
167
171
|
// ── L1 (in-memory) ───────────────────────────────────────────────────
|
|
168
172
|
l1MaxBytes: 200 * 1024 * 1024, // 200 MB total RAM cap (default)
|
|
169
173
|
l1MaxEntries: 2_000, // max entries in L1 (default)
|
|
174
|
+
l1EvictionWatermark: 0.9, // proactive eviction fires at 90 % of l1MaxEntries / l1MaxBytes (default)
|
|
175
|
+
// lower to 0.8 to reduce GC pressure on heap-bound workloads
|
|
170
176
|
categoryLimits: {
|
|
171
177
|
// per-prefix limits — keys are matched by startsWith()
|
|
172
178
|
'user:': { maxEntries: 500, maxSizeBytes: 50 * 1024 * 1024 },
|
|
@@ -226,6 +232,17 @@ CacheService.create({
|
|
|
226
232
|
// Range [0, 1]; default 0 (no jitter).
|
|
227
233
|
ttlJitterFactor: 0.15, // ± 15 % spread
|
|
228
234
|
|
|
235
|
+
// ── Adaptive TTL ──────────────────────────────────────────────────────
|
|
236
|
+
// When true, tricache tracks per-key fetch latency in a rolling ring
|
|
237
|
+
// buffer and derives an optimal TTL from the p95 fetch duration:
|
|
238
|
+
// adaptedTtl = clamp(p95LatencyMs × multiplier, min, max)
|
|
239
|
+
// The caller-supplied ttlSeconds is used until ≥ 5 samples are collected,
|
|
240
|
+
// then the library takes over TTL management autonomously.
|
|
241
|
+
adaptiveTtl: true,
|
|
242
|
+
adaptiveTtlMin: 10, // floor: never assign TTL below 10 s (default)
|
|
243
|
+
adaptiveTtlMax: 86400, // ceiling: never exceed 24 h (default)
|
|
244
|
+
adaptiveTtlMultiplier: 20, // p95Ms × 20 = TTL in seconds (default)
|
|
245
|
+
|
|
229
246
|
// ── OpenTelemetry tracer ──────────────────────────────────────────────
|
|
230
247
|
// Pass any @opentelemetry/api-compatible tracer. No peer dependency.
|
|
231
248
|
// Spans: 'tricache.get' | 'tricache.set' | 'tricache.delete'
|
|
@@ -262,6 +279,20 @@ CacheService.create({
|
|
|
262
279
|
// ── Metrics callback ─────────────────────────────────────────────────
|
|
263
280
|
metricsIntervalMs: 60_000, // emit every 60 s (default)
|
|
264
281
|
onMetrics: (m) => myMonitoring.record(m), // optional push callback
|
|
282
|
+
|
|
283
|
+
// ── Per-operation hooks ───────────────────────────────────────────────
|
|
284
|
+
// onHit fires on every L1, disk, or L2 hit with the caller-facing key (no prefix)
|
|
285
|
+
// and the tier that served it. Lower latency than waiting for onMetrics.
|
|
286
|
+
onHit: (key, tier) => cloudwatch.putMetricData({ key, tier }),
|
|
287
|
+
|
|
288
|
+
// onMiss fires when all three tiers are exhausted — before fetchFn is called.
|
|
289
|
+
onMiss: (key) => cloudwatch.putMetricData({ key }),
|
|
290
|
+
|
|
291
|
+
// ── Development mutation guard ────────────────────────────────────────
|
|
292
|
+
// When true, every L1 hit value is deep-frozen before being returned.
|
|
293
|
+
// Mutation attempts throw TypeError immediately in development.
|
|
294
|
+
// Do NOT enable in production — deep-freezing large objects has measurable overhead.
|
|
295
|
+
frozen: process.env.NODE_ENV !== 'production',
|
|
265
296
|
});
|
|
266
297
|
```
|
|
267
298
|
|
|
@@ -309,6 +340,7 @@ Get from cache or call `fetchFn` on a miss. The inflight map ensures `fetchFn` f
|
|
|
309
340
|
| `opts.refreshAhead` | `number` | — | Fraction `(0, 1]` of TTL — triggers background recompute when `remaining ≤ ttl × (1 - refreshAhead)` |
|
|
310
341
|
| `opts.xfetchBeta` | `number` | — | XFetch β ≥ 0 — scales probabilistic early recompute by last fetch duration; higher = recompute earlier |
|
|
311
342
|
| `opts.notFoundTtl` | `number` | — | Per-call TTL in seconds for `null`/`undefined` results (overrides global `notFoundTtl`) |
|
|
343
|
+
| `opts.tags` | `string[]` | — | Tags to register when `fetchFn` populates the entry on a miss; no-op on L1/L2 hits where tags are already registered |
|
|
312
344
|
|
|
313
345
|
### `cache.set<T>(key, data, ttlSeconds?, priority?, opts?)` → `Promise<void>`
|
|
314
346
|
|
package/dist/cache-service.d.ts
CHANGED
|
@@ -42,9 +42,11 @@ export declare class CacheService {
|
|
|
42
42
|
private snapshotLoaded;
|
|
43
43
|
private _readyPromise;
|
|
44
44
|
private cleanupInterval;
|
|
45
|
+
private diskJanitorInterval;
|
|
45
46
|
private oomInterval;
|
|
46
47
|
private metricsInterval;
|
|
47
48
|
private _shutdownHandler;
|
|
49
|
+
private latencyTracker;
|
|
48
50
|
private readonly instanceId;
|
|
49
51
|
private readonly backplaneChannel;
|
|
50
52
|
private subClient;
|
|
@@ -82,6 +84,9 @@ export declare class CacheService {
|
|
|
82
84
|
private nk;
|
|
83
85
|
/** Apply TTL jitter: multiply ttlMs by (1 ± jitterFactor). */
|
|
84
86
|
private _jitterTtl;
|
|
87
|
+
/** Shared no-op span for the common case where no tracer is configured.
|
|
88
|
+
* Using a singleton avoids allocating a fresh object literal on every get/set/delete call. */
|
|
89
|
+
private static readonly _nullSpan;
|
|
85
90
|
/** Start an OTEL-compatible span if a tracer is configured. Returns a no-op span otherwise. */
|
|
86
91
|
private _startSpan;
|
|
87
92
|
private initBackplane;
|
|
@@ -116,6 +121,13 @@ export declare class CacheService {
|
|
|
116
121
|
refreshAhead?: number;
|
|
117
122
|
xfetchBeta?: number;
|
|
118
123
|
notFoundTtl?: number;
|
|
124
|
+
/**
|
|
125
|
+
* Tags to associate with this cache entry when fetchFn populates it on a miss.
|
|
126
|
+
* Tags are registered in the in-process `tagIndex` and (if Redis is enabled) mirrored
|
|
127
|
+
* via `SADD` so that `invalidateTag()` covers disk-spill and multi-instance nodes.
|
|
128
|
+
* On an L1/L2 hit the tags are already registered — this field is a no-op for hits.
|
|
129
|
+
*/
|
|
130
|
+
tags?: string[];
|
|
119
131
|
}): Promise<T>;
|
|
120
132
|
private _revalidate;
|
|
121
133
|
/** Explicitly write a value into L1 (+ L2 in production). */
|
|
@@ -123,6 +135,11 @@ export declare class CacheService {
|
|
|
123
135
|
tags?: string[];
|
|
124
136
|
dependsOn?: string[];
|
|
125
137
|
}): Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* Register tags for a cache key in the in-process index and (if Redis is enabled) in
|
|
140
|
+
* the Redis SADD index. Tags are best-effort — a Redis failure does not throw.
|
|
141
|
+
*/
|
|
142
|
+
private _registerTags;
|
|
126
143
|
/**
|
|
127
144
|
* Delete one key or a glob pattern (supports `*` wildcard).
|
|
128
145
|
*
|
|
@@ -184,6 +201,27 @@ export declare class CacheService {
|
|
|
184
201
|
* for (const [key, val] of cache.entries<User>()) console.log(key, val.id);
|
|
185
202
|
*/
|
|
186
203
|
entries<T = unknown>(): Generator<[string, T]>;
|
|
204
|
+
/**
|
|
205
|
+
* High-throughput bulk scan over all live L1 entries.
|
|
206
|
+
*
|
|
207
|
+
* Compared with `entries()` this avoids generator frame overhead, per-entry
|
|
208
|
+
* `[key, value]` tuple allocation, and the `key.slice()` allocation when the
|
|
209
|
+
* caller uses the `offset` parameter instead of pre-slicing.
|
|
210
|
+
*
|
|
211
|
+
* ```typescript
|
|
212
|
+
* // Zero extra string allocations — use rawKey + offset directly:
|
|
213
|
+
* cache.scan((rawKey, value, offset) => {
|
|
214
|
+
* const key = rawKey.slice(offset); // allocate only if needed
|
|
215
|
+
* sync(key, value as User);
|
|
216
|
+
* });
|
|
217
|
+
* ```
|
|
218
|
+
*
|
|
219
|
+
* @param fn Called once per live L1 entry.
|
|
220
|
+
* `rawKey` — key with namespace prefix still attached.
|
|
221
|
+
* `value` — deserialized cached value.
|
|
222
|
+
* `offset` — `rawKey.slice(offset)` gives the bare key without namespace.
|
|
223
|
+
*/
|
|
224
|
+
scan<T = unknown>(fn: (rawKey: string, value: T, offset: number) => void): void;
|
|
187
225
|
/**
|
|
188
226
|
* Extend the TTL of a key in L1 (and fire-and-forget EXPIRE in Redis) without fetching.
|
|
189
227
|
* Returns `false` if the key is absent or already expired.
|
|
@@ -259,7 +297,9 @@ export declare class CacheService {
|
|
|
259
297
|
* const loaded = await cache.warmFromL2('org:*');
|
|
260
298
|
* console.log(`Warmed ${loaded} keys from Redis`);
|
|
261
299
|
*/
|
|
262
|
-
warmFromL2(pattern: string
|
|
300
|
+
warmFromL2(pattern: string, opts?: {
|
|
301
|
+
priority?: CachePriority;
|
|
302
|
+
}): Promise<number>;
|
|
263
303
|
/**
|
|
264
304
|
* Invalidate all keys associated with a tag.
|
|
265
305
|
* Deletes from L1, disk, and Redis (both the keyed values and the tag set).
|
|
@@ -269,6 +309,19 @@ export declare class CacheService {
|
|
|
269
309
|
* await cache.invalidateTag('catalog'); // clears product:1 and any other tagged entries
|
|
270
310
|
*/
|
|
271
311
|
invalidateTag(tag: string): Promise<void>;
|
|
312
|
+
/**
|
|
313
|
+
* Invalidate all keys associated with any of the given tags in a single operation.
|
|
314
|
+
* Combines multiple `invalidateTag()` calls into one Redis pipeline round-trip,
|
|
315
|
+
* reducing latency when invalidating several related tags together.
|
|
316
|
+
*
|
|
317
|
+
* Note: Redis pipelines are batched, not atomic. All L1/disk deletes happen
|
|
318
|
+
* synchronously before the Redis round-trip.
|
|
319
|
+
*
|
|
320
|
+
* @example
|
|
321
|
+
* // Instead of three serial round-trips:
|
|
322
|
+
* await cache.invalidateTags(['case:acme', 'org:acme', 'ai-chat:acme']);
|
|
323
|
+
*/
|
|
324
|
+
invalidateTags(tags: string[]): Promise<void>;
|
|
272
325
|
/**
|
|
273
326
|
* Measure L1 / disk / Redis latency.
|
|
274
327
|
* Useful for health checks and dashboards.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-service.d.ts","sourceRoot":"","sources":["../src/cache-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"cache-service.d.ts","sourceRoot":"","sources":["../src/cache-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAWH,OAAO,EACL,aAAa,EAIb,YAAY,EACZ,YAAY,EACZ,eAAe,EAKhB,MAAM,SAAS,CAAC;AA6NjB,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IACrC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAyB;IAC7C,OAAO,CAAC,QAAQ,CAAC,EAAE,CAA2B;IAC9C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;IACtC,OAAO,CAAC,QAAQ,CAAC,IAAI,CA4BnB;IACF,2EAA2E;IAC3E,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAc;IACzC,sFAAsF;IACtF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAW;IAC1C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA0C;IACnE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAqB;IAClD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA2D;IACvF,yFAAyF;IACzF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqC;IAC9D;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkC;IAClE,OAAO,CAAC,KAAK,CAA0C;IACvD,OAAO,CAAC,eAAe,CAAyC;IAChE,OAAO,CAAC,QAAQ,CAAC,EAAE,CAA2B;IAC9C,OAAO,CAAC,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