High-level Architecture
1. High-level Architecture of a Production App¶
Info
CI/CD
- Continuous Integration and Continuous DeploymentLoad Balancer
- Ensures user requests are evenly distributed between servers
Example: Nginx
Logging & Monitoring
- Standard practice is to store logs on a separate server from the production server
Examples: DataDog, Sentry, Prometheus
Alert Server
- Accumulates and sends out issue updates, either to users or developer Slack chats, to inform about issues.
1.1. Investigation Process¶
Once developers are informed of an issue, follow these steps to investigate
- Identify the issue in the logs
- Use Pipelines to deploy to a safe environment and replicate the issue
Never use production for this
- Release a quick patch to get things working again