Messaging Infrastructure (RabbitMQ)
Relevant source files
The following files were used as context for generating this wiki page:
- TAMV-MASTER-DOCUMENTATION.md
- ARCHIVE/remaining-docs-consolidated-2026-02-13/TAMV-BACKEND-COMPLETE.md
- ARCHIVE/remaining-docs-consolidated-2026-02-13/TAMV-COMPLETE-IMPLEMENTATION-PLAN.md
- ARCHIVE/remaining-docs-consolidated-2026-02-13/REPORTE-AVANCE-TECNICO-COMPLETO.md
- ARCHIVE/remaining-docs-consolidated-2026-02-13/IMPLEMENTATION-PROGRESS-REPORT.md
The Messaging Infrastructure within the TAMV (Territorio Autónomo de Memoria Viva) ecosystem serves as the backbone for asynchronous communication, real-time event processing, and service orchestration. It is designed to support the "Multiverse Market" and immersive XR/VR experiences by facilitating high-speed data transfer between microservices, including the Isabella AI framework and the MSR Blockchain registry.
This infrastructure is critical for maintaining the system's "Antifragile Architecture," ensuring that message flows for social interactions, virtual gifts (CGIFTS), and quantum-encrypted private chats remain resilient even under high concurrent loads. It integrates with the broader Technical Architecture to support decentralized governance and the creator economy.
Sources: TAMV-MASTER-DOCUMENTATION.md:12-25, ARCHIVE/remaining-docs-consolidated-2026-02-13/REPORTE-AVANCE-TECNICO-COMPLETO.md:130-145
Architectural Integration
The messaging layer operates as part of the "Technical-Infrastructural" layer (Layer 6) of the TAMV seven-federated-layer model. It specifically enables communication for "QuantumPods"—microservices that execute specific domain logic such as identity management, market assets, and AI processing.
Service Connectivity
The messaging system connects several core service pods, ensuring that events in one domain (e.g., a purchase in the marketplace) trigger appropriate responses in others (e.g., updating the MSR Blockchain registry or notifying a user via Isabella AI).
The diagram shows how the Messaging Infrastructure acts as a central hub for event distribution across specialized TAMV service pods.
Sources: TAMV-MASTER-DOCUMENTATION.md:90-125, ARCHIVE/remaining-docs-consolidated-2026-02-13/REPORTE-AVANCE-TECNICO-COMPLETO.md:148-155
Core Messaging Features
The infrastructure is implemented to handle various communication patterns required by the advanced social network and the educational platform (UTAMV).
| Feature | Description | Implementation Focus |
|---|---|---|
| Real-time Notifications | Facilitates instant alerts for likes, comments, and follows. | WebSocket + MQ Integration |
| Transaction Orchestration | Manages the FairSplit payment system and revenue distribution. | TCEP Engine + MQ |
| AI Event Bus | Routes data to Isabella AI for content moderation and study assistance. | Isabella Orchestrator |
| Audit Logging | Sends evidence hashes to the BookPI registry for immutable logging. | MSR Blockchain Pod |
Sources: TAMV-MASTER-DOCUMENTATION.md:140-160, ARCHIVE/remaining-docs-consolidated-2026-02-13/TAMV-COMPLETE-IMPLEMENTATION-PLAN.md:10-25, ARCHIVE/remaining-docs-consolidated-2026-02-13/REPORTE-AVANCE-TECNICO-COMPLETO.md:160-175
Event Data Flow
The data flow within the messaging infrastructure follows a strict "TAP" (TAMV Action Protocol) over WebSockets for XR events and standard AMQP-style patterns for backend service synchronization.
Action Orchestration Sequence
When a citizen performs an action, the message undergoes ethical auditing before being registered and executed.
The sequence diagram illustrates the workflow of a sovereign action being audited and registered via the messaging and kernel layers.
Sources: ARCHIVE/remaining-docs-consolidated-2026-02-13/REPORTE-AVANCE-TECNICO-COMPLETO.md:178-205, TAMV-MASTER-DOCUMENTATION.md:290-305
Deployment and Monitoring
The messaging infrastructure is containerized using Docker and managed within a Kubernetes cluster to ensure high availability and zero-trust security.
Infrastructure Configuration
The deployment utilizes "Secure Mesh" networking to isolate internal message traffic from the public internet.
# Infrastructure Configuration for Messaging Components
messaging_infrastructure:
container: rabbitmq:3-management-alpine
network: tamv-secure-mesh
security:
- air_gapped_mode: true
- anubis_sentinel_active: true
metrics:
- rollback_window: 600s
- detection_time: < 2s
Sources: TAMV-MASTER-DOCUMENTATION.md:320-335, ARCHIVE/remaining-docs-consolidated-2026-02-13/REPORTE-AVANCE-TECNICO-COMPLETO.md:218-235
Reliability and Scaling
To support the "Multiverse Market," the infrastructure is tuned for:
- Latency: Target response times of less than 50ms under normal load.
- Throughput: Tested to handle up to 100,000 concurrent users via horizontal scaling of QuantumPods.
- Resilience: A 10-minute rollback window (RPO/RTO) for state recovery in the event of service failure.
Sources: TAMV-MASTER-DOCUMENTATION.md:370-385, ARCHIVE/remaining-docs-consolidated-2026-02-13/IMPLEMENTATION-PROGRESS-REPORT.md:110-125
Summary
The Messaging Infrastructure (RabbitMQ) is a foundational component of the TAMV project, enabling asynchronous, sovereign, and audited communication between microservices. By integrating Isabella AI for intent auditing and the MSR Blockchain for evidence registration, it ensures that all system interactions remain ethically aligned and technically immutable, supporting the project's vision of digital dignity and autonomy.