<?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: Sunny Bhatkar</title>
    <description>The latest articles on DEV Community by Sunny Bhatkar (@sun_eater).</description>
    <link>https://dev.to/sun_eater</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4087405%2F4dc4f5f6-56b3-4ae5-93fb-ea18ac2a6ae0.jpg</url>
      <title>DEV Community: Sunny Bhatkar</title>
      <link>https://dev.to/sun_eater</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sun_eater"/>
    <language>en</language>
    <item>
      <title>Two of Our Six Graph Databases Died Under the Exact Same Load. Here's Why That's a Good Thing.</title>
      <dc:creator>Sunny Bhatkar</dc:creator>
      <pubDate>Fri, 21 Aug 2026 01:55:17 +0000</pubDate>
      <link>https://dev.to/sun_eater/two-of-our-six-graph-databases-died-under-the-exact-same-load-heres-why-thats-a-good-thing-17ap</link>
      <guid>https://dev.to/sun_eater/two-of-our-six-graph-databases-died-under-the-exact-same-load-heres-why-thats-a-good-thing-17ap</guid>
      <description>&lt;p&gt;Take-home assignment: benchmark CognoDB against a handful of other graph databases, fairly. The fairness rule was blunt — every database gets the same tiny resource cap, 0.5 vCPU, 256MB RAM, no exceptions.&lt;/p&gt;

&lt;p&gt;Easy to say. Two platforms didn't survive it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Memgraph&lt;/strong&gt; kept getting killed by the Linux OOM reaper mid-import. First guess was a missing index. Wrong, checked, fixed, still died. Second guess was storage mode. Memgraph's analytical mode skips the write-ahead log for faster imports, sounded promising. Turns out it also doesn't support the uniqueness constraint the benchmark required — you get one or the other, not both. Back to the normal mode, ran it clean, one more time, just to check.&lt;/p&gt;

&lt;p&gt;Killed again. Two clean failures with the config right isn't bad luck. It's Memgraph's in-memory transactional engine having a real memory floor a 256MB box can't clear.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ArangoDB&lt;/strong&gt; failed for a completely different reason. Buried in its docs: it doesn't actually detect a Docker container's memory limit unless you tell it explicitly. Left alone, it sizes its internal cache off the &lt;em&gt;host machine's&lt;/em&gt; RAM, not the container's. Set the override, got further, still died.&lt;/p&gt;

&lt;p&gt;At that point the honest options were: loosen the cap until everything fits (which defeats the whole point), or ship with fewer databases than required. Neither felt right, so a fifth platform got added mid-project — &lt;strong&gt;Kùzu&lt;/strong&gt;, an embedded graph database that runs inside your own process instead of as a separate server. No idle daemon sitting there before you've loaded a row.&lt;/p&gt;

&lt;p&gt;Peak memory using it: 1.94MB. Out of 256MB. While Memgraph and ArangoDB were dying at that same number trying to hold identical data.&lt;/p&gt;

&lt;p&gt;The actual results ended up more interesting than "local wins." Kùzu's "indexed" lookup isn't indexed at all — it's a full scan, no traditional index support by design. It still beat AuraDB's genuinely indexed lookup by roughly 40x (4.7ms vs 196.7ms). That's not a smarter query engine, that's a direct measurement of how much of a cloud database's latency is just internet round-trip, not actual work.&lt;/p&gt;

&lt;p&gt;FalkorDB and Kùzu didn't split cleanly either. FalkorDB wins every traversal query, loses badly on aggregation — slower than a real cloud database for that one. Different engines, different strengths, no single winner.&lt;/p&gt;

&lt;p&gt;None of this made it into a clean five-green-checkmarks table, and that's kind of the point. If the first Memgraph attempt had just worked, none of this would've surfaced.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Full methodology, every failure, every number: &lt;a href="https://github.com/Sunny-sketchs/graph-db-benchmark" rel="noopener noreferrer"&gt;repo link&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
