Raft-based, highly-available distributed cache implementation
Find a file
2024-06-25 11:53:20 +05:30
bench chore(deps): update dependency urllib3 to v2.2.2 2024-06-18 13:31:45 +00:00
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: create virtualenv 2023-12-31 03:05:06 +05:30
build.rs feat: use protobuf for RPC 2023-12-26 14:58:55 +05:30
Cargo.lock fix(deps): update rust crate url to v2.5.2 2024-06-18 21:01:22 +00:00
Cargo.toml Merge branch 'master' into renovate/tonic-monorepo 2024-06-08 02:45:56 +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
renovate.json Add renovate.json 2024-06-04 07:34:00 +00:00
requirements.txt chore(deps): update dependency urllib3 to v2.2.2 2024-06-18 13:31:45 +00:00
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