Sign inSign up

assafmo/bloomrest-ingest

By assafmo

•Updated about 9 years ago

Serve your bloom filters over HTTP.

Image
0

259

assafmo/bloomrest-ingest repository overview

https://github.com/assafmo/BloomREST⁠

⁠Usage

# Create a bloom filter with one value "test1" on your local filesystem ./my.bloom
echo test1 | docker run -i -v $PWD:/data/ assafmo/bloomrest-ingest my.bloom 10 0.001

# Make ./my.bloom your own
sudo chown $USER:$USER my.bloom

# Mount the directory with ./my.bloom (currently $PWD) to /data/ and pass the new my.bloom path and 4096 as a port to docker (must be 4096!)
docker run -d -p 1111:4096 -v $PWD:/data/ assafmo/bloomrest-serve /data/my.bloom 4096

curl http://localhost:1111/check -d '["test1","test2"]'                                      
# =>
# [true, false]

Tag summary

Content type

Image

Digest

Size

258 MB

Last updated

about 9 years ago

docker pull assafmo/bloomrest-ingest