Raft-based, highly-available distributed cache implementation
Find a file
2024-06-07 19:55:57 +05:30
bench Merge pull request 'chore(deps): update dependency blinker to v1.8.2' (#24) from renovate/blinker-1.x into master 2024-06-07 19:55:12 +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: 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 Merge pull request 'chore(deps): update rust crate serde_json to v1.0.117' (#18) from renovate/serde_json-1.x-lockfile into master 2024-06-07 19:55:57 +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
renovate.json Add renovate.json 2024-06-04 07:34:00 +00:00
requirements.txt Merge pull request 'chore(deps): update dependency protobuf to v4.25.3' (#13) from renovate/protobuf-4.x into master 2024-06-07 19:55:37 +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