Raft-based, highly-available distributed cache implementation
Find a file
Renovate Bot e34fc6b52f
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
chore(deps): update dependency blinker to v1.8.2
2024-06-07 10:02:58 +00:00
bench chore(deps): update dependency blinker to v1.8.2 2024-06-07 10:02:58 +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 chore(deps): update rust crate anyhow to v1.0.86 2024-06-04 08:01:19 +00:00
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
renovate.json Add renovate.json 2024-06-04 07:34:00 +00:00
requirements.txt chore(deps): update dependency blinker to v1.8.2 2024-06-07 10:02:58 +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