Minor typo: In the second paragraph, you write "...Least Frequently Used (LRU) cache by hand before.". It's Least Recently Used.
But yeah I've done a similar thing where I coded up a Redis server in Python. It had minimal commands like SET, DELETE, GET, EXPIRE... It was quite fun :) I plan on also trying it in Go at some point.
Hi! It’s an LRU cache with expire times, wrapped by an API.
The cache also provides methods similar to memcached like increment/decrement, and append/prepend for array-like objects.
Minor typo: In the second paragraph, you write "...Least Frequently Used (LRU) cache by hand before.". It's Least Recently Used.
But yeah I've done a similar thing where I coded up a Redis server in Python. It had minimal commands like SET, DELETE, GET, EXPIRE... It was quite fun :) I plan on also trying it in Go at some point.
Thanks Omar 👍