Skip to content

Commit 2dc901c

Browse files
authored
Update README.md
1 parent c91a67e commit 2dc901c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This project is a lightweight, reverse-engineered implementation of a Redis-comp
88
- **Basic Caching Operations**:
99
- `SET key value`: Stores a key-value pair in the cache.
1010
- `GET key`: Retrieves the value associated with a key.
11+
- **LRU-Based Eviction**: Implemented a Least Recently Used (LRU) eviction policy to automatically remove old keys when memory limits are reached.
1112
- **Lightweight and Efficient**: The server is designed to be minimalistic, focusing only on the essential caching functionality.
1213
- **Concurrency Support**: The server uses a thread-safe key-value store, ensuring safe concurrent access to the cache.
1314

@@ -35,4 +36,4 @@ $ redis-cli -p 2345
3536
127.0.0.1:2345> SET mykey myvalue
3637
OK
3738
127.0.0.1:2345> GET mykey
38-
"myvalue"
39+
"myvalue"

0 commit comments

Comments
 (0)