Add MariaDB IPL validation, topology docs in beds.toml, and developer wiki
- Add MariaDB (REL) IPL validation — master required, secondary non-fatal
- Add RelNodeConfig / RelInstanceConfig structs with master/secondary pattern
- Add rel_services section to beds.toml and test fixture
- Add detailed topology commentary to beds.toml covering standalone,
master/replica, Galera cluster, and multi-DB-per-node configurations
- Add developer wiki (wiki/) covering:
- Origin story — PHP Namaste history, production record, why Rust
- Architecture overview — full system diagram, all layers explained
- The four nodes — appServer, admin, segundo, tercero with real-world context
- IPL sequence — every step documented with rationale for ordering
- Configuration system — layering, env selection, adding new sections
- Queue topology — exchanges, routing keys, broker bindings, vhost isolation
- Template system — REC/REL, TLA convention, cache map, warehousing
- Event lineage — compound event IDs, parent/child tracking, msLogs schema
- Glossary
- Update README with wiki index and MariaDB status
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
19
README.md
19
README.md
@@ -88,6 +88,7 @@ rustybeds/
|
||||
│ │ ├── mod.rs # Loader — load() and load_from() for testability
|
||||
│ │ └── structs.rs # Typed config structs (serde Deserialize)
|
||||
│ ├── amqp.rs # RabbitMQ transport — validate(), future channel/queue ops
|
||||
│ ├── mariadb.rs # MariaDB transport — validate_all(), future adapter ops
|
||||
│ ├── mongo.rs # MongoDB transport — validate_all(), future adapter ops
|
||||
│ ├── lib.rs # Public API surface for integration test harness
|
||||
│ ├── logging.rs # tracing + journald init
|
||||
@@ -139,7 +140,7 @@ The `config` crate deep-merges these at startup. Only keys present in the env fi
|
||||
| RabbitMQ reachability validation | Done |
|
||||
| Unit test scaffolding + config fixture pattern | Done |
|
||||
| MongoDB reachability validation | Done |
|
||||
| MariaDB reachability validation | Next |
|
||||
| MariaDB reachability validation | Done |
|
||||
| Shared filesystem validation | Next |
|
||||
| AMQP channel / queue declaration | Planned |
|
||||
| Broker pool (Tokio tasks) | Planned |
|
||||
@@ -150,6 +151,22 @@ The `config` crate deep-merges these at startup. Only keys present in the env fi
|
||||
|
||||
---
|
||||
|
||||
## Developer Wiki
|
||||
|
||||
Full framework documentation lives in [`wiki/`](wiki/Home.md):
|
||||
|
||||
- [Origin Story](wiki/01-origin-story.md) — Where BEDS came from and why it was built the way it was
|
||||
- [Architecture Overview](wiki/02-architecture.md) — Full system design and core principles
|
||||
- [The Four Nodes](wiki/03-nodes.md) — appServer, admin, segundo, tercero
|
||||
- [IPL — Initial Program Load](wiki/04-ipl.md) — Bootstrap sequence, step by step
|
||||
- [Configuration System](wiki/05-configuration.md) — Layered TOML, env files, topology options
|
||||
- [Queue Topology](wiki/06-queue-topology.md) — AMQP exchanges, queues, routing keys
|
||||
- [Template System](wiki/08-template-system.md) — REC and REL templates, TLA convention
|
||||
- [Event Lineage](wiki/09-event-lineage.md) — Compound event IDs, parent/child tracking
|
||||
- [Glossary](wiki/glossary.md) — Terms and abbreviations
|
||||
|
||||
---
|
||||
|
||||
## Performance Baseline
|
||||
|
||||
The PHP predecessor achieved:
|
||||
|
||||
Reference in New Issue
Block a user