Skip to content

BETA Minimalistic and fast in-memory storage(LRU cache). Supports pipeline(batching), and lifetime option(EXPIRE, SET, GET, DEL, SIZE, FLUSH). kqueue/epoll multiplexers

Notifications You must be signed in to change notification settings

SSbug696/bluster_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactor Build Status

Bluster cache

This is very simple, very fast and lightweight in-memory storage based on LRU principle

Supported operations such as SET, GET, EXPIRE, DEL, FLUSH, SIZE, EXIST. Productive batching(pipeline). Basic implementation on Epoll(in test) and Kqueue sockets(only *nix systems)

Prompt pattern for banch client
Command Required Default
host[-h] false 127.0.0.1
port[-p] true -
requests[-r] false 10000
parallel clients[-c] false 2
mode[-m] false mono
key size[-ksz] false 2
value size[-vsz] false 2
batch size[-bsz] only for "batch" mode -
Batch mode: ./banch -p 8888 -r 1000000 -c 3 -m mono
Per request mode: ./banch -p 8888 -r 100000 -c 3 -m batch -bsz 50
Source requests format

format [msg_len]msg

Simple request: [17]set key somevalue
Pipelining: [38][set key somevalue,set key2 somevalue]

Illustration

About

BETA Minimalistic and fast in-memory storage(LRU cache). Supports pipeline(batching), and lifetime option(EXPIRE, SET, GET, DEL, SIZE, FLUSH). kqueue/epoll multiplexers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published