Backend Technical Assessment - ttl cache class method
-
Updated
Oct 23, 2023 - JavaScript
Backend Technical Assessment - ttl cache class method
Simple in-memory key-value cache with expiration time ⏱️
Timed memory cache
No 🐦 URURU, just LRU (and friends)
A tiny (~1kb minified & gzip'd), dependency-free ES6 Map extension with ttl (data expiration) support. 📬⏳📭
Simple yet fully functional in-memory key-value storage server based on HTTP protocol with elements being purged when expired. All operations run in constant time.
Thread-safe map (cache) with various time to live of keys
支持多服務架構下,使用本地緩存
Create an API with the following endpoints to create a key-value store. The purpose of the API is to store any arbitrary length value in a persistent store with respect to a key and later fetch these values by keys. These values will have a TTL (for example 5 minutes) and after the TTL is over, the values will be removed from the store.
Add a description, image, and links to the ttl-cache topic page so that developers can more easily learn about it.
To associate your repository with the ttl-cache topic, visit your repo's landing page and select "manage topics."