Takabachan
Takabachan: 2 services, 9 components and 15 connections on 3 hosts — takabachan-social and takabachan-ecommerce.
A multi-service system design shared from System Canvas. A plain-text version of this design is available as Markdown.
How the services connect
Components
- takabachan-social (Microservice), in VPC Takabachan VPC
- takabachan-ecommerce (Microservice), in VPC Takabachan VPC
- User / Client: Requests Per Second: 10000 req/s; Protocol: HTTPS
- Cloudflare Worker (API Gateway): Protocol: HTTPS; Rate Limit (req/s): 0 req/s
- Cloudflare CDN (CDN): TTL: 3600 s; Cache Hit Rate: 0.8
- Meilisearch (Elasticsearch), in VPC Takabachan VPC, on host VPS: Cluster Nodes: 1; RAM per Node: 8,192 MB; Request Absorption Rate: 1
- NATs Stream (Message Queue), in VPC Takabachan VPC, on host VPS: Queue Type: Standard; Visibility Timeout: 30 s; Request Absorption Rate: 1
- Valkey (In-Memory Cache), in VPC Takabachan VPC, on host VPS: Memory: 4,096 MB; Max Connections: 10000; Cache Hit Rate: 0.9; Request Absorption Rate: 1; Enable Sharding: off
Connections
- User / Client → Cloudflare CDN (HTTPS, cache path)
- Cloudflare CDN → Cloudflare Worker (HTTPS)
- Cloudflare Worker → takabachan-ecommerce (HTTP)
- Cloudflare Worker → Meilisearch (HTTP)
- Cloudflare Worker → takabachan-social (HTTP)
- takabachan-social → Valkey (TCP, cache path)
- takabachan-social → NATs Stream (HTTPS)
- NATs Stream → takabachan-ecommerce (HTTPS)
- NATs Stream → takabachan-social (HTTPS)
- Meilisearch → takabachan-ecommerce (HTTPS)
- Meilisearch → takabachan-social (HTTPS)
- takabachan-ecommerce → NATs Stream (HTTPS)
- takabachan-ecommerce → Valkey (TCP, cache path)
Machines
- VPS: 12 vCPU, 16,384 MB RAM, 1000 Mbps, shared by Meilisearch, NATs Stream, Valkey
Networks
- Takabachan VPC (us-east-1, 10.0.0.0/16): takabachan-social, takabachan-ecommerce, Meilisearch, NATs Stream, Valkey
Service: takabachan-social
Components
- SQL Database, on host VPS: RAM: 1,500 MB; Max Connections: 100; IOPS: 500; Partitioning: None; Enable Sharding: off; Request Absorption Rate: 1
- Server / VM, on host VPS: RAM: 1,500 MB; CPU Cores: 2; Max Connections: 1000; Request Absorption Rate: 1
Connections
- Server / VM → SQL Database (HTTPS)
Machines
- VPS: 4 vCPU, 4,096 MB RAM, 1000 Mbps, shared by SQL Database, Server / VM
Service: takabachan-ecommerce
Components
- Server / VM, on host VPS: RAM: 1,500 MB; CPU Cores: 2; Max Connections: 1000; Request Absorption Rate: 1
- SQL Database, on host VPS: RAM: 2,048 MB; Max Connections: 100; IOPS: 500; Partitioning: None; Enable Sharding: off; Request Absorption Rate: 1
Connections
- Server / VM → SQL Database (HTTPS)
Machines
- VPS: 4 vCPU, 4,096 MB RAM, 1000 Mbps, shared by Server / VM, SQL Database
Open this design in System Canvas to explore it and simulate it under load. See how the simulation engine works.