https://github.com/akumzy/kroncache
[WIP] kroncache is a cache management and event scheduling server
https://github.com/akumzy/kroncache
cache cachemanager cron database scheduler
Last synced: 8 months ago
JSON representation
[WIP] kroncache is a cache management and event scheduling server
- Host: GitHub
- URL: https://github.com/akumzy/kroncache
- Owner: Akumzy
- License: apache-2.0
- Created: 2020-11-02T19:27:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-05T12:04:55.000Z (about 4 years ago)
- Last Synced: 2025-03-13T07:01:54.600Z (about 1 year ago)
- Topics: cache, cachemanager, cron, database, scheduler
- Language: Go
- Homepage:
- Size: 76.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kroncache [WIP]
Have you ever wanted a cache management system that notifies you whenever a record expires automatically? like saving upload records and clearing it uploads after some time if failed and so on? That's how *kroncache* was born since I couldn't find any software that does that.
*kroncache* provides API to perform simple CRUD operation for managing cache and as well notifying you once a record expires. It uses [badgerhold](https://github.com/timshannon/badgerhold) as database layer and Websocket for communication with *kroncache* clients.
# Setup
Download the tar file that matches your platform and architecture [here](https://github.com/Akumzy/kroncache/releases)
example for Linux amd64 `kroncache_x.x.x_linux_amd64.tar.gz`
then unzip into your desired directory
```sh
$ tar -xf kroncache_x.x.x_Linux_64-bit.tar.gz
```
Then run `kroncache` with the default port `5093`
```sh
$ cd kroncache_x.x.x_Linux_64-bit
$ ./kroncache
```
or change the port by setting the PORT environment variable
```sh
$ PORT=5599 ./kroncache
```
# Clients
- NodeJs: [kroncache-node](https://github.com/Akumzy/kroncache-node)