DIAGRAMMATIC
save your work locally, this app is going away soon!
Login with GitHub
CODE
dejan
/
Twitter System Design example
(public)
digraph twitter { node [shape=box, style=rounded]; edge [color=gray]; // Services web [label="Web Server"]; app [label="App Server"]; api [label="API Server"]; cache [label="Cache Server"]; queue [label="Queue Server"]; worker [label="Worker Server"]; search [label="Search Server"]; stream [label="Stream Server"]; // Databases tweet [label="Tweet DB", shape=cylinder]; user [label="User DB", shape=cylinder]; media [label="Media DB", shape=cylinder]; index [label="Index DB", shape=cylinder]; // Edges web -> api [label="REST"]; app -> api [label="REST"]; api -> cache [label="read/write"]; api -> queue [label="write"]; api -> tweet [label="read/write"]; api -> user [label="read/write"]; api -> media [label="read/write"]; api -> search [label="read"]; api -> stream [label="read"]; queue -> worker [label="read"]; worker -> tweet [label="write"]; worker -> user [label="write"]; worker -> index [label="write"]; search -> index [label="read"]; stream -> tweet [label="read"]; }
PREVIEW
PNG
SVG
Auto-save OFF
Saving
You can change the code, but you won't be able to save it as you are not the owner.
dot