Skip to content

Engineers-Cradle/distributed-id-indexer

Distributed ID Indexing System

forthebadge forthebadge GitHub Actions Workflow Status

Introduction

This project is a distributed ID indexing system that allows for the storage and retrieval of IDs. The system is composed of a set of nodes that are responsible for storing and indexing IDs using Redis and Redis Pub/Sub. The system is designed to be fault-tolerant and scalable.

🦄 Prerequisites

🛠️ Configuration

The system can be configured using the following environment variables:

REDIS_URL=
WEB_SERVER_PORT=
NUM_WORKERS=
LOG_LEVEL=
M2M_AUTH_REGISTRY_BASE_URL=

🎁 Crates

Name Description Visit
http REST API Server for Retriving IDs from Redis Open
pubsub Redis Pub/Sub Server which saves IDs to Redis Open

🚀 Usage

$ cargo run --bin http
$ cargo run --bin pubsub

// or

$ docker-compose up

📝 License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.