Raft-based, highly-available distributed cache implementation
Find a file
2024-07-22 19:45:03 +05:30
bench chore(deps): update dependency locust to v2.29.1 2024-07-22 14:00: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 Merge pull request 'fix(deps): update rust crate actix to v0.13.5' (#49) from renovate/actix-0.x-lockfile into master 2024-07-22 19:45:03 +05:30
Cargo.toml fix(deps): update rust crate dashmap to v6 2024-06-25 06:31:28 +00:00
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 locust to v2.29.1 2024-07-22 14:00: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