Templates / flowchart
Multi-region failover
Active-passive regions with a health-check-driven DNS failover path.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
flowchart
flowchart TD
dns[Global DNS / traffic manager] --> primary[Primary region]
dns -.failover.-> secondary[Secondary region]
health[Health checks] -->|primary healthy| dns
health -->|primary down| failover[Trigger failover]
failover --> dns
primary --> db1[(Primary DB)]
secondary --> db2[(Read replica)]
db1 -.async replication.-> db2More templates
flowchartArchitecture
Microservices architecture
A service map with an API gateway, core services, and shared infrastructure. A solid starting point for README architecture sections.
sequenceDiagramProcess
User login sequence
A login flow with token issuance and a failure branch. Useful for documenting auth endpoints and session behavior.
stateDiagram-v2Process
Order state machine
Lifecycle states for an e-commerce order, from creation to fulfillment, with cancellation and refund paths.