<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sunil Rav</title>
    <description>The latest articles on DEV Community by Sunil Rav (@sunilr).</description>
    <link>https://dev.to/sunilr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1191665%2F71ddc027-c955-4878-ab3c-7a32caf77355.JPG</url>
      <title>DEV Community: Sunil Rav</title>
      <link>https://dev.to/sunilr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sunilr"/>
    <language>en</language>
    <item>
      <title>How to draw System Design Diagrams</title>
      <dc:creator>Sunil Rav</dc:creator>
      <pubDate>Wed, 06 Dec 2023 22:16:02 +0000</pubDate>
      <link>https://dev.to/sunilr/how-to-draw-system-design-diagrams-4p2m</link>
      <guid>https://dev.to/sunilr/how-to-draw-system-design-diagrams-4p2m</guid>
      <description>&lt;p&gt;When I was preparing for my System Design Interview, I found that&lt;br&gt;
most diagramming tools on the market are generic drawing tools that don't directly assist in drawing software System Design Diagrams. Usually, these tools only offer a bunch of shapes and the ability to connect them by arrows.&lt;/p&gt;

&lt;p&gt;This gave me the idea of building a tool that is specific to &lt;strong&gt;System Design&lt;/strong&gt; called &lt;a href="https://www.systemdraw.net/" rel="noopener noreferrer"&gt;SystemDraw&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Nodes
&lt;/h2&gt;

&lt;p&gt;With &lt;strong&gt;SystemDraw&lt;/strong&gt; you can easily drag and drop software architecture elements like Load Balancers, Databases, Caches, etc. You don't need to import any special libraries or extensions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Attributes
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd6wllbv3zfos0tt6frls.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd6wllbv3zfos0tt6frls.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each &lt;strong&gt;SystemDraw&lt;/strong&gt; node comes with a special set of attributes. For example, you can configure a database node with the type of database (SQL, document, wide column, graph), the type of replication used(leader-follower, multi-leader), and the type of sharding. &lt;/p&gt;

&lt;p&gt;As another example, on the cache node, you can specify the type of cache(in-memory, distributed), coherence(write-through, write-behind), and also the eviction policy (FIFO, LRU, LFU).&lt;/p&gt;

&lt;h2&gt;
  
  
  Tables
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbpk5nbprwkodpqrlsbxi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbpk5nbprwkodpqrlsbxi.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;SystemDraw&lt;/strong&gt; has a special node for Table design. You can simply drag in the table node and start adding the column names and data types.&lt;/p&gt;

&lt;h2&gt;
  
  
  Traffic Estimator
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5m7pd8w2ywpngu24fsbz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5m7pd8w2ywpngu24fsbz.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;SystemDraw&lt;/strong&gt; also has a built-in node called Traffic Estimator. The Traffic Estimator helps in calculating the estimated storage, bandwidth, and cache for the system. &lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;You can try it out today at &lt;a href="https://www.systemdraw.net/draw" rel="noopener noreferrer"&gt;SystemDraw&lt;/a&gt;, no login is required. If you want to save, just use your Google account to log in and you will have the ability to store it to your browser's local storage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;p&gt;The tech stack I ended up using for this tool is NextJs with a MongoDb database deployed on Vercel. The actual library used for the &lt;strong&gt;drawing page&lt;/strong&gt; is &lt;a href="https://reactflow.dev/" rel="noopener noreferrer"&gt;ReactFlow&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Follow me at &lt;a href="https://twitter.com/sunilr" rel="noopener noreferrer"&gt;https://twitter.com/sunilr&lt;/a&gt;&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>nextjs</category>
      <category>systemdesign</category>
      <category>saas</category>
    </item>
  </channel>
</rss>
