Raft-based, highly-available distributed cache implementation
Find a file
Aravinth Manivannan a10fb878f5
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
fix: rm stub
2023-12-31 03:03:00 +05:30
bench feat: post bottleneck single req and pipeline reqs results 2023-12-30 16:19:25 +05:30
dcache_py feat: implement RetrievePow, DeletePow, CacheResult, VerifyCaptchaResult, DeleteCaptchaResult, CaptchaExists& GetVisitorCount RPCs 2023-12-31 01:21:32 +05:30
proto/dcache feat: implement RetrievePow, DeletePow, CacheResult, VerifyCaptchaResult, DeleteCaptchaResult, CaptchaExists& GetVisitorCount RPCs 2023-12-31 01:21:32 +05:30
src feat: implement RetrievePow, DeletePow, CacheResult, VerifyCaptchaResult, DeleteCaptchaResult, CaptchaExists& GetVisitorCount RPCs 2023-12-31 01:21:32 +05:30
tests fix: rm stub 2023-12-31 03:03:00 +05:30
.dockerignore feat: pkg docker 2023-12-17 19:37:44 +05:30
.gitignore feat: conn pool no pipeline 2023-12-26 18:38:06 +05:30
.woodpecker.yml fix: use python virtualenv 2023-12-31 03:00:36 +05:30
build.rs feat: use protobuf for RPC 2023-12-26 14:58:55 +05:30
Cargo.lock feat: use faster counter impl 2023-12-30 16:19:24 +05:30
Cargo.toml feat: use DashMap to speedup hashcash implementation 2023-12-30 18:00:09 +05:30
check.sh feat: use protobuf for RPC 2023-12-26 14:58:55 +05:30
Dockerfile feat: install protoc 2023-12-30 14:18:15 +05:30
launch.sh feat: conn pool no pipeline 2023-12-26 18:38:06 +05:30
LICENSE.md feat: add license file 2023-05-26 00:43:28 +05:30
Makefile feat: python grpc test client 2023-12-27 19:48:51 +05:30
README.md feat: add readme 2023-12-31 01:57:03 +05:30
requirements.txt feat: add integration testing 2023-12-31 03:00:36 +05:30
test-cluster.sh init 2023-05-24 21:22:14 +05:30
test.py debug: pipeline dump 2023-12-28 19:15:07 +05:30

status-badge

dcache: Distributed, Highly Available cache implementation for mCaptcha

Overview

Tips

We recommend running at least three instances of dcache in your deployment.

NOTE: Catastrophic failure will occur when n/2 + 1 instances are down.

Usage

Firewall configuration

dcache uses a single, configurable port for both server-to-server and client-to-server communications. Please open that port on your server.

Launch

dcache --id 1 \
--http-addr 127.0.0.1:9001 \
--introducer-addr 127.0.0.1:9001 \
--introducer-id 1 \
--cluster-size 3

Options

Name Purpose
--id Unique integer to identify node in network
--http-addr Socket address to bind and listen for connections
--introducer-addr Socket address of introducer node; required to join network
--intdocuer-id ID of the introducer node; required to join network
--cluster-size Total size of the cluster