Skip to content

Instantly share code, notes, and snippets.

@sferik
Created September 8, 2016 03:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sferik/f8f3ea2ebfadd2a5b92d6b66f5fd5eaf to your computer and use it in GitHub Desktop.
Save sferik/f8f3ea2ebfadd2a5b92d6b66f5fd5eaf to your computer and use it in GitHub Desktop.
digraph G {
label="Caddy Architecture"
labelloc="top"
fontsize=20
fontname="Helvetica Neue"
node [shape="ellipse", style="filled", fontname="Helvetica Neue"]
edge [fontname="Helvetica Neue"]
peripheries=0
rankdir="LR"
subgraph clusterClient {
bgcolor="#d0c0a0"
fontsize=16
label="Client"
Browser
}
subgraph clusterServer {
bgcolor="#d0c0a0"
fontsize=16
label="Server"
subgraph clusterApp {
bgcolor="#b02b2c"
label="Ruby Process"
App
subgraph clusterCaddy {
bgcolor="#b02b2c"
label=""
Caddy
}
}
"Etc."
Database
"Slow Service"
}
Browser -> App [dir="both"]
App -> Caddy [dir="both"]
Caddy -> Database [label="Async Refresh", style="dotted", dir="both"]
Caddy -> "Slow Service" [style="dotted", dir="both"]
Caddy -> "Etc." [style="dotted", dir="both"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment