Data Producer & Consumer Pattern
Architectural documentation of how data flows across the Swayamvarams platform — from where it's produced, through the messaging/event layer, to where it's consumed and acted upon.
22 Producer events4 Messaging channels15 Consumer handlers19 Entities tracked
Producers
Data originates from:
- User Frontend Actions
- Admin Frontend Actions
- Backend Functions & Integrations
Messaging / Event Layer
Events travel through:
- Entity Change Streams
- Entity Automations
- Scheduled Automations
- Stripe Webhooks
Consumers
Data is processed by:
- Frontend Real-time UI Subscriptions
- Backend Function Processors
- External Integrations (Email, SMS)
High-Level Architecture Diagram
User Frontend
Admin Frontend
Backend Functions
Stripe Webhooks
Base44 Event Bus
Entity Change Streams · Entity Automations · Scheduled Tasks
Frontend Real-time UI
Notification Service
Matching Engine
Email/SMS Gateway
Subscription Manager
Base44 DB (19 Entities)
Private File Storage
External Services (Stripe, Twilio, MSG91)