📊 Roadmap de Crescimento
| Fase |
Custo/mês |
Capacidade |
Status |
| 1. MVP Local |
$50-100 |
100k eventos/dia |
✅ Atual |
| 2. Produção Inicial |
$500-800 |
1M eventos/dia |
⏳ Q1 2026 |
| 3. Escala Regional |
$2000-3000 |
10M eventos/dia |
📅 Q3 2026 |
| 4. Multi-região Global |
$5000+ |
100M+ eventos/dia |
📅 2027 |
🎯 Fase Atual: MVP Local
Infraestrutura
$50/mês
- 1 Servidor t3.xlarge (AWS)
- MongoDB 327M emails
- Redis Bloom Filter
- Nginx + Node.js
Capacidade Atual
100k/dia
- 5.3M visitantes capturados
- 19k identificados (0.37%)
- 326.7M MD5s no Bloom
- Taxa captura: 5k/hora
Próximos Passos
Em desenvolvimento
- Kafka/Redpanda
- ClickHouse analytics
- Kubernetes (EKS)
- Multi-tenant real
🚀 Arquitetura Futura Aprovada
SmartBMC Platform
├── Ingestion Layer (Nginx + Pixel Collector)
├── Message Bus (Redpanda → Kafka MSK)
├── Processing Layer
│ ├── Session Processor
│ ├── Graph Processor
│ └── ML Ranker
├── Data Layer
│ ├── MongoDB/DocumentDB (profiles)
│ ├── Redis/ElastiCache (cache)
│ ├── ClickHouse (analytics)
│ └── S3 (data lake)
└── API Layer
├── Recommendation API
├── Catalog API
└── Admin Dashboard
💰 Economia Realizada
Antes: 5 instâncias EC2 = $720/mês
Agora: 1 instância + Serverless = $150/mês
Economia: $570/mês ($6,840/ano)
📝 Decisões Técnicas Validadas
- ✅ Redpanda ao invés de Kafka (início)
- ✅ ClickHouse para analytics real-time
- ✅ Bloom Filter para matching eficiente
- ✅ MongoDB para flexibilidade inicial
- ✅ Serverless híbrido para escalar
- ❌ Evitar: Step Functions, multi-região inicial