System Design

URL Shortener at Scale

100K writes/sec, 1M reads/sec — Snowflake IDs, Redis cache, Cassandra, CDN

AI Prompt

System design diagram for a URL shortener handling 100K writes/sec and 1M reads/sec: load balancers, write service, read service, ID generation (Snowflake), Redis cache, Cassandra for storage, and CDN for redirect responses.

Try this in AIDrawIO

Free — no credit card required

Refine it with follow-up prompts

After generating the base diagram, use these prompts to iterate and add detail — the same way a real architect would refine a whiteboard sketch.

How AIDrawIO generates this diagram

  1. 1.You paste the prompt above into the chat input.
  2. 2.AIDrawIO sends it to your chosen AI model (GPT-5, Claude, or Gemini).
  3. 3.The model returns draw.io-compatible XML — rendered instantly in the canvas.
  4. 4.Export as SVG, PNG, or XML. Edit any element manually or with follow-up prompts.
All examples