<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630" role="img" aria-label="单体架构与微服务架构对比图">
  <rect width="1200" height="630" fill="#f8fbff"/>
  <text x="60" y="72" font-size="34" font-family="Arial, Microsoft YaHei, sans-serif" font-weight="700" fill="#12315f">单体架构与微服务架构对比</text>
  <rect x="80" y="145" width="470" height="360" rx="24" fill="#ffffff" stroke="#2f6fed" stroke-width="3"/>
  <text x="240" y="195" font-size="30" font-family="Arial, Microsoft YaHei, sans-serif" font-weight="700" fill="#1e4fa3">单体架构</text>
  <rect x="155" y="245" width="320" height="170" rx="18" fill="#eaf1ff" stroke="#93b4ff" stroke-width="3"/>
  <text x="245" y="315" font-size="24" font-family="Arial, Microsoft YaHei, sans-serif" font-weight="700" fill="#20324d">一个应用</text>
  <text x="210" y="360" font-size="18" font-family="Arial, Microsoft YaHei, sans-serif" fill="#4e6487">用户/订单/支付/库存</text>
  <rect x="650" y="145" width="470" height="360" rx="24" fill="#ffffff" stroke="#20a67a" stroke-width="3"/>
  <text x="800" y="195" font-size="30" font-family="Arial, Microsoft YaHei, sans-serif" font-weight="700" fill="#117052">微服务架构</text>
  <g font-family="Arial, Microsoft YaHei, sans-serif" font-size="20" text-anchor="middle" fill="#20324d">
    <rect x="700" y="245" width="150" height="75" rx="16" fill="#e9fff6" stroke="#8ee6c5"/><text x="775" y="292">用户服务</text>
    <rect x="920" y="245" width="150" height="75" rx="16" fill="#e9fff6" stroke="#8ee6c5"/><text x="995" y="292">订单服务</text>
    <rect x="700" y="365" width="150" height="75" rx="16" fill="#e9fff6" stroke="#8ee6c5"/><text x="775" y="412">支付服务</text>
    <rect x="920" y="365" width="150" height="75" rx="16" fill="#e9fff6" stroke="#8ee6c5"/><text x="995" y="412">库存服务</text>
  </g>
  <path d="M850 282 L920 282" stroke="#5b77a8" stroke-width="3" marker-end="url(#arrow)"/>
  <path d="M850 402 L920 402" stroke="#5b77a8" stroke-width="3" marker-end="url(#arrow)"/>
  <path d="M775 320 L775 365" stroke="#5b77a8" stroke-width="3" marker-end="url(#arrow)"/>
  <path d="M995 320 L995 365" stroke="#5b77a8" stroke-width="3" marker-end="url(#arrow)"/>
  <text x="125" y="565" font-size="20" font-family="Arial, Microsoft YaHei, sans-serif" fill="#4e6487">单体：部署简单，但模块耦合，整体发布风险高</text>
  <text x="680" y="565" font-size="20" font-family="Arial, Microsoft YaHei, sans-serif" fill="#4e6487">微服务：边界清晰，可独立开发、部署与扩展</text>
  <defs><marker id="arrow" markerWidth="12" markerHeight="12" refX="10" refY="6" orient="auto"><path d="M0,0 L12,6 L0,12 z" fill="#5b77a8"/></marker></defs>
</svg>
