Files
herolib/lib/data/ourdb_syncer/Diagram.md
Mahmoud Emad 5e321b6b0f feat: Add diagrams and README for OurDB syncer
- Added a diagram explaining the architecture of the OurDB
  syncer, clarifying the interaction between the HTTP server,
  master, and worker nodes.
- Added a README file providing a comprehensive overview of
  the OurDB syncer project, including its architecture,
  features, prerequisites, installation instructions, and usage
  examples.
- Removed outdated Mycelium_Streamer documentation as it's no
  longer relevant to the current project structure.
- Created example scripts for running the database, master,
  and worker components, simplifying the setup and execution of
  the system.
- Added HTTP client and server documentation, clarifying their
  functionalities and interaction with the OurDB system.
2025-03-11 14:49:43 +02:00

1.1 KiB

+-----------------+
|     User        |
| (HTTP Client)   |
+-----------------+
          |
          | HTTP Requests (GET, SET, DELETE)
          v
+-----------------+
|   HTTP Server   |
| (Exposed API)   |
+-----------------+
          |
          | Internal Communication via Mycelium Network
          |
          +-------------------+-------------------+
          |                   |                   |
          v                   v                   v
+-----------------+   +-----------------+   +-----------------+
|    Master       |   |    Worker 1     |   |    Worker 2     |
| (Handles Writes)|   | (Handles Reads) |   | (Handles Reads) |  
|    OurDB        |   |    OurDB        |   |    OurDB        |
+-----------------+   +-----------------+   +-----------------+
          |                   |                   |
          |                   |                   |
          |                   v                   |
          |     Data Sync via Mycelium Network    |
          |                                       |
          +------------------->+------------------+