AmantaDB is a lightweight, high performance In Memory Cache with JSON Persistence for Go. It provides a simple SQL-like interface to manage key value data organized by prefixes (tables).
- In Memory Speed: Lightning fast data access as all operations are performed in RAM.
- Auto Persistence: Data is automatically flushed to a JSON file on every write operation.
- SQL Interface: Familiar syntax for developers (
SELECT,INSERT,DELETE). - Dot Notation Storage: Keys are automatically formatted as
prefix.keyfor easy organization. - Thread Safe: Built-in concurrency control using
sync.RWMutex, making it safe for production use.
Initialize your Go module and install AmantaDB:
go get [github.com/username/amantadb](https://github.com/username/amantadb)- git clone or download the repository
- run
make install - then type
amantadb - here we go, now you access amantadb CLI
amantadb>
{
"orders.id:101": "{\"item\": \"Laptop\", \"price\": 1500}",
"users.u1": "Amanta"
}Contributions are welcome! Please feel free to submit a Pull Request.