An open API service indexing awesome lists of open source software.

https://github.com/jlowry/simple-mem-cache


https://github.com/jlowry/simple-mem-cache

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# simple-mem-cache

A simple in-memory cache with an HTTP interface.

## Features
* HTTP POST http://127.0.0.1:8080/ with the value as UTF-8 body.
* HTTP GET http://127.0.0.1:8080/ replies with the value as body or 404 if no such key exists.
* Uses actix for high performance.
* Uses CHashMap as a backing store so only buckets are locked.
* Configurable logging uses log and log4rs.
* Configuration via file and environment.
* Built-in metrics server on port http://127.0.0.1:8081/metrics for Prometheus.