mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
- rm config/ (cassandra/mysql/postgres/dual-cluster fork yamls)
- rm develop/ (fork docker-compose / grafana / temporalio-dashboards submodule)
- rm docs/{admin,architecture,development,_assets,ui-screenshots,Makefile,README.md,worker-versioning.md}
(kept docs/red-review-zap-sdk.md — pkg/sdk port review)
- rm k8s/{configmap.yaml,init-db.yaml,kms-secrets.yaml} (dynamic config + Postgres init for fork)
- rm .gitmodules (was: temporalio-dashboards Grafana, gone)
- Dockerfile: 27 lines, no CGO, no SQLite driver, exposes :9999 (ZAP) + :7243 (HTTP)
- Makefile: 30 lines, just build/ui/run/vet/test/tidy/clean
- k8s/deployment.yaml: single Deployment, single Service, single Ingress, /healthz probes
- k8s/kustomization.yaml: 2 resources (deployment + ingress)
Binary: 6.65 MB (-trimpath -ldflags="-s -w"), RSS 13 MB, boots <1s, all probes 200.
68 lines
1.3 KiB
Plaintext
68 lines
1.3 KiB
Plaintext
# https://d2lang.com
|
|
# Generate SVG by running `make` inside of `docs/`.
|
|
|
|
vars: {
|
|
d2-config: {
|
|
layout-engine: elk
|
|
}
|
|
}
|
|
|
|
Cluster: {
|
|
grid-rows: 2
|
|
vertical-gap: 10
|
|
|
|
label: "Temporal Cluster"
|
|
style.fill: transparent
|
|
style.stroke-dash: 3
|
|
style.double-border: false
|
|
|
|
Server: {
|
|
grid-columns: 3
|
|
horizontal-gap: 120
|
|
|
|
style.fill: transparent
|
|
style.stroke-dash: 3
|
|
|
|
History: {
|
|
style.multiple: true
|
|
}
|
|
Matching: {
|
|
style.multiple: true
|
|
}
|
|
Frontend: {
|
|
style.multiple: true
|
|
}
|
|
}
|
|
Database: {
|
|
label: ""
|
|
style.opacity: 0
|
|
|
|
grid-columns: 3
|
|
horizontal-gap: 120
|
|
vertical-gap: 10
|
|
|
|
placeho1.style.opacity: 0 # hack to align Database
|
|
Database: {
|
|
label: "Database"
|
|
style.border-radius: 100
|
|
}
|
|
}
|
|
}
|
|
|
|
Outside: {
|
|
grid-rows: 2
|
|
vertical-gap: 10
|
|
horizontal-gap: 20
|
|
style.opacity: 0
|
|
|
|
Worker: {
|
|
style.multiple: true
|
|
}
|
|
placeho.style.opacity: 0 # hack to align Worker
|
|
}
|
|
|
|
Outside.Worker -> Cluster.Server.Frontend: Poll Tasks
|
|
Cluster.Server.Frontend -> Cluster.Server.Matching: Poll Tasks
|
|
Cluster.Server.History <-> Cluster.Server.Matching: Add Tasks \n Record Start
|
|
Cluster.Server.Matching <-> Cluster.Database.Database
|