<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nourmadi on Medium]]></title>
        <description><![CDATA[Stories by Nourmadi on Medium]]></description>
        <link>https://medium.com/@nourmadi17?source=rss-e02fa215e310------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BFnVjqRK8MhrrA8j.jpg</url>
            <title>Stories by Nourmadi on Medium</title>
            <link>https://medium.com/@nourmadi17?source=rss-e02fa215e310------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:42:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nourmadi17/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How Data Virtualization moved From Concept to Production at Scale (and Why It Changed Everything)]]></title>
            <link>https://medium.com/@nourmadi17/how-data-virtualization-moved-from-concept-to-production-at-scale-and-why-it-changed-everything-edaaabc89e81?source=rss-e02fa215e310------2</link>
            <guid isPermaLink="false">https://medium.com/p/edaaabc89e81</guid>
            <dc:creator><![CDATA[Nourmadi]]></dc:creator>
            <pubDate>Sun, 28 Dec 2025 14:51:27 GMT</pubDate>
            <atom:updated>2025-12-29T08:58:36.581Z</atom:updated>
            <content:encoded><![CDATA[<p>There was a familiar problem we kept running into.</p><p>The data existed.<br> The questions were clear.<br> But the answers were always… slow.</p><p>Not because the data was missing — but because it was <strong>everywhere</strong>.</p><p>Some of it lived in MySQL powering operational systems.<br> Some of it sat quietly in Hive on HDFS.<br> Some arrived as streams, others as logs, others as historical snapshots.</p><p>Every new question triggered the same response:</p><p>“We need a new pipeline.”<em><br></em>“We need to copy the data.”<em><br> </em>“We need another table.”</p><p>That’s when we realized — <strong>the problem wasn’t data availability. It was data access.</strong></p><h3>The Moment Data Virtualization Clicked</h3><p>Data Virtualization isn’t a new buzzword — but its impact only becomes obvious when you feel the pain firsthand.</p><p>At its core, <strong>Data Virtualization is simple</strong>:</p><p><em>Query data where it lives, without moving it.</em></p><p>No ingestion delays.<br> No duplicated datasets.<br> No fragile ETL chains breaking at 3 AM.</p><p>Just a <strong>logical layer</strong> that makes multiple systems feel like <em>one</em>.</p><p>From the user’s perspective:</p><p>“I write one SQL query — the engine figures out where the data lives.”</p><p>And once you experience that simplicity — it’s hard to go back.</p><h3>Why Traditional Approaches Stopped Working for Us</h3><p>As the data landscape grew, so did the complexity.</p><p>ETL pipelines multiplied.<br> Storage costs increased.<br> Data freshness suffered.<br> Governance became fragmented.</p><p>Worse — teams spent more time <strong>engineering access</strong> than <strong>analyzing data</strong>.</p><p>Every new use case felt heavier than the last.</p><p>We didn’t need <em>more pipelines</em>.<br> We needed <strong>a better abstraction</strong>.</p><h3>In-House Data Virtualization Platform</h3><p><strong>An In-house Data Virtualization platform </strong>was<strong> </strong>designed and implemented to serve analytical, operational, and AI-driven use cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c4mjQNAqxs_QeH53i0vG2A.png" /><figcaption>Trino-InHouse Architecture</figcaption></figure><h3>Core Engine: Trino</h3><p>The platform is built around a <strong>Trino cluster</strong> consisting of:</p><ul><li><strong>1 Coordinator (Master) node</strong></li><li><strong>N Worker nodes</strong></li></ul><p>This architecture allows us to:</p><ul><li>Scale query execution horizontally</li><li>Isolate failures</li><li>Dynamically distribute workload based on query complexity</li></ul><h3>In-House vs Vendor Solutions</h3><p>While commercial vendors offer Data Virtualization products, we deliberately chose an <strong>in-house approach</strong>.</p><p><strong>Why?</strong></p><ul><li>Full architectural control</li><li>Lower licensing cost</li><li>Deep customization</li><li>Seamless integration with internal platforms</li></ul><h3>Key Features of Platform</h3><p>What made this platform truly valuable wasn’t a single feature — it was how several capabilities <strong>came together naturally</strong> to remove friction from everyday data work.</p><h3>1. Federated Querying: One Query, Many Worlds</h3><p>The first thing people noticed was how <em>simple</em> things suddenly felt.</p><p>Data sitting in <strong>Hive</strong>, operational records in <strong>MySQL</strong>, transactional data in <strong>PostgreSQL</strong>, and even streaming data from <strong>Kafka</strong> — all accessible through a <strong>single SQL engine</strong>.</p><p>No pipelines.<br> No replication.<br> No waiting.</p><p>With <strong>Trino</strong>, data stayed exactly where it was designed to live — yet became instantly queryable together.<br> For analysts and engineers, this felt like discovering shortcuts they didn’t know existed.</p><h3>2. Performance That Improves as You Grow</h3><p>Performance is often promised — rarely felt.</p><p>Trino’s distributed execution model made the difference tangible:</p><ul><li>Queries returned faster</li><li>Large scans were split intelligently</li><li>Workloads were executed in parallel across the cluster</li></ul><p>As we added more worker nodes, execution time dropped noticeably.<br> Instead of performance degrading with scale — it <strong>improved</strong>.</p><h3>3. Connectivity Without Friction</h3><p>A data platform is only as useful as the systems it can talk to.</p><p>Out of the box, platform connected seamlessly to:</p><ul><li>Hive</li><li>Kafka</li><li>MySQL</li><li>PostgreSQL</li><li>Vector databases</li></ul><p>There was no need for custom adapters or fragile integrations.<br> New data sources became available quickly — and safely — without redesigning the architecture each time.</p><h3>4. Security Was Not Optional</h3><p><a href="https://medium.com/u/d7be80a287d3">Mahmoud Hassanen</a>With great access comes great responsibility.</p><p>Centralizing access meant we needed <strong>strong governance</strong>, not weaker controls.</p><p>That’s why we integrated <strong>Apache Ranger</strong> directly with Trino.</p><p>This allowed us to:</p><ul><li>Control access at catalog, schema, table, and column level</li><li>Mask sensitive fields dynamically</li><li>Give admins full visibility while protecting business users</li></ul><p>Security wasn’t bolted on — it was <strong>designed in</strong>.</p><h3>5. Scalable and Distributed by Design</h3><p>As usage increased, something important <em>didn’t</em> happen.</p><p>There was no single node becoming a bottleneck.<br> No “hot spot” server under pressure.<br> No sudden performance cliffs.</p><p>Instead:</p><ul><li>Trino distributed work intelligently across workers</li><li>Queries scaled horizontally</li><li>Load balanced itself naturally</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*lWYjeeMwQqp9bWfUz0P1JQ.png" /><figcaption>Dynamic Node Allocation by Query Load</figcaption></figure><p>The platform grew calmly — even under pressure.</p><p>And that’s often the highest compliment a data system can earn:</p><p><em>It just works — even when demand spikes.</em></p><h3>One Engine, Many Interfaces</h3><p>To truly democratize access, Trino had to meet users where they were.</p><p>Today, the platform supports:</p><ul><li>CLI for power users</li><li>JDBC / ODBC for BI tools (DBeaver, Tableau, Superset)</li><li>Streamlit for interactive dashboards</li><li>REST APIs for Data-as-a-Service (DaaS)</li></ul><p>Different users.<br> Different tools.<br> Same trusted data layer.</p><h3>When Trino’s Power Became Impossible to Ignore</h3><p>There’s a moment in every platform journey when confidence replaces theory.</p><p>For us, that moment came when we stopped <em>talking</em> about Trino’s performance — and started <strong>watching it scale in real time</strong>.</p><h3>Workers vs Time: Watching Queries Shrink</h3><p>At first, the cluster was modest.</p><p>A single worker.<br> Queries ran — but slowly.</p><p>Then we added more workers.</p><p>Something interesting happened.</p><p>As we scaled from <strong>1 worker to 3, 4, 5, and eventually 6 workers</strong>, query execution time didn’t just improve — it <strong>collapsed</strong>.</p><p>This wasn’t magic.<br> It was <strong>distributed execution done right</strong>.</p><p>With each additional worker:</p><ul><li>Queries were split into more parallel stages</li><li>Data scans were distributed</li><li>CPU and memory bottlenecks disappeared</li></ul><p>The relationship was clear:</p><blockquote><strong><em>More workers → more parallelism → less time</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gHQsK7kIk1wHxKkAc6-tyA.png" /><figcaption>Workers VS Time</figcaption></figure><p>Seeing that curve drop with every added node was the moment Trino stopped being “just another engine” and became <strong>the backbone of our analytics platform</strong></p><h3>Caching: When the Platform Learns Your Queries</h3><p>Performance didn’t stop at raw parallelism.</p><p>As usage grew, patterns emerged:</p><ul><li>Same joins</li><li>Same aggregations</li><li>Same dashboards refreshed again and again</li></ul><p>Instead of redoing the same work every time, <strong>Trino’s caching layer</strong> started doing what good systems do — <strong>remembering</strong>.</p><p>Caching allowed us to:</p><ul><li>Reuse intermediate results</li><li>Speed up repeated queries dramatically</li><li>Reduce unnecessary load on source systems</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2tezmLPGeC4Sl4ElgT34FQ.png" /><figcaption>Caching in Trino</figcaption></figure><p>The effect was subtle but powerful.</p><p>Dashboards felt instant.<br> Repeated analytics became predictable.<br> The platform felt <em>responsive</em>, not reactive.</p><p>Caching didn’t just optimize performance — it <strong>changed user trust</strong>.</p><h3>Aggregation Across Data Sources: The Real Superpower</h3><p>This is where things truly came together.</p><p>We weren’t just running fast queries.<br> We were running <strong>impossible queries</strong>.</p><p>Queries like:</p><ul><li>Aggregating KPIs from <strong>Hive</strong></li><li>Enriching them with dimensions from <strong>MySQL</strong></li><li>Exposing the result as a reusable Trino view</li></ul><p>All in <strong>one SQL statement</strong>.</p><p>No ingestion jobs.<br> No temporary tables.<br> No duplicated data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*MWdaM6w5Q6BJm50iyK53yw.png" /><figcaption>Aggregation in Trino</figcaption></figure><p>This was the real promise of data virtualization — <strong>federated aggregation</strong>.</p><p>Hive brought scale and history.<br> MySQL brought freshness and context.<br> Trino brought them together — <em>on demand</em>.</p><p>And because these aggregations lived as <strong>views</strong>, teams could build on top of them safely and consistently</p><h3>From Performance to Confidence</h3><p>Performance graphs are nice.</p><p>But what mattered more was what they unlocked:</p><ul><li>Analysts stopped worrying about where data lived</li><li>Engineers stopped building one-off pipelines</li><li>Business users stopped waiting</li></ul><p>When queries got faster as the cluster grew — instead of slower — trust followed naturally.</p><p>Trino didn’t just execute SQL.<br> It <strong>absorbed complexity</strong>.</p><h3>Why This Matters More Than Benchmarks</h3><p>Anyone can show a benchmark.</p><p>What’s harder is building a system where:</p><ul><li>Scaling is predictable</li><li>Performance improves with growth</li><li>Multiple data sources behave like one</li><li>Users don’t need to understand the plumbing</li></ul><p>That’s what we achieved.</p><p>And that’s when we realized:</p><p><strong><em>Data Virtualization isn’t about abstraction alone — <br> it’s about making power feel effortless.</em></strong></p><h3>Making Data Speak Human: LLM Integration</h3><p>One of the most exciting moments came later.</p><p>We asked:</p><p>“What if users didn’t even need to write SQL?”</p><p>So we integrated a local LLM using <strong>Ollama</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B_6Rw5n2FnX5X24z39jSYw.png" /><figcaption>Unlocking Data with LLMs</figcaption></figure><p>The flow became almost magical:</p><ol><li>Read schema metadata from Trino</li><li>Accept a question in plain English</li><li>Generate optimized SQL</li><li>Run it directly on federated data</li></ol><p>Suddenly, querying complex datasets felt… natural.</p><p>This wasn’t just a technical upgrade — it was an <strong>accessibility breakthrough</strong>.</p><h3>From Virtualization to Lakehouse</h3><p>Data Virtualization wasn’t the end goal — it was the bridge.</p><p>Our roadmap naturally extended toward a <strong>Lakehouse architecture</strong>:</p><ul><li>HDFS for scalable storage</li><li>Apache Iceberg for ACID, schema evolution, and time travel</li><li>Trino as the SQL engine tying it all together</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*_OW0uH-YvFYPod8mJCnnLw.png" /><figcaption>Virtualization + Open Table Format</figcaption></figure><p>Virtualization gave us <strong>speed</strong>.<br> Iceberg gives us <strong>reliability</strong>.<br> Together, they give us <strong>confidence</strong></p><h3>Final Thoughts</h3><p>Data Virtualization shifts the focus from:</p><p><strong>“Where is the data?”</strong><em><br> to<br></em><strong><em> </em>“What insight do we need?”</strong></p><p>And that shift made all the difference.</p><p>By building an <strong>in-house Trino-based Data Virtualization platform</strong>, we enabled:</p><ul><li>Faster analytics</li><li>Strong governance</li><li>Lower cost</li><li>AI-ready data access</li></ul><p>And most importantly — we empowered teams to <strong>use data, not fight it</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edaaabc89e81" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>