Skip to content

Commit

Permalink
create architecture diagram with D2
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Oct 26, 2024
1 parent 75213bc commit 500e0dd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions architecture.d2
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
browser -> backend.server: REST API

GitHub: {
shape: cloud
icon: https://icons.terrastruct.com/dev%2Fgithub.svg
}

GitHub -> backend.server: webhook events

backend.server <-> backend.storage.Postgres: read/write data
backend.server <-> backend.storage.Redis: store KV data
backend.server <-> backend.storage.Influx: read data

backend.storage.Postgres.shape: cylinder
backend.storage.Redis.shape: cylinder
backend.storage.Influx.shape: cylinder

backend.gh-updater -- backend.storage.Postgres: listen to build status changes
backend.gh-updater -> GitHub: write check status

backend.executors.executor 1 -> backend.storage.Postgres: build status data
backend.executors.executor 2 -> backend.storage.Postgres: build status data
backend.executors.executor n -> backend.storage.Postgres: build status data

backend.executors.executor 1 -> backend.storage.Influx: build logs
backend.executors.executor 2 -> backend.storage.Influx: build logs
backend.executors.executor n -> backend.storage.Influx: build logs

0 comments on commit 500e0dd

Please sign in to comment.