Skip to content

mintDS/mintds-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Protocol

By default, mintDS will listen for TCP connections on port 7657. It uses a simple ASCII protocol that is similar to redis and memcached.

BloomFilter

Commands Request Response
create create bloomfilter myfilter --probability=0.01
--capacity=1000000
success | exists | failure {msg}
exists exists bloomfilter myfilter yes | no | failure {msg}
add add bloomfilter myfilter myvalue success | failure {msg}
contains contains bloomfilter myfilter myvalue yes | no | failure {msg}
drop drop bloomfilter myfilter success | non_existent | failure {msg}

CountingBloomFilter

Commands Request Response
create create countingbloomfilter myfilter --probability=0.01
--capacity=1000000
success | exists | failure {msg}
exists exists countingbloomfilter myfilter yes | no | failure {msg}
add add countingbloomfilter myfilter myvalue success | failure {msg}
remove remove countingbloomfilter myfilter myvalue success | failure {msg}
contains contains countingbloomfilter myfilter myvalue yes | no | failure {msg}
count count countingbloomfilter myfilter myvalue {number} | failure {msg}
drop drop countingbloomfilter myfilter success | non_existent | failure {msg}

HyperLogLog

Commands Request Response
create create hyperloglog mylog success | exists | failure {msg}
exists exists hyperloglog mylog yes | no | failure {msg}
add add hyperloglog mylog myvalue success | failure {msg}
count count hyperloglog mylog {number} | failure {msg}
drop drop hyperloglog mylog success | non_existent | failure {msg}

CountMinSketch

Commands Request Response
create create countminsketch mysketch success | exists | failure {msg}
exists exists countminsketch mysketch yes | no | failure {msg}
add add countminsketch mysketch myvalue success | failure {msg}
count count countminsketch mysketch myvalue {number} | failure {msg}
drop drop countminsketch mysketch success | non_existent | failure {msg}

LinearCounter

Commands Request Response
create create linearcounter mycounter success | exists | failure {msg}
exists exists linearcounter mycounter yes | no | failure {msg}
add add linearcounter mycounter myvalue success | failure {msg}
count count linearcounter mycounter {number} | failure {msg}
drop drop linearcounter mycounter success | non_existent | failure {msg}

About

mintDS protocol implementation in Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages