Created
January 23, 2015 14:46
-
-
Save cofyc/266d0d4dd8f54ead9ee9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* dnspod-sr architecture | |
* Date: Fri Jan 23 22:44:47 2015 +0800 | |
* Author: Yecheng Fu <cofyc.jackson@gmail.com> | |
*/ | |
digraph G { | |
// graph | |
labelloc="t" | |
splines=true | |
label="dnspod-sr architecture" | |
dpi = 100 | |
rankdir = LR | |
node [ | |
shape=record | |
] | |
// nodes | |
clients -> sentinel [label="query (udp/tcp)"] | |
subgraph cluster_0 { | |
label = "dnspod-sr" | |
color = blue | |
sentinel -> fetchers [label="fetcher queue", style=dotted] | |
fetchers [ | |
shape = record | |
label = "{fetchers | {fetcher 0 | fetcher 1 | ... }}" | |
] | |
fetchers -> quizzers [label="query queue", style=dotted] | |
fetchers -> memory [label="fetch"] | |
quizzers -> memory [label="store"] | |
memory [ | |
label = "{datasets|ttl list} | memory" | |
color = green | |
] | |
{ rank=same; fetchers; memory; } | |
} | |
clients [ | |
] | |
fetchers -> clients [ | |
label="response (udp/tcp) if hits in memory" | |
constraint=false | |
] | |
quizzers [ | |
label = "{quizzers | {quizzer 0 | quizzer 1 | ... }}" | |
] | |
quizzers -> clients [ | |
label="response (udp/tcp)" | |
constraint=false | |
] | |
quizzers -> roots [ | |
dir=both | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment