Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/engineers-cradle/distributed-id-indexer
Distributed ID Indexing System | Snowflake Store
https://github.com/engineers-cradle/distributed-id-indexer
actix actix-web redis redis-pubsub snowflake
Last synced: 4 days ago
JSON representation
Distributed ID Indexing System | Snowflake Store
- Host: GitHub
- URL: https://github.com/engineers-cradle/distributed-id-indexer
- Owner: Engineers-Cradle
- License: gpl-3.0
- Created: 2024-09-11T12:27:02.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T06:31:35.000Z (3 months ago)
- Last Synced: 2024-10-31T12:46:43.993Z (about 2 months ago)
- Topics: actix, actix-web, redis, redis-pubsub, snowflake
- Language: Rust
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
## Distributed ID Indexing System
![forthebadge](https://forthebadge.com/images/badges/open-source.svg)
![forthebadge](https://img.shields.io/github/languages/top/Engineers-Cradle/distributed-id-indexer?logo=rust&style=for-the-badge)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Engineers-Cradle/distributed-id-indexer/build-code.yaml?logo=rust&style=for-the-badge)### 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
- [Rust](https://www.rust-lang.org/tools/install)
### 🛠️ 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](./crates/http/) |
| pubsub | Redis Pub/Sub Server which saves IDs to Redis | [Open](./crates/pubsub/) |### 🚀 Usage
```bash
$ 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](./LICENSE) file for details.