new three layer deployment
This commit is contained in:
558
CLAUDE.md
558
CLAUDE.md
@@ -4,489 +4,129 @@
|
||||
|
||||
A real-time system monitoring platform that streams metrics from multiple machines to a central hub with live web dashboard. Built to demonstrate production microservices patterns (gRPC, FastAPI, streaming, event-driven architecture) while solving a real problem: monitoring development infrastructure across multiple machines.
|
||||
|
||||
**Primary Goal:** Interview demonstration project for Python Microservices Engineer position
|
||||
**Secondary Goal:** Actually useful tool for managing multi-machine development environment
|
||||
**Time Investment:** Phased approach - MVP in weekend, polish over 2-3 weeks
|
||||
**Primary Goal:** Portfolio project demonstrating real-time streaming architecture
|
||||
**Secondary Goal:** Actually useful tool for monitoring multi-machine development environment
|
||||
**Status:** Working MVP, deployed at sysmonstm.mcrn.ar
|
||||
|
||||
## Why This Project
|
||||
## Deployment Modes
|
||||
|
||||
**Interview Alignment:**
|
||||
- Demonstrates gRPC-based microservices architecture (core requirement)
|
||||
- Shows streaming patterns (server-side and bidirectional)
|
||||
- Real-time data aggregation and processing
|
||||
- Alert/threshold monitoring (maps to fraud detection)
|
||||
- Event-driven patterns
|
||||
- Multiple data sources requiring normalization (maps to multiple payment processors)
|
||||
### Production (3-tier)
|
||||
|
||||
**Personal Utility:**
|
||||
- Monitors existing multi-machine dev setup
|
||||
- Dashboard stays open, provides real value
|
||||
- Solves actual pain point
|
||||
- Will continue running post-interview
|
||||
```
|
||||
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
||||
│ Collector │────▶│ Hub │────▶│ Edge │
|
||||
│ (each host) │ │ (local) │ │ (AWS) │
|
||||
└─────────────┘ └─────────────┘ └─────────────┘
|
||||
```
|
||||
|
||||
**Domain Mapping for Interview:**
|
||||
- Machine = Payment Processor
|
||||
- Metrics Stream = Transaction Stream
|
||||
- Resource Thresholds = Fraud/Limit Detection
|
||||
- Alert System = Risk Management
|
||||
- Aggregation Service = Payment Processing Hub
|
||||
- **Collector** (`ctrl/collector/`) - Lightweight agent on each monitored machine
|
||||
- **Hub** (`ctrl/hub/`) - Local aggregator, receives from collectors, forwards to edge
|
||||
- **Edge** (`ctrl/edge/`) - Cloud dashboard, public-facing
|
||||
|
||||
### Development (Full Stack)
|
||||
|
||||
```bash
|
||||
docker compose up # Uses ctrl/dev/docker-compose.yml
|
||||
```
|
||||
|
||||
- Full gRPC-based microservices architecture
|
||||
- Services: aggregator, gateway, collector, alerts
|
||||
- Storage: Redis (hot), TimescaleDB (historical)
|
||||
|
||||
## Directory Structure
|
||||
|
||||
```
|
||||
sms/
|
||||
├── services/ # gRPC-based microservices (dev stack)
|
||||
│ ├── collector/ # gRPC client, streams to aggregator
|
||||
│ ├── aggregator/ # gRPC server, stores in Redis/TimescaleDB
|
||||
│ ├── gateway/ # FastAPI, bridges gRPC to WebSocket
|
||||
│ └── alerts/ # Event subscriber for threshold alerts
|
||||
│
|
||||
├── ctrl/ # Deployment configurations
|
||||
│ ├── collector/ # Lightweight WebSocket collector
|
||||
│ ├── hub/ # Local aggregator
|
||||
│ ├── edge/ # Cloud dashboard
|
||||
│ └── dev/ # Full stack docker-compose
|
||||
│
|
||||
├── proto/ # Protocol Buffer definitions
|
||||
├── shared/ # Shared Python modules
|
||||
├── web/ # Dashboard templates and static files
|
||||
├── infra/ # Terraform for AWS deployment
|
||||
└── k8s/ # Kubernetes manifests
|
||||
```
|
||||
|
||||
## Current Setup
|
||||
|
||||
**Machines being monitored:**
|
||||
- `mcrn` - Primary workstation (runs hub + collector)
|
||||
- `nfrt` - Secondary machine (runs collector only)
|
||||
|
||||
**Topology:**
|
||||
```
|
||||
mcrn nfrt AWS
|
||||
├── hub ◄─────────────────── collector edge (sysmonstm.mcrn.ar)
|
||||
│ │ ▲
|
||||
│ └────────────────────────────────────────────────┘
|
||||
└── collector
|
||||
```
|
||||
|
||||
## Technical Stack
|
||||
|
||||
### Core Technologies (Must Use - From JD)
|
||||
### Core Technologies
|
||||
- **Python 3.11+** - Primary language
|
||||
- **FastAPI** - Web gateway, REST endpoints, WebSocket streaming
|
||||
- **gRPC** - Inter-service communication, metric streaming
|
||||
- **PostgreSQL/TimescaleDB** - Time-series historical data
|
||||
- **Redis** - Current state, caching, alert rules
|
||||
- **Docker Compose** - Orchestration
|
||||
|
||||
### Supporting Technologies
|
||||
- **Protocol Buffers** - gRPC message definitions
|
||||
- **WebSockets** - Browser streaming
|
||||
- **htmx + Alpine.js** - Lightweight reactive frontend (avoid heavy SPA)
|
||||
- **Chart.js or Apache ECharts** - Real-time graphs
|
||||
- **asyncio** - Async patterns throughout
|
||||
|
||||
### Development Tools
|
||||
- **grpcio & grpcio-tools** - Python gRPC
|
||||
- **gRPC** - Inter-service communication (dev stack)
|
||||
- **WebSockets** - Production deployment communication
|
||||
- **psutil** - System metrics collection
|
||||
- **uvicorn** - FastAPI server
|
||||
- **pytest** - Testing
|
||||
- **docker-compose** - Local orchestration
|
||||
|
||||
## Architecture
|
||||
### Storage (Dev Stack Only)
|
||||
- **PostgreSQL/TimescaleDB** - Time-series historical data
|
||||
- **Redis** - Current state, caching, event pub/sub
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ Browser │
|
||||
│ ┌──────────────────────────────────────────────────────┐ │
|
||||
│ │ Dashboard (htmx + Alpine.js + WebSockets) │ │
|
||||
│ └──────────────────────────────────────────────────────┘ │
|
||||
└────────────────────────┬────────────────────────────────────┘
|
||||
│ WebSocket
|
||||
▼
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ Web Gateway Service │
|
||||
│ (FastAPI + WebSockets) │
|
||||
│ - Serves dashboard │
|
||||
│ - Streams updates to browser │
|
||||
│ - REST API for historical queries │
|
||||
└────────────────────────┬────────────────────────────────────┘
|
||||
│ gRPC
|
||||
▼
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ Aggregator Service (gRPC) │
|
||||
│ - Receives metric streams from all collectors │
|
||||
│ - Normalizes data from different sources │
|
||||
│ - Enriches with machine context │
|
||||
│ - Publishes to event stream │
|
||||
│ - Checks alert thresholds │
|
||||
└─────┬───────────────────────────────────┬───────────────────┘
|
||||
│ │
|
||||
│ Stores │ Publishes events
|
||||
▼ ▼
|
||||
┌──────────────┐ ┌────────────────┐
|
||||
│ TimescaleDB │ │ Event Stream │
|
||||
│ (historical)│ │ (Redis Pub/Sub│
|
||||
└──────────────┘ │ or RabbitMQ) │
|
||||
└────────┬───────┘
|
||||
┌──────────────┐ │
|
||||
│ Redis │ │ Subscribes
|
||||
│ (current │◄───────────────────────────┘
|
||||
│ state) │ │
|
||||
└──────────────┘ ▼
|
||||
┌────────────────┐
|
||||
▲ │ Alert Service │
|
||||
│ │ - Processes │
|
||||
│ │ events │
|
||||
│ gRPC Streaming │ - Triggers │
|
||||
│ │ actions │
|
||||
┌─────┴────────────────────────────┴────────────────┘
|
||||
│
|
||||
│ Multiple Collector Services (one per machine)
|
||||
│ ┌───────────────────────────────────────┐
|
||||
│ │ Metrics Collector (gRPC Client) │
|
||||
│ │ - Gathers system metrics (psutil) │
|
||||
│ │ - Streams to Aggregator via gRPC │
|
||||
│ │ - CPU, Memory, Disk, Network │
|
||||
│ │ - Process list │
|
||||
│ │ - Docker container stats (optional) │
|
||||
│ └───────────────────────────────────────┘
|
||||
│
|
||||
└──► Machine 1, Machine 2, Machine 3, ...
|
||||
```
|
||||
### Infrastructure
|
||||
- **Docker Compose** - Orchestration
|
||||
- **Woodpecker CI** - Build pipeline at ppl/pipelines/sysmonstm/
|
||||
- **Registry** - registry.mcrn.ar/sysmonstm/
|
||||
|
||||
## Implementation Phases
|
||||
## Images
|
||||
|
||||
### Phase 1: MVP - Core Streaming (Weekend - 8-12 hours)
|
||||
|
||||
**Goal:** Prove the gRPC streaming works end-to-end
|
||||
|
||||
**Deliverables:**
|
||||
1. Metrics Collector Service (gRPC client)
|
||||
- Collects CPU, memory, disk on localhost
|
||||
- Streams to aggregator every 5 seconds
|
||||
|
||||
2. Aggregator Service (gRPC server)
|
||||
- Receives metric stream
|
||||
- Stores current state in Redis
|
||||
- Logs to console
|
||||
|
||||
3. Proto definitions for metric messages
|
||||
|
||||
4. Docker Compose setup
|
||||
|
||||
**Success Criteria:**
|
||||
- Run collector, see metrics flowing to aggregator
|
||||
- Redis contains current state
|
||||
- Can query Redis manually for latest metrics
|
||||
|
||||
### Phase 2: Web Dashboard (1 week)
|
||||
|
||||
**Goal:** Make it visible and useful
|
||||
|
||||
**Deliverables:**
|
||||
1. Web Gateway Service (FastAPI)
|
||||
- WebSocket endpoint for streaming
|
||||
- REST endpoints for current/historical data
|
||||
|
||||
2. Dashboard UI
|
||||
- Real-time CPU/Memory graphs per machine
|
||||
- Current state table
|
||||
- Simple, clean design
|
||||
|
||||
3. WebSocket bridge (Gateway ↔ Aggregator)
|
||||
|
||||
4. TimescaleDB integration
|
||||
- Store historical metrics
|
||||
- Query endpoints for time ranges
|
||||
|
||||
**Success Criteria:**
|
||||
- Open dashboard, see live graphs updating
|
||||
- Graphs show last hour of data
|
||||
- Multiple machines displayed separately
|
||||
|
||||
### Phase 3: Alerts & Intelligence (1 week)
|
||||
|
||||
**Goal:** Add decision-making layer (interview focus)
|
||||
|
||||
**Deliverables:**
|
||||
1. Alert Service
|
||||
- Subscribes to event stream
|
||||
- Evaluates threshold rules
|
||||
- Triggers notifications
|
||||
|
||||
2. Configuration Service (gRPC)
|
||||
- Dynamic threshold management
|
||||
- Alert rule CRUD
|
||||
- Stored in PostgreSQL
|
||||
|
||||
3. Event Stream implementation (Redis Pub/Sub or RabbitMQ)
|
||||
|
||||
4. Enhanced dashboard
|
||||
- Alert indicators
|
||||
- Alert history
|
||||
- Threshold configuration UI
|
||||
|
||||
**Success Criteria:**
|
||||
- Set CPU threshold at 80%
|
||||
- Generate load (stress-ng)
|
||||
- See alert trigger in dashboard
|
||||
- Alert logged to database
|
||||
|
||||
### Phase 4: Interview Polish (Final week)
|
||||
|
||||
**Goal:** Demo-ready, production patterns visible
|
||||
|
||||
**Deliverables:**
|
||||
1. Observability
|
||||
- OpenTelemetry tracing (optional)
|
||||
- Structured logging
|
||||
- Health check endpoints
|
||||
|
||||
2. "Synthetic Transactions"
|
||||
- Simulate business operations through system
|
||||
- Track end-to-end latency
|
||||
- Maps directly to payment processing demo
|
||||
|
||||
3. Documentation
|
||||
- Architecture diagram
|
||||
- Service interaction flows
|
||||
- Deployment guide
|
||||
|
||||
4. Demo script
|
||||
- Story to walk through
|
||||
- Key talking points
|
||||
- Domain mapping explanations
|
||||
|
||||
**Success Criteria:**
|
||||
- Can deploy entire stack with one command
|
||||
- Can explain every service's role
|
||||
- Can map architecture to payment processing
|
||||
- Demo runs smoothly without hiccups
|
||||
|
||||
## Key Technical Patterns to Demonstrate
|
||||
|
||||
### 1. gRPC Streaming Patterns
|
||||
|
||||
**Server-Side Streaming:**
|
||||
```python
|
||||
# Collector streams metrics to aggregator
|
||||
service MetricsService {
|
||||
rpc StreamMetrics(MetricsRequest) returns (stream Metric) {}
|
||||
}
|
||||
```
|
||||
|
||||
**Bidirectional Streaming:**
|
||||
```python
|
||||
# Two-way communication between services
|
||||
service ControlService {
|
||||
rpc ManageStream(stream Command) returns (stream Response) {}
|
||||
}
|
||||
```
|
||||
|
||||
### 2. Service Communication Patterns
|
||||
|
||||
- **Synchronous (gRPC):** Query current state, configuration
|
||||
- **Asynchronous (Events):** Metric updates, alerts, audit logs
|
||||
- **Streaming (gRPC + WebSocket):** Real-time data flow
|
||||
|
||||
### 3. Data Storage Patterns
|
||||
|
||||
- **Hot data (Redis):** Current state, recent metrics (last 5 minutes)
|
||||
- **Warm data (TimescaleDB):** Historical metrics (last 30 days)
|
||||
- **Cold data (Optional):** Archive to S3-compatible storage
|
||||
|
||||
### 4. Error Handling & Resilience
|
||||
|
||||
- gRPC retry logic with exponential backoff
|
||||
- Circuit breaker pattern for service calls
|
||||
- Graceful degradation (continue if one collector fails)
|
||||
- Dead letter queue for failed events
|
||||
|
||||
## Proto Definitions (Starting Point)
|
||||
|
||||
```protobuf
|
||||
syntax = "proto3";
|
||||
|
||||
package monitoring;
|
||||
|
||||
service MetricsService {
|
||||
rpc StreamMetrics(MetricsRequest) returns (stream Metric) {}
|
||||
rpc GetCurrentState(StateRequest) returns (MachineState) {}
|
||||
}
|
||||
|
||||
message MetricsRequest {
|
||||
string machine_id = 1;
|
||||
int32 interval_seconds = 2;
|
||||
}
|
||||
|
||||
message Metric {
|
||||
string machine_id = 1;
|
||||
int64 timestamp = 2;
|
||||
MetricType type = 3;
|
||||
double value = 4;
|
||||
map<string, string> labels = 5;
|
||||
}
|
||||
|
||||
enum MetricType {
|
||||
CPU_PERCENT = 0;
|
||||
MEMORY_PERCENT = 1;
|
||||
MEMORY_USED_GB = 2;
|
||||
DISK_PERCENT = 3;
|
||||
NETWORK_SENT_MBPS = 4;
|
||||
NETWORK_RECV_MBPS = 5;
|
||||
}
|
||||
|
||||
message MachineState {
|
||||
string machine_id = 1;
|
||||
int64 last_seen = 2;
|
||||
repeated Metric current_metrics = 3;
|
||||
HealthStatus health = 4;
|
||||
}
|
||||
|
||||
enum HealthStatus {
|
||||
HEALTHY = 0;
|
||||
WARNING = 1;
|
||||
CRITICAL = 2;
|
||||
UNKNOWN = 3;
|
||||
}
|
||||
```
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
system-monitor/
|
||||
├── docker-compose.yml
|
||||
├── proto/
|
||||
│ └── metrics.proto
|
||||
├── services/
|
||||
│ ├── collector/
|
||||
│ │ ├── Dockerfile
|
||||
│ │ ├── requirements.txt
|
||||
│ │ ├── main.py
|
||||
│ │ └── metrics.py
|
||||
│ ├── aggregator/
|
||||
│ │ ├── Dockerfile
|
||||
│ │ ├── requirements.txt
|
||||
│ │ ├── main.py
|
||||
│ │ └── storage.py
|
||||
│ ├── gateway/
|
||||
│ │ ├── Dockerfile
|
||||
│ │ ├── requirements.txt
|
||||
│ │ ├── main.py
|
||||
│ │ └── websocket.py
|
||||
│ └── alerts/
|
||||
│ ├── Dockerfile
|
||||
│ ├── requirements.txt
|
||||
│ ├── main.py
|
||||
│ └── rules.py
|
||||
├── web/
|
||||
│ ├── static/
|
||||
│ │ ├── css/
|
||||
│ │ └── js/
|
||||
│ └── templates/
|
||||
│ └── dashboard.html
|
||||
└── README.md
|
||||
```
|
||||
|
||||
## Interview Talking Points
|
||||
|
||||
### Domain Mapping to Payments
|
||||
|
||||
**What you say:**
|
||||
- "I built this to monitor my dev machines, but the architecture directly maps to payment processing"
|
||||
- "Each machine streaming metrics is like a payment processor streaming transactions"
|
||||
- "The aggregator normalizes data from different sources - same as aggregating from Stripe, PayPal, bank APIs"
|
||||
- "Alert thresholds on resource usage are structurally identical to fraud detection thresholds"
|
||||
- "The event stream for audit trails maps directly to payment audit logs"
|
||||
|
||||
### Technical Decisions to Highlight
|
||||
|
||||
**gRPC vs REST:**
|
||||
- "I use gRPC between services for efficiency and strong typing"
|
||||
- "FastAPI gateway exposes REST/WebSocket for browser clients"
|
||||
- "This pattern is common - internal gRPC, external REST"
|
||||
|
||||
**Streaming vs Polling:**
|
||||
- "Server-side streaming reduces network overhead"
|
||||
- "Bidirectional streaming allows dynamic configuration updates"
|
||||
- "WebSocket to browser maintains single connection"
|
||||
|
||||
**State Management:**
|
||||
- "Redis for hot data - current state, needs fast access"
|
||||
- "TimescaleDB for historical analysis - optimized for time-series"
|
||||
- "This tiered storage approach scales to payment transaction volumes"
|
||||
|
||||
**Resilience:**
|
||||
- "Each collector is independent - one failing doesn't affect others"
|
||||
- "Circuit breaker prevents cascade failures"
|
||||
- "Event stream decouples alert processing from metric ingestion"
|
||||
|
||||
### What NOT to Say
|
||||
|
||||
- Don't call it a "toy project" or "learning exercise"
|
||||
- Don't apologize for running locally vs AWS
|
||||
- Don't over-explain obvious things
|
||||
- Don't claim it's production-ready when it's not
|
||||
|
||||
### What TO Say
|
||||
|
||||
- "I built this to solve a real problem I have"
|
||||
- "Locally it uses PostgreSQL/Redis, in production these become Aurora/ElastiCache"
|
||||
- "I focused on the architectural patterns since those transfer directly"
|
||||
- "I'd keep developing this - it's genuinely useful"
|
||||
| Image | Purpose |
|
||||
|-------|---------|
|
||||
| `collector` | Lightweight WebSocket collector for production |
|
||||
| `hub` | Local aggregator for production |
|
||||
| `edge` | Cloud dashboard for production |
|
||||
| `aggregator` | gRPC aggregator (dev stack) |
|
||||
| `gateway` | FastAPI gateway (dev stack) |
|
||||
| `collector-grpc` | gRPC collector (dev stack) |
|
||||
| `alerts` | Alert service (dev stack) |
|
||||
|
||||
## Development Guidelines
|
||||
|
||||
### Code Quality Standards
|
||||
### Code Quality
|
||||
- Type hints throughout (Python 3.11+ syntax)
|
||||
- Async/await patterns consistently
|
||||
- Structured logging (JSON format)
|
||||
- Error handling at all boundaries
|
||||
- Unit tests for business logic
|
||||
- Integration tests for service interactions
|
||||
- Logging (not print statements)
|
||||
- Error handling at boundaries
|
||||
|
||||
### Docker Best Practices
|
||||
- Multi-stage builds
|
||||
- Non-root users
|
||||
- Health checks
|
||||
- Resource limits
|
||||
- Volume mounts for development
|
||||
### Docker
|
||||
- Multi-stage builds for smaller images
|
||||
- `--network host` for collectors (accurate network metrics)
|
||||
|
||||
### Configuration Management
|
||||
### Configuration
|
||||
- Environment variables for all config
|
||||
- Sensible defaults
|
||||
- Config validation on startup
|
||||
- No secrets in code
|
||||
|
||||
## AWS Mapping (For Interview Discussion)
|
||||
## Interview/Portfolio Talking Points
|
||||
|
||||
**What you have → What it becomes:**
|
||||
- PostgreSQL → Aurora PostgreSQL
|
||||
- Redis → ElastiCache
|
||||
- Docker Containers → ECS/Fargate or Lambda
|
||||
- RabbitMQ/Redis Pub/Sub → SQS/SNS
|
||||
- Docker Compose → CloudFormation/Terraform
|
||||
- Local networking → VPC, Security Groups
|
||||
### Architecture Decisions
|
||||
- "3-tier for production: collector → hub → edge"
|
||||
- "Hub allows local aggregation and buffering before forwarding to cloud"
|
||||
- "Edge terminology shows awareness of edge computing patterns"
|
||||
- "Full gRPC stack for development demonstrates microservices patterns"
|
||||
|
||||
**Key point:** "The architecture and patterns are production-ready, the infrastructure is local for development convenience"
|
||||
|
||||
## Common Pitfalls to Avoid
|
||||
|
||||
1. **Over-engineering Phase 1** - Resist adding features, just get streaming working
|
||||
2. **Ugly UI** - Don't waste time on design, htmx + basic CSS is fine
|
||||
3. **Perfect metrics** - Mock data is OK early on, real psutil data comes later
|
||||
4. **Complete coverage** - Better to have 3 services working perfectly than 10 half-done
|
||||
5. **AWS deployment** - Local is fine, AWS costs money and adds complexity
|
||||
|
||||
## Success Metrics
|
||||
|
||||
**For Yourself:**
|
||||
- [ ] Actually use the dashboard daily
|
||||
- [ ] Catches a real issue before you notice
|
||||
- [ ] Runs stable for 1+ week without intervention
|
||||
|
||||
**For Interview:**
|
||||
- [ ] Can demo end-to-end in 5 minutes
|
||||
- [ ] Can explain every service interaction
|
||||
- [ ] Can map to payment domain fluently
|
||||
- [ ] Shows understanding of production patterns
|
||||
|
||||
## Next Steps
|
||||
|
||||
1. Set up project structure
|
||||
2. Define proto messages
|
||||
3. Build Phase 1 MVP
|
||||
4. Iterate based on what feels useful
|
||||
5. Polish for demo when interview approaches
|
||||
|
||||
## Resources
|
||||
|
||||
- gRPC Python docs: https://grpc.io/docs/languages/python/
|
||||
- FastAPI WebSockets: https://fastapi.tiangolo.com/advanced/websockets/
|
||||
- TimescaleDB: https://docs.timescale.com/
|
||||
- htmx: https://htmx.org/
|
||||
|
||||
## Questions to Ask Yourself During Development
|
||||
|
||||
- "Would I actually use this feature?"
|
||||
- "How does this map to payments?"
|
||||
- "Can I explain why I built it this way?"
|
||||
- "What would break if X service failed?"
|
||||
- "How would this scale to 1000 machines?"
|
||||
|
||||
---
|
||||
|
||||
## Final Note
|
||||
|
||||
This project works because it's:
|
||||
1. **Real** - You'll use it
|
||||
2. **Focused** - Shows specific patterns they care about
|
||||
3. **Mappable** - Clear connection to their domain
|
||||
4. **Yours** - Not a tutorial copy, demonstrates your thinking
|
||||
|
||||
Build it in phases, use it daily, and by interview time you'll have natural stories about trade-offs, failures, and learnings. That authenticity is more valuable than perfect code.
|
||||
|
||||
Good luck! 🚀
|
||||
### Trade-offs
|
||||
- Production vs Dev: simplicity/cost vs full architecture demo
|
||||
- WebSocket vs gRPC: browser compatibility vs efficiency
|
||||
- In-memory vs persistent: operational simplicity vs durability
|
||||
|
||||
Reference in New Issue
Block a user