<?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 Nikhil Sontakke on Medium]]></title>
        <description><![CDATA[Stories by Nikhil Sontakke on Medium]]></description>
        <link>https://medium.com/@nikhil-sontakke?source=rss-20c5abf04317------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Eiq_gXtHryFyh97c</url>
            <title>Stories by Nikhil Sontakke on Medium</title>
            <link>https://medium.com/@nikhil-sontakke?source=rss-20c5abf04317------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:34:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nikhil-sontakke/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[Shift Left: Why Data Quality Is Moving to the Source]]></title>
            <link>https://awstip.com/shift-left-why-data-quality-is-moving-to-the-source-2388b4508f60?source=rss-20c5abf04317------2</link>
            <guid isPermaLink="false">https://medium.com/p/2388b4508f60</guid>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-as-a-code]]></category>
            <category><![CDATA[data-contract]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Nikhil Sontakke]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 14:51:51 GMT</pubDate>
            <atom:updated>2026-06-30T12:46:07.044Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Data quality is quietly moving from a downstream cleanup job to an upstream promise. Here’s why that shift is becoming the default in 2026.</em></p><h3>The 3 A.M. Problem</h3><p>Every data team has a version of the same story.</p><p>An executive notices that something looks wrong in the dashboard. Revenue is down eight percent overnight, and nobody can point to a business reason for it. An engineer gets paged. They start tracing the number backward through a maze of tables, and right away they hit the first frustration: every check is green. Schemas validate. Null checks pass. Row counts look normal. Freshness is fine. Nothing failed.</p><p>After a few hours of digging, the cause turns out to be three days old. The application team changed what a field means. The order_amount column used to hold the gross amount, the full price of the order before anything was taken off. To support a new promotions feature, they switched it to the net amount instead: the merchandise subtotal after discounts, taxes, and shipping are stripped out, which is the only number their promotions engine actually cares about. Same column name. Same decimal type. Same non-null guarantee. Every value still perfectly legal.</p><p>And here’s the cruel part. A good data team has schema enforcement on its silver layer. Incoming data gets conformed to a declared structure, so a rename or a type change would have been caught and rejected on the spot. But this change wasn’t structural. The bytes were all valid. The schema check looked at those net amounts, found a non-null decimal sitting exactly where it expected one, and waved it through. The silver layer faithfully conformed data that now meant something completely different than it did last week. Every downstream metric that summed that column was quietly, confidently wrong, and nothing in the pipeline had any way to know.</p><p>That’s the trap. The better your structural defenses get, the more dangerous semantic drift becomes, because it walks right past the exact layer you built to stop bad data. Schema enforcement validates shape. It tells you nothing about meaning. And meaning is where the expensive failures live.</p><p>This is the defining pathology of traditional data engineering: problems get detected far from where they’re created, long after they happen, by the people least equipped to fix them. The engineer who changed the field had a perfectly good reason and no idea that a dozen downstream systems leaned on the old definition. There was nowhere that definition was even written down. The data engineer who finally caught it can’t change the source. And the executive who reported it has already stopped trusting the number.</p><p>“Shift left” is the industry’s answer to all of this. It isn’t a tool or a product, it’s a relocation of responsibility. And in 2026 it has moved decisively from conference-talk theory into mainstream enterprise practice.</p><h3>What “Shift Left” Actually Means</h3><p>The term comes from software engineering, so it helps to be precise about the metaphor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U--ixQhU3hWa08OhbVWNRA.png" /></figure><p>Picture your pipeline as a horizontal line running left to right. On the left sits data creation: the application databases, event streams, and source systems where data is born. On the right sits data consumption: the dashboards, reports, ML models, and increasingly the AI agents that use it. In between runs the familiar progression of ingestion, transformation, and the bronze to silver to gold layering most platforms lean on.</p><p>For most of this field’s history, quality control lived on the right. You ingested whatever the source handed you, and then you tested it. You wrote checks against your warehouse tables, watched for null spikes, and built anomaly detection to catch the worst surprises. That approach is reactive by design. By the time a test fails, the bad data already exists, has already landed, and may have already spread.</p><p>Shifting left just means moving that quality enforcement toward the point of creation. You deal with structure, validity, and governance where the data is born, instead of reacting once it has already fanned out everywhere. Software engineering went through exactly this transition years ago. Testing used to be a separate phase, handed off to a separate QA team at the end of the cycle. Then unit tests, integration tests, and continuous integration pushed validation into the developer’s own workflow, catching bugs the moment they were written instead of weeks later. Data engineering is now living through the same shift, maybe a decade behind.</p><p>And the payoff is the same one software teams already learned: the cost of a defect climbs steeply the further right it gets to travel. A schema mismatch caught in a producer’s CI run is a five-minute fix and a comment on a pull request. That same mismatch caught in a gold-layer dashboard is an incident, a war room, a backfill, and a loss of trust that lingers long after the data is fixed.</p><h3>The Mechanism: Data Contracts</h3><p>Shifting left needs something to actually enforce it, because “please be careful with your schemas” has never once worked as a strategy. That something is the data contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x_FnGjsfa_QpIULIWrNL_g.png" /></figure><p>A data contract is a formal, version-controlled, machine-readable agreement between the team that produces a dataset and the teams that consume it. If you’ve worked with API specifications like OpenAPI, Protobuf, or gRPC schemas, this will feel familiar right away. A data contract is to a dataset what an API spec is to a service: an explicit promise about structure and behavior that both sides can rely on and that tooling can check automatically.</p><p>A well-formed contract usually spells out:</p><ul><li><strong>Schema.</strong> The fields, their types, and which ones are required. The structural shape of the data.</li><li><strong>Semantics.</strong> What the fields actually mean. status isn&#39;t just a string, it&#39;s an enum with a defined set of allowed values and a documented meaning for each one. This is the layer that would have caught our 3 A.M. story.</li><li><strong>Quality expectations.</strong> Constraints that go beyond type. Primary keys are unique. Amounts aren’t negative. Foreign keys point at records that exist. Null rates stay inside tolerance.</li><li><strong>Freshness and SLAs.</strong> How current the data has to be and how often it updates. A dataset promised hourly that goes quiet for six hours is in breach, even if every row is flawless.</li><li><strong>Ownership.</strong> Who is accountable for this dataset. A name, a team, an on-call rotation. Contracts make ownership explicit precisely because the lack of it is what produces datasets nobody owns.</li><li><strong>Versioning and deprecation.</strong> How the contract is allowed to change, what counts as a breaking change, and how much warning consumers get before something they depend on goes away.</li></ul><p>What makes this powerful is that the contract is both human-readable, so producers, consumers, analysts, and compliance folks can all agree on what it says, and machine-readable, so it can be enforced automatically without anyone having to remember. It usually lives as a file in a repository, often YAML, JSON Schema, or Protobuf, versioned in Git, reviewed in pull requests, and treated with the same seriousness as application code. That’s the “data as code” idea: schemas, contracts, and expectations are artifacts you review and test before they hit production, not tribal knowledge floating around in someone’s head.</p><p>A contract on its own, though, is just a document. What gives it teeth is where you choose to enforce it.</p><h3>Where Enforcement Happens: Quality Gates</h3><p>The natural partner for a data contract is the quality gate: a control point where data has to satisfy the contract before it’s allowed to move forward. If you’ve ever watched a CI pipeline block a merge because the tests failed, you already get the model. Shift-left applies that same discipline to the flow of data.</p><p>Gates come in a few flavors, and mature teams mix them:</p><ul><li><strong>Hard gates</strong> stop the pipeline cold when a critical check fails: a missing primary key, an unexpected schema change, an invalid reference value. Nothing moves forward. This is what you want for failures that would corrupt everything downstream.</li><li><strong>Soft gates</strong> let the data keep flowing but pull the offending records into a quarantine table and raise an alert. This fits problems that are real but not catastrophic. You don’t want to halt an entire business process over a handful of bad rows, but you don’t want to swallow them silently either.</li><li><strong>Threshold gates</strong> allow flow only while the error rate stays under a defined tolerance. A 0.1% bad-record rate might be fine. A sudden jump to 15% is not.</li><li><strong>Promotion gates</strong> publish data into the curated, consumption-ready “gold” zone only once it has passed its checks. They’re the line between “data that exists” and “data you can trust.”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8J2wS3uZySD8lwWE_oem8A.png" /></figure><p>The win here is quieter than it sounds but matters a lot: teams stop arguing about whether a dataset is ready. The gate makes readiness measurable and automatic. “Is this clean enough to ship?” stops being a judgment call in some Slack thread and becomes a pass or fail in a pipeline.</p><p>One detail worth stressing: the best gates run in place. They validate the data where it already lives, without copying it somewhere else first. Spinning up a separate copy just to check it adds its own movement, cost, and risk. Enforcement should happen at the point the data changes, not in a parallel universe built only for testing.</p><h3>What Shift-Left Doesn’t Solve</h3><p>It would be dishonest to sell contracts and gates as a complete answer, and overselling them is the fastest way to lose a reader who knows better.</p><p>Contracts catch the known problems. They’re excellent at the failure modes you can name ahead of time: schema drift, null spikes, enum violations, broken referential integrity, missed freshness windows. Those are the failures behind most data incidents, which is exactly why contracts are worth so much. But a contract can only enforce expectations you thought to write down in the first place.</p><p>What they don’t catch is the unknown stuff. A slow distribution drift where every value is still individually valid but the aggregate has quietly moved. A 30% volume drop that breaks no schema rule but signals an upstream system falling over. A semantic change where the data is structurally perfect but no longer means what it used to (the very thing from our opening story, in fact). For these, you still need the right side of the pipeline: observability, anomaly detection, and monitoring that watches for the surprises nobody anticipated.</p><p>So the right framing isn’t contracts replace monitoring. It’s contracts plus monitoring, working as a loop. Contracts and gates shrink the pool of preventable failures down toward zero. Observability handles what’s left, the genuinely new problems, and then feeds what it learns back into the contracts. Every unknown failure you catch downstream is a candidate to become a known check you enforce upstream next time.</p><blockquote>A healthy shift-left setup answers four questions fast: what broke, who’s affected, what caused it, and how do we keep it from happening again. That last one is what turns a one-off incident into a permanent clause in the contract.</blockquote><h3>The Part Nobody Warns You About: This Is an Org Change</h3><p>Here’s the thing most introductions to data contracts breeze past. The technology is the easy part. YAML files, schema validators, CI hooks, none of that is hard to build. Whether shift-left actually succeeds comes down to organizational stuff, and pretending otherwise is how teams get blindsided.</p><p>Think about what a contract really does. It moves the cost of quality from the consumer to the producer. For years the unspoken deal was that application teams shipped whatever they shipped, and the data team cleaned up after them. Shift-left rewrites that deal. Now the application engineer way over on the left of the pipeline, the one writing the source system, is being asked to treat their data output with the same care they’d give a public API. A schema change turns into a versioned, communicated, reviewed event instead of a quiet commit nobody hears about.</p><p>That’s a real ask, and it comes with real costs. Producer velocity takes a hit, because you can’t just change a column on a whim anymore. Someone has to own each contract, which means someone has to actually be assigned to own it. Breaking changes need coordination, deprecation windows, and migration paths instead of a unilateral edit. None of this is free, and a team that rolls out contracts without naming the friction up front will generate resentment fast.</p><p>But the friction is kind of the whole point. A source team that needs to change something is now forced to talk to the data team before it breaks anything downstream, which is the exact conversation that never happened in the 3 A.M. story. The contract turns an invisible dependency into a visible, negotiated interface.</p><p>This is also why ownership in modern data orgs has split into distinct roles rather than one mythical “data owner.” A common 2026 pattern divides it three ways. An executive, often a Chief Data Officer, owns the policy: what’s sensitive, what’s required, what the standards are. A platform team owns the infrastructure: the validators, the CI gates, the tooling that makes contracts enforceable as code. And a domain or product owner owns the outcome: the actual dataset and whether it’s fit for purpose. Governance stops being a separate team policing everyone after the fact and becomes a shared responsibility baked into the pipeline. The phrase people use for it is governance as a product, not a punishment.</p><p>This federated model is also why shift-left ties so tightly to the broader data mesh and data-as-a-product movements. Treating data as a product, a trustworthy, purpose-built, reusable asset with a clear owner, is the goal. Data contracts are the enforcement layer that makes that goal real instead of a bullet on a strategy slide. Without contracts, “data as a product” is just a nice phrase. With them, it’s an operating model.</p><h3>Why Now: The Forces Pushing This Mainstream</h3><p>Data contracts aren’t a new idea. People have been talking about them for years. What changed is that several pressures piled up at once and pushed them from “best practice nobody has time for” into “mandated control.” Four forces are doing the pushing.</p><p><strong>Pipelines got too complex to debug reactively.</strong> A typical platform now has dozens of interdependent tables flowing through multiple layers. One source change can cascade through the whole graph. At small scale, reactive cleanup is annoying but survivable. At today’s scale it just isn’t, because the blast radius of a single bad change is too big to absorb downstream.</p><p><strong>The consumers changed.</strong> Data no longer just feeds a dashboard that a human looks at before acting. It feeds ML training, retrieval-augmented generation systems, and increasingly autonomous AI agents that act on it directly. Surveys of the field show data engineers pouring a fast-growing share of their time into AI infrastructure rather than traditional analytics. These new consumers don’t file a ticket when something looks off. They make a confident, wrong decision at machine speed and scale. Bad data used to produce a wrong chart. Now it produces a wrong action, automated, before anyone’s in the loop. That raises the stakes on upstream quality enormously.</p><p><strong>Regulation showed up with teeth.</strong> Frameworks like the EU AI Act have started enforcing with serious financial penalties, and they expect organizations to be able to attest to the provenance, quality, and governance of the data feeding their AI systems. A data contract happens to be exactly the kind of org-wide technical spec of schema, metadata, and quality expectations regulators want to see. Compliance has quietly become a forcing function for adoption.</p><p><strong>The culture shifted.</strong> After years of bolting together ever-bigger stacks from best-of-breed tools, and discovering that tool sprawl produces fragile systems nobody owns, the field is swinging back toward control, ownership, and reliability over novelty. The software-engineering habits of version control, automated testing, CI/CD, and code review are now just expected for data work too. Contracts fit this moment perfectly. They’re the disciplined, slightly boring, reliable choice, and 2026’s data engineering increasingly prizes clarity over cleverness.</p><p>It’s worth keeping some perspective. Adoption is real and accelerating, but contracts are still a maturing practice. Plenty of organizations are early in the journey and the tooling is still consolidating. This is a movement gathering force, not a finished, settled standard. Which is exactly why it’s worth understanding now, while it’s becoming mainstream, instead of after it already has.</p><h3>A Pragmatic Path In</h3><p>If you’re curious but not ready to boil the ocean, the lightweight version of this is genuinely approachable, and you don’t need expensive tooling to get going.</p><p>Start with one dataset. Pick something high-value and high-pain, ideally one that has burned you before. Write its contract as a simple schema file in a repo that both the producing and consuming teams can see and sign off on. Add automated validation that runs the contract’s checks in CI, so a producer’s proposed change gets tested against the contract before it ever deploys. Then wire in a basic gate at ingestion: if incoming data violates the contract, it gets rejected or quarantined instead of silently absorbed. Now watch what happens to your incident rate on that one dataset.</p><p>The thing that makes this stick is starting narrow and expanding by demonstrated value, not by mandate. A contract that visibly prevents one painful 3 A.M. incident will sell the next ten contracts far better than any architecture diagram ever could. And every downstream surprise your monitoring catches becomes a new clause you shift upstream. The whole thing compounds.</p><h3>Conclusion: The Real Shift</h3><p>Strip away the YAML and the CI configs and the gate taxonomy, and shift-left comes down to one idea: fix the problem where it starts, not where it shows up.</p><p>For decades, data engineering ran on the opposite assumption, that the data team’s job was to absorb whatever chaos arrived from upstream and impose order downstream. Shift-left rejects that premise. It says quality is something you build in at the source, not something you bolt on at the destination. It treats the boundary between data producers and data consumers as a real interface with a real contract, the same way we long ago learned to treat the boundaries between software services.</p><p>That’s why this is more than a tooling trend. It’s a change in what data engineering even is: from plumbing that reacts to a discipline that prevents, from cleaning up bad data to making bad data structurally hard to create in the first place. The teams that internalize this won’t just have fewer 3 A.M. pages. They’ll have something more valuable and a lot harder to win back once it’s gone: data their organization actually trusts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2388b4508f60" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/shift-left-why-data-quality-is-moving-to-the-source-2388b4508f60">Shift Left: Why Data Quality Is Moving to the Source</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transformations on Delta Lake Without Spark: Polars vs PyArrow]]></title>
            <link>https://awstip.com/transformations-on-delta-lake-without-spark-polars-vs-pyarrow-ed8a8250af28?source=rss-20c5abf04317------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed8a8250af28</guid>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-lakehouse]]></category>
            <category><![CDATA[data-platform-engineering]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Nikhil Sontakke]]></dc:creator>
            <pubDate>Sun, 12 Apr 2026 01:34:44 GMT</pubDate>
            <atom:updated>2026-04-13T10:19:00.250Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Your guide to understanding the architectural trade-offs of running transformations on Delta Lake tables without Spark.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ig4HkizPmzmqMLhIkSG5HA.png" /></figure><h3>The Post-Spark Reality</h3><p>If you’ve spent time in the data engineering world, you probably know the story. Delta Lake was born inside of Databricks, and as a result was tightly coupled to Spark. For years, “Delta Lake” effectively meant “Spark + DBFS.” But that coupling was always an implementation detail, not a requirement.</p><p>Then came the delta-rs project to turn the tables. It&#39;s a Rust-native implementation of the Delta Lake protocol with Python bindings via the deltalake package. This project completely changed the game. What it meant was that you could now read, write, compact, vacuum, and time-travel Delta tables from a single-node Python process. No need for a JVM. No cluster. No DBU bill.</p><p>Now this development opens a genuine architectural question: once you’ve decoupled from Spark, which Python library should own your transformation logic? The two serious contenders are <strong>Polars</strong> and <strong>PyArrow</strong>, and be aware, the choice is less obvious than it looks. Let’s have a look into this classic dilemma.</p><h3>Understanding the Data Flow</h3><p>Before comparing transformation APIs, we need to understand how data actually moves through these systems.</p><h3>The delta-rs → PyArrow Bridge</h3><p>The deltalake Python package exposes Delta tables primarily as PyArrow objects. This is an implementation detail. When you call DeltaTable.to_pyarrow_table(), it reads the transaction log, resolves the current set of Parquet files, and materializes them as a pyarrow.Table. When you call DeltaTable.to_pyarrow_dataset(), it returns a lazy pyarrow.dataset.Dataset that supports predicate pushdown and partition pruning without loading everything into memory.</p><pre>from deltalake import DeltaTable<br>dt = DeltaTable(&quot;s3://my-bucket/events/&quot;)<br># Eager: full materialization into Arrow memory<br>table = dt.to_pyarrow_table(<br>    columns=[&quot;user_id&quot;, &quot;event_type&quot;, &quot;ts&quot;],<br>    filters=[(&quot;ts&quot;, &quot;&gt;=&quot;, &quot;2025-01-01&quot;)]<br>)<br># Lazy: returns a dataset for downstream scanning<br>dataset = dt.to_pyarrow_dataset()</pre><h3>So Where Does Polars Come into the Picture?</h3><p>Polars provides convenience methods such as pl.read_delta() and pl.scan_delta(), but under the hood, scan_delta is essentially a wrapper around scan_pyarrow_dataset. The actual data flow looks something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bGYRVhI33sNBkx1-bS6vUQ.png" /></figure><p>The data is stored as Delta Parquet files. The delta-rs Rust library (exposed in Python through the deltalake package) reads these stored files into memory as a PyArrow dataset using methods like scan_pyarrow_dataset. Polars then provides a wrapper like scan_delta to load them as a LazyFrame without pulling all of the data into memory.</p><pre>import polars as pl<br># Under the hood: delta-rs → PyArrow Dataset → Polars LazyFrame<br>lf = pl.scan_delta(&quot;s3://my-bucket/events/&quot;)<br># Polars takes over for transformations<br>result = (<br>    lf<br>    .filter(pl.col(&quot;event_type&quot;) == &quot;purchase&quot;)<br>    .group_by(&quot;user_id&quot;)<br>    .agg(pl.col(&quot;amount&quot;).sum().alias(&quot;total_spend&quot;))<br>    .sort(&quot;total_spend&quot;, descending=True)<br>    .collect()<br>)</pre><p>This means that when you use Polars with Delta, you’re <em>already using PyArrow</em> for I/O.</p><blockquote>The question is whether you stay in PyArrow-land for transformations or hand off to Polars?</blockquote><h3>Head-to-Head: Transformation Patterns</h3><p>Let’s compare the same transformation in both libraries across realistic scenarios.</p><h3>1. Filtering + Column Selection</h3><p><strong>PyArrow:</strong></p><pre>import pyarrow.compute as pc<br>dt = DeltaTable(&quot;s3://my-bucket/events/&quot;)<br>table = dt.to_pyarrow_table(<br>    columns=[&quot;user_id&quot;, &quot;event_type&quot;, &quot;amount&quot;],<br>    filters=[(&quot;event_type&quot;, &quot;=&quot;, &quot;purchase&quot;)]<br>)<br># Additional compute-level filtering<br>mask = pc.greater(table[&quot;amount&quot;], 100)<br>high_value = table.filter(mask)</pre><p><strong>Polars:</strong></p><pre>result = (<br>    pl.scan_delta(&quot;s3://my-bucket/events/&quot;)<br>    .select([&quot;user_id&quot;, &quot;event_type&quot;, &quot;amount&quot;])<br>    .filter(<br>        (pl.col(&quot;event_type&quot;) == &quot;purchase&quot;) &amp;<br>        (pl.col(&quot;amount&quot;) &gt; 100)<br>    )<br>    .collect()<br>)</pre><p><strong>My Analysis:</strong> For simple filters, both are readable. But notice that PyArrow requires you to split filtering across two layers: partition/predicate filters at read time via deltalake, and compute-level filters via pyarrow.compute. Polars unifies this. Its query optimizer pushes predicates down automatically, making it more efficient at reading only what&#39;s needed, which is especially beneficial when you want to perform operations on a dataset but can&#39;t load all of it into memory due to its size.</p><h3>2. Grouped Aggregations</h3><p><strong>PyArrow:</strong></p><pre>table = dt.to_pyarrow_table()<br>agg_table = (<br>    table<br>    .group_by(&quot;region&quot;)<br>    .aggregate([<br>        (&quot;revenue&quot;, &quot;sum&quot;),<br>        (&quot;order_id&quot;, &quot;count&quot;),<br>        (&quot;revenue&quot;, &quot;mean&quot;),<br>    ])<br>)<br># Columns are auto-named: revenue_sum, order_id_count, revenue_mean</pre><p><strong>Polars:</strong></p><pre>result = (<br>    pl.scan_delta(&quot;s3://my-bucket/orders/&quot;)<br>    .group_by(&quot;region&quot;)<br>    .agg(<br>        pl.col(&quot;revenue&quot;).sum().alias(&quot;total_revenue&quot;),<br>        pl.col(&quot;order_id&quot;).count().alias(&quot;order_count&quot;),<br>        pl.col(&quot;revenue&quot;).mean().alias(&quot;avg_revenue&quot;),<br>        (pl.col(&quot;revenue&quot;).sum() /<br>         pl.col(&quot;order_id&quot;).count()).alias(&quot;revenue_per_order&quot;),<br>    )<br>    .collect()<br>)</pre><p><strong>My Analysis:</strong> PyArrow’s group_by().aggregate() works but is limited to pre-defined hash aggregate functions. You can&#39;t compose inline expressions, whereas Polars lets you build arbitrary expressions inside aggregation contexts. The revenue_per_order computed column above has no clean PyArrow equivalent without post-processing.</p><h3>3. Joins Across Delta Tables</h3><p><strong>PyArrow:</strong></p><pre>orders = DeltaTable(&quot;s3://bucket/orders/&quot;).to_pyarrow_table()<br>customers = DeltaTable(&quot;s3://bucket/customers/&quot;).to_pyarrow_table()<br>joined = orders.join(<br>    customers,<br>    keys=&quot;customer_id&quot;,<br>    join_type=&quot;left outer&quot;<br>)</pre><p><strong>Polars:</strong></p><pre>orders = pl.scan_delta(&quot;s3://bucket/orders/&quot;)<br>customers = pl.scan_delta(&quot;s3://bucket/customers/&quot;)<br>joined = (<br>    orders<br>    .join(customers, on=&quot;customer_id&quot;, how=&quot;left&quot;)<br>    .filter(pl.col(&quot;country&quot;) == &quot;US&quot;)<br>    .select([<br>        &quot;order_id&quot;,<br>        &quot;customer_name&quot;,<br>        &quot;amount&quot;,<br>        (pl.col(&quot;amount&quot;) * pl.col(&quot;tax_rate&quot;)).alias(&quot;tax&quot;),<br>    ])<br>    .collect()<br>)</pre><p><strong>My Analysis:</strong> PyArrow joins work but are eager. Both tables must be fully materialized before the join. Whereas Polars’ lazy execution means the optimizer can push filters past the join, potentially reading far less data from disk.</p><h3>4. Window Functions</h3><p><strong>PyArrow </strong>does not natively support window functions, so you’d need to sort, group, and manually compute running aggregates, or convert to Pandas.</p><p><strong>Polars:</strong></p><pre>result = (<br>    pl.scan_delta(&quot;s3://bucket/events/&quot;)<br>    .with_columns(<br>        pl.col(&quot;amount&quot;)<br>            .sum()<br>            .over(&quot;user_id&quot;)<br>            .alias(&quot;user_total&quot;),<br>        pl.col(&quot;ts&quot;)<br>            .rank()<br>            .over(&quot;user_id&quot;)<br>            .alias(&quot;event_rank&quot;),<br>    )<br>    .collect()<br>)</pre><p><strong>My Analysis:</strong> I feel like this is where the gap is widest. Window functions are fundamental to analytics transformations, and PyArrow simply doesn’t have them. If your pipeline needs ranking, running totals, or lag/lead operations, Polars (or DuckDB) is the practical choice.</p><h3>Writing Back to Delta</h3><p>Now having talked about diffrences and tradeoffs between transformation patterns now lets have a look at writing back to delta.</p><p>In this case both paths converge at write time through the deltalake library.</p><p><strong>PyArrow:</strong></p><pre>from deltalake import write_deltalake<br>write_deltalake(<br>    &quot;s3://bucket/output/&quot;,<br>    table,  # pyarrow.Table<br>    mode=&quot;overwrite&quot;,<br>    partition_by=[&quot;region&quot;],<br>)</pre><p><strong>Polars:</strong></p><pre># Option A: Polars native method<br>df.write_delta(<br>    &quot;s3://bucket/output/&quot;,<br>    mode=&quot;overwrite&quot;,<br>)</pre><pre><br># Option B: MERGE operations via write_delta<br>(<br>    df.write_delta(<br>        &quot;s3://bucket/output/&quot;,<br>        mode=&quot;merge&quot;,<br>        delta_merge_options={<br>            &quot;predicate&quot;: &quot;s.id = t.id&quot;,<br>            &quot;source_alias&quot;: &quot;s&quot;,<br>            &quot;target_alias&quot;: &quot;t&quot;,<br>        },<br>    )<br>    .when_matched_update_all()<br>    .when_not_matched_insert_all()<br>    .execute()<br>)</pre><p>Under the hood, df.write_delta() converts to a PyArrow table before writing. This is worth knowing: Polars&#39; Null and Time types aren&#39;t supported by the Delta protocol, and Categorical columns get converted to plain strings. If you need non-nullable columns, you must pass a custom PyArrow schema via delta_write_options. Here&#39;s what that looks like:</p><pre>import pyarrow as pa<br>df = pl.DataFrame({<br>    &quot;id&quot;: [1, 2, 3],<br>    &quot;name&quot;: [&quot;alice&quot;, &quot;bob&quot;, &quot;charlie&quot;],<br>    &quot;score&quot;: [88.5, 92.0, 76.3],<br>})<br># Delta defaults every column to nullable.<br># To enforce non-nullable columns, pass an explicit PyArrow schema.<br>df.write_delta(<br>    &quot;s3://bucket/users/&quot;,<br>    mode=&quot;overwrite&quot;,<br>    delta_write_options={<br>        &quot;schema&quot;: pa.schema([<br>            pa.field(&quot;id&quot;, pa.int64(), nullable=False),<br>            pa.field(&quot;name&quot;, pa.string(), nullable=False),<br>            pa.field(&quot;score&quot;, pa.float64(), nullable=True),<br>        ])<br>    },<br>)</pre><h3>The Performance Dimension</h3><h4>Reading Partitioned Tables</h4><p>A key finding from <a href="https://medium.com/@jimmy-jensen/polars-partitions-and-performance-with-delta-lake-5c0d4bdd564b">practitioners</a> worth noting is when reading partitioned Delta tables with Polars, using pyarrow_options for partition filtering is significantly faster than applying a Polars .filter() after the fact.</p><pre># Slower: Polars filter applied after reading<br>df = pl.read_delta(&quot;s3://bucket/events/&quot;).filter(<br>    pl.col(&quot;year&quot;) == &quot;2025&quot;<br>)</pre><pre># Faster: partition pruning via pyarrow_options<br>df = pl.read_delta(<br>    &quot;s3://bucket/events/&quot;,<br>    pyarrow_options={&quot;partitions&quot;: [(&quot;year&quot;, &quot;=&quot;, &quot;2025&quot;)]}<br>)</pre><p>The difference is that pyarrow_options triggers partition pruning at the file-system level. As a result, irrelevant Parquet files are never read. The Polars filter approach reads all files first, then discards rows.</p><h3>Memory Profile</h3><p>PyArrow tables are contiguous Arrow buffers. When you hand data to Polars, there’s a conversion step (albeit lightweight since Polars uses Arrow-compatible memory layout). For pipelines where you read → apply one filter → write back, staying in PyArrow avoids this conversion entirely.</p><p><strong>Having said that, it is worth noting that for pipelines with complex multi-step transformations, Polars’ streaming engine and lazy execution will usually win on memory efficiency, because it can pipeline data through operations without materializing intermediate results.</strong></p><h3>My Decision Framework</h3><p>After going through all of the architectural trade-offs, it must be clear to you, that PyArrow and Polars each have their own pros and cons. The choice between them really depends on your use case. Personally, within my framework, I would keep both capabilities available and use the following decision framework to decide when to use what.</p><p><strong>Choose PyArrow-only when:</strong></p><ul><li>Your transformations are simple: filter, select columns, basic aggregations</li><li>You’re building an ETL that reads Delta → applies light transforms → writes Delta</li><li>Zero-copy performance matters and you want to avoid any conversion overhead</li><li>You’re integrating with other Arrow-native tools (DuckDB, DataFusion, Pandas with Arrow backend)</li><li>Your pipeline is I/O-bound, not compute-bound (very important)</li></ul><p><strong>Choose Polars when:</strong></p><ul><li>You need window functions, complex expressions, or multi-step transformations</li><li>You’re doing exploratory analytics or building feature engineering pipelines</li><li>Your transformations involve multiple joins across Delta tables</li><li>You want lazy evaluation with automatic query optimization</li><li>Developer ergonomics and code maintainability matter to your team</li></ul><p><strong>Choose both when:</strong></p><ul><li>You use PyArrow at the I/O boundary (partition-aware reads, schema management) and Polars for the transformation core. This is often the pragmatic sweet spot.</li></ul><h3>A Realistic Pipeline Pattern</h3><p>Now here’s what a production-grade pattern could look like, combining both libraries:</p><pre>from deltalake import DeltaTable<br>import polars as pl<br>import pyarrow.dataset as ds<br><br># Layer 1: Use delta-rs + PyArrow for I/O with partition pruning<br>dt = DeltaTable(&quot;s3://bucket/raw_events/&quot;)<br>dataset = dt.to_pyarrow_dataset()<br># Layer 2: Hand off to Polars for transformation<br>events = (<br>    pl.scan_pyarrow_dataset(dataset)<br>    .filter(pl.col(&quot;event_date&quot;) &gt;= &quot;2025-01-01&quot;)<br>    .with_columns(<br>        pl.col(&quot;revenue&quot;).sum().over(&quot;customer_id&quot;).alias(&quot;ltv&quot;),<br>        pl.col(&quot;event_date&quot;).rank().over(&quot;customer_id&quot;).alias(&quot;event_seq&quot;),<br>    )<br>    .filter(pl.col(&quot;event_seq&quot;) == 1)  # first event per customer<br>    .select([&quot;customer_id&quot;, &quot;ltv&quot;, &quot;event_date&quot;, &quot;channel&quot;])<br>    .collect()<br>)<br># Layer 3: Write back via Polars&#39; Delta integration<br>events.write_delta(<br>    &quot;s3://bucket/first_touch_attribution/&quot;,<br>    mode=&quot;overwrite&quot;,<br>    partition_by=[&quot;channel&quot;],<br>)</pre><h3>Table Maintenance Without Spark</h3><p>One advantage of the deltalake library that&#39;s easy to overlook: you get table maintenance operations directly in Python.</p><pre>dt = DeltaTable(&quot;s3://bucket/my_table/&quot;)<br><br># Compact small files<br>dt.optimize.compact()<br><br># Z-order for query performance<br>dt.optimize.z_order([&quot;user_id&quot;, &quot;event_date&quot;])<br><br># Clean up old versions<br>dt.vacuum(retention_hours=168, enforce_retention_duration=True, dry_run=False)<br><br># Time travel<br>dt.load_version(42)<br>historical = pl.from_arrow(dt.to_pyarrow_table())</pre><p>These operations work regardless of whether you use Polars or PyArrow for your transformations.</p><h3>Closing Thoughts</h3><p>The Polars vs PyArrow question in a Delta Lake context is really a question about <strong>where your complexity lives</strong>. If your pipeline’s complexity is in the I/O layer, i.e. reading the right partitions, managing schema evolution, handling concurrent writes, then PyArrow’s closeness to the Delta protocol is an advantage. But if your complexity is in the transformation layer, i.e. building features, computing aggregates, joining datasets, then Polars’ expressive API pays for itself quickly.</p><p><strong>The mature answer, as with most things in engineering, is: use both where they’re strongest. Let PyArrow handle the Delta interface and let Polars handle the computation. The Arrow memory format makes this handoff nearly free.</strong></p><h4><em>References and Further Reading:</em></h4><ul><li><a href="https://delta-io.github.io/delta-rs/">delta-rs documentation</a></li><li><a href="https://docs.pola.rs/py-polars/html/reference/api/polars.read_delta.html">Polars Delta integration</a></li><li><a href="https://arrow.apache.org/docs/python/compute.html">PyArrow Compute Functions</a></li><li><a href="https://github.com/pola-rs/polars/issues/12217">Polars GitHub Issue #12217: scan_delta architecture</a></li><li><a href="https://medium.com/@jimmy-jensen/polars-partitions-and-performance-with-delta-lake-5c0d4bdd564b">Polars partitions and- erformance with delta lake</a></li></ul><blockquote><em>Author:<br>Nikhil Sontakke (M.Sc. Computer Science, B.Tech Computer Engineering)<br>Linkedin: </em><a href="https://www.linkedin.com/in/nikhil-sontakke/"><em>https://www.linkedin.com/in/nikhil-sontakke/</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed8a8250af28" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/transformations-on-delta-lake-without-spark-polars-vs-pyarrow-ed8a8250af28">Transformations on Delta Lake Without Spark: Polars vs PyArrow</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the 4-Layer Medallion Data Architecture?]]></title>
            <link>https://awstip.com/what-is-the-4-layer-medallion-data-architecture-265a01c0cb9a?source=rss-20c5abf04317------2</link>
            <guid isPermaLink="false">https://medium.com/p/265a01c0cb9a</guid>
            <category><![CDATA[medallion-architecture]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[data-lakehouse]]></category>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Nikhil Sontakke]]></dc:creator>
            <pubDate>Fri, 13 Mar 2026 12:15:34 GMT</pubDate>
            <atom:updated>2026-03-16T09:15:09.100Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Every data platform eventually hits the same wall. Source systems disagree on everything — date formats, column names, null representations, identifier types, and the Silver layer quietly absorbs all of it. What was designed for business logic becomes a structural cleanup crew. Pipelines get brittle and tests get harder. The classic medallion architecture doesn’t have a good answer for this, but you need not to worry, because the 4-layer model does. Lets have a look at this simple yet impactfully significant architecture model!</em></blockquote><h3>A Glimpse into the Classic Medallion Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rlW8nNrm_ESZRClHjBYMMA.png" /><figcaption>Fig 1.1 — Medallion Data Architecture</figcaption></figure><p>The medallion architecture has become the de facto standard for organizing data in a modern lakehouse. Its three-layer model — Bronze for raw ingestion, Silver for cleansing, Gold for business-ready aggregates — is elegant, intuitive, and widely adopted. But as data platforms scale, a familiar problem emerges.</p><p>Source systems disagree on everything. Date formats, column naming conventions, null representations, identifier types, encoding standards — every upstream system has its own opinion, and none of them align. The Silver layer was originally designed to apply business logic and quality rules but it ends up doing double duty, first wrestling with structural inconsistencies, and then applying domain logic on top. This results in brittle, complex pipelines that are hard to test and even harder to maintain.</p><h3>The Solution: Four-Layered Medallion Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XhxNTR-umDRiTv3cr0gJTA.png" /><figcaption>Fig 1.2– 4-Layered Medallion Architecture</figcaption></figure><blockquote><em>The 4-layer medallion architecture solves this by making schema standardization an explicit, first-class layer — positioned between Bronze and Silver, before any business logic is applied.</em></blockquote><p>This addition is simple, but has a significant impact. Here’s how it works.</p><h3>The Four Layers at a Glance</h3><h4><strong>🥉 Bronze -Raw Integration</strong></h4><p>Raw, unmodified data landed exactly as received from source systems. No transformations, no corrections. The immutable audit trail.</p><h4><strong>⚙️ Conformed — Schema Standardized</strong></h4><p>All Bronze datasets normalized to a common schema. Column names standardized, data types cast consistently, metadata fields added uniformly. No business logic — pure structural alignment.</p><h4><strong>🥈 Silver — Filtered, Cleaned, Augmented</strong></h4><p>Its here where actual business-driven quality rules are applied, like deduplication, null handling, referential integrity and cross-source enrichment. Its the enterprise view of key business entities.</p><h4><strong>🥇 Gold — Business-Level Aggregates</strong></h4><p>Curated, consumption-ready data products organized by business domain. Optimized for BI dashboards, ML models, and customer-facing data outputs.</p><h3>Bronze: The Landing Zone</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8skJ6F9T9v_aO_8VXJ4dWQ.png" /><figcaption>Fig 1.3 — Bronze Layer</figcaption></figure><p>The Bronze layer is a faithful, append-only record of every piece of data that enters the platform. Table structures mirror source system structures as-is, supplemented only by operational metadata — ingestion timestamp, source identifier, pipeline run ID.</p><p>Nothing is corrected. Nothing is transformed. If the source sends a date as a string, it arrives as a string. If a column name has an inconsistent prefix, it keeps that prefix. The entire value of Bronze rests on this discipline. The moment you start “cleaning things up” in the landing zone, you lose the ability to trace issues back to their true origin.</p><p>Bronze is your insurance policy. Every downstream layer can be fully rebuilt from it at any time, without re-reading from source systems. Treat it as sacred.</p><p>Bronze supports both batch and streaming ingestion patterns. The key invariant — immutability — holds in either case.</p><h3>Conformed: The Layer the Classic Model Was Missing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-OWR7G_Flv2un94H612b-g.png" /><figcaption>Fig 1.4 — Conformed Layer</figcaption></figure><p>This is where the 4-layer architecture earns its place. The Conformed layer takes raw Bronze data and applies a single, focused transformation: structural normalization.</p><p>Every dataset that passes through Conformed receives the same treatment:</p><ul><li><strong>Column naming</strong> is standardized to the enterprise convention — snake_case, consistent prefixes for foreign keys, standard suffixes for timestamps.</li><li><strong>Data types</strong> are cast consistently across all sources — all dates to ISO 8601, all monetary values to decimal(18,4), all identifiers to varchar.</li><li><strong>Nullability rules</strong> are enforced — fields that should never be null are validated and flagged if violated.</li><li><strong>Metadata fields</strong> are added uniformly — record hash, source system code, effective date, and pipeline version are present on every Conformed table.</li></ul><p>Critically, the Conformed layer does <em>not</em> apply business logic. It does not deduplicate records, fill nulls based on business rules, or join across sources. Those are Silver’s jobs. Conformed asks only one question: <em>does this data look structurally consistent?</em></p><blockquote><em>Treat the Conformed schema as a formal contract. Any breaking change should be communicated and versioned with the same care as a public API change.</em></blockquote><p>The practical benefit becomes clear when onboarding a new source. You build a Bronze ingestion pipeline and a Conformed mapping. Every existing Silver and Gold pipeline continues to work unchanged, because the schema contract they depend on hasn’t moved.</p><h3>Silver: Business Quality, Finally Focused</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cA_Fs5Qol9-yvouSnxvEGA.png" /><figcaption>Fig 1.5 — Silver Layer</figcaption></figure><p>In the classic three-layer model, Silver has to do two things simultaneously: normalize structure and enforce business quality. In the 4-layer model, Silver gets to do just one thing — and it does it much better.</p><p>Because every dataset arriving from Conformed already has a consistent schema, Silver engineers can write quality rules that are genuinely portable. A deduplication rule written for customer records works the same way regardless of whether the source was the CRM, the billing system, or the e-commerce platform — because all three now share the same column names and data types.</p><p>Silver tables represent the Enterprise view of key business entities: master customers, canonical products, non-duplicated transactions, unified event streams. The data modelling style here leans toward normalized, write-performant structures. Third normal form and Data Vault-inspired patterns both fit well. The goal is correctness and flexibility, not query performance — that comes in Gold.</p><h3>Gold: Data Products for Every Consumer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iep-Y-Tlrv4y4zv1dp3B2Q.png" /><figcaption>Fig 1.6 — Gold Layer</figcaption></figure><p>Gold is where data becomes a product. Tables here are organized around specific business domains and consumption use cases, not around the shape of source data. They are denormalized, pre-aggregated, and modelled for read performance.</p><p>The 4-layer architecture recognizes three primary consumer types for Gold:</p><p><strong>Business Intelligence</strong> — BI teams need star schema models with clearly named dimensions and facts, stable schemas, and predictable refresh cadences. A Gold table that requires multiple joins to answer a standard business question has been designed for the engineer, not the consumer.</p><p><strong>Machine Learning</strong> — ML teams use Gold as the basis for feature engineering and model training. They need historically consistent, well-governed data with traceable lineage. Feature store tables are often derived directly from Gold.</p><p><strong>Customers</strong> — Whether internal users on self-service portals or external partners receiving data exports, customer-facing products set the highest quality bar. They carry the strictest SLAs, the most rigorous change management, and the most explicit data contracts.</p><h3>Why This Architecture Scales?</h3><p>The core strength of the 4-layer medallion is that each layer is independently deployable, testable, and scalable. Failures are isolated. A broken Conformed mapping for one source system doesn’t affect Silver pipelines for other sources.</p><ul><li><strong>Cleaner separation of concerns</strong> — structural work is decoupled from business logic.</li><li><strong>Faster source onboarding</strong> — new sources only need Bronze and Conformed; Silver and Gold remain stable.</li><li><strong>Improved lineage</strong> — the Conformed layer is a well-defined checkpoint for tracing data issues.</li><li><strong>Full reprocessability</strong> — any layer can be rebuilt from Bronze at any time.</li><li><strong>Reduced Silver complexity</strong> — Silver pipelines operate on predictable schemas, eliminating defensive coding for type mismatches.</li></ul><h3>Summary</h3><p>While designing each layer a Data Engineer must ask the following layer responsibility key questions:</p><blockquote>🥉 Bronze (Raw ingestion &amp; preservation) — Did we capture everything?</blockquote><blockquote>⚙️ Conformed (Schema standardization &amp; metadata) — Does it look consistent?</blockquote><blockquote>🥈 Silver (Business quality &amp; cleansing) — Is it correct and complete?</blockquote><blockquote>🥇 Gold (Business-ready data products) — Is it ready to consume?</blockquote><p>The 4-layer medallion architecture is a pragmatic, incremental improvement over the classic three-layer model. By making schema standardization explicit and first-class, it reduces complexity in downstream pipelines, accelerates onboarding of new sources, and gives every consumer a cleaner, more trustworthy foundation to build on.</p><p>The Conformed layer isn’t a radical departure — it’s a recognition that structural normalization and business quality are different jobs, and they deserve different layers.</p><blockquote><em>Author:<br>Nikhil Sontakke (M.Sc. Computer Science, B.Tech Computer Engineering)<br>Linkedin: </em><a href="https://www.linkedin.com/in/nikhil-sontakke/"><em>https://www.linkedin.com/in/nikhil-sontakke/</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=265a01c0cb9a" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/what-is-the-4-layer-medallion-data-architecture-265a01c0cb9a">What is the 4-Layer Medallion Data Architecture?</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ghosts in the Data: Why Changelogs Are a Data Engineer’s Superpower]]></title>
            <link>https://nikhil-sontakke.medium.com/ghosts-in-the-data-why-changelogs-are-a-data-engineers-superpower-d0ba1bc83603?source=rss-20c5abf04317------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0ba1bc83603</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[change-data-capture]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Nikhil Sontakke]]></dc:creator>
            <pubDate>Tue, 16 Sep 2025 19:32:53 GMT</pubDate>
            <atom:updated>2025-09-16T19:32:53.278Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine your company’s data as a bustling city. Every second, thousands of transactions flow through like cars on highways — orders are placed, customers update their profiles, inventory changes hands. Now imagine if this city had no traffic cameras, no security footage, no record of what happened when something goes wrong.</p><p>This is how exactly most companies operate with their data. And it’s a <strong>recipe for disaster</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tk27I0eoSbvjghNU8wzsHA.png" /></figure><h3>The Hidden History of Data’s Guardian Angel</h3><p>Let’s dive into the fascinating story Change Data Capture (CDC) — the modern data world’s equivalent of a security system that never sleeps.</p><p>Back in the 1980s and 1990s, when businesses started running multiple databases, they faced a crucial problem: how do you keep all these systems in sync without constantly copying everything? It’s like trying to keep multiple photo albums updated — you don’t want to reprint every photo each time you add a new one.</p><p>Early solutions were clunky. Some companies tried scheduled queries (imagine checking every hour if anything changed), while others used database triggers (like having a person manually write down every change). But the breakthrough came with log-based change data capture — essentially reading the database’s internal diary of all changes.</p><h3>SAP: The Quiet Pioneer Who Got It Right</h3><p>Here’s where the story gets interesting. While everyone else was struggling with basic data synchronization, SAP was already building something revolutionary in the 1990s.</p><p>SAP created two special tables called CDHDR (Change Document Header) and CDPOS (Change Document Position). Think of these as a detailed security log for your business data. Every time someone:<br>- Modified a sales order<br>- Updated an invoice<br>- Changed a customer record</p><p>SAP didn’t just save the new information, it created a permanent, unchangeable record of what changed, when it changed, and who made the change.</p><blockquote>This wasn’t just clever engineering, it was visionary. SAP understood something that wouldn’t become obvious to others for more than a decade: in business, knowing what happened is just as important as knowing what’s happening now.</blockquote><h3>The Slow Awakening of Tech Giants</h3><p>While SAP was perfecting their approach, major database vendors were surprisingly slow to catch on:</p><ul><li><strong>Microsoft SQL Server</strong>: finally added CDC features in 2008</li><li><strong>Oracle and IBM DB2</strong>: followed with their own implementations</li></ul><p>But SAP had an 18-year head start</p><h4>Why did it take so long?</h4><p>The answer reveals something important about how we think about data. Most database designers focused on making data storage and retrieval fast and efficient. They treated change tracking as an afterthought — like building a house and forgetting to install smoke detectors.</p><p>SAP, however, was built for enterprise customers who understood that business data isn’t just information — it’s evidence. In regulated industries, you need to prove not just what your data says, but how it got that way.</p><h3>The Early Adopters Who Saw the Light</h3><p>Large enterprises like Siemens, Nestlé, and Unilever were among the first to benefit from SAP’s changelog-driven approach. They discovered they could:<br>- Track down exactly when and why data changed<br>- Recover from mistakes with surgical precision<br>- Meet regulatory requirements with confidence</p><p>Financial services and trading firms quickly followed, using CDC for near-real-time data replication and compliance reporting. When you’re moving millions of dollars based on data, you want to know that data has a verifiable history.</p><p>Over time, this evolved into commercial products from companies like Oracle GoldenGate and Qlik Replicate, and eventually into cloud-native services from Google, AWS, and Azure.</p><h3>When Data Lies: The Catastrophic Cost of Data Blindness</h3><p>Now, let me tell you some stories that will make you understand why changelogs aren’t just nice to have — they’re absolutely critical.</p><h4>Knight Capital: 45 Minutes to Financial Ruin</h4><p>In 2012, Knight Capital deployed new trading software with a bug. The system started flooding the market with erroneous orders — imagine a robot trader going completely haywire. In just 45 minutes, Knight Capital lost over $440 million.</p><p>But here’s the devastating part: the investigation revealed that the disaster was made worse by their inability to trace data changes in real-time. They had no clear changelog to pinpoint exactly what happened and when. What should have been a contained bug became a company-ending catastrophe.</p><p>Knight Capital never recovered and was eventually acquired by a competitor.</p><h4>TSB Bank: When 1.9 Million Customers Can’t Access Their Money</h4><p>In 2018, TSB Bank attempted to migrate to a new IT platform. The migration went horribly wrong, leaving 1.9 million customers locked out of their accounts.</p><p>The nightmare lasted for weeks because engineers couldn’t untangle the web of corrupted data. Without a clear, traceable record of changes, they were essentially trying to solve a jigsaw puzzle with half the pieces missing.</p><p>The incident cost hundreds of millions in fines, compensation, and lost business. More importantly, it permanently damaged customer trust.</p><h4>The Hidden Costs That Add Up Fast</h4><p>These headline disasters represent just the tip of the iceberg. The real cost of data blindness shows up in countless smaller incidents:</p><p><strong>Compliance Violations</strong>: Without proper audit trails, companies face regulatory fines averaging €4.0 million per incident. Regulators don’t just want to see your current data — they want to understand how you got there.</p><p><strong>Extended Recovery Time</strong>: Data incidents without change tracking take 10 times longer to resolve. The average cost of downtime for enterprise applications is €7,500 per minute. When you can’t trace what changed, you’re flying blind in a crisis.</p><p><strong>Customer Trust Erosion</strong>: Studies show that 73% of customers will switch providers after a <strong>single data integrity incident</strong>. In our connected world, word travels fast.</p><h4>Final Thoughts: Changelogs, Your Secret Superpower</h4><p>In the end, a changelog is more than just a technical tool. It’s your company’s truth-teller, your safety net, and your learning guide. Whether you’re managing a vast enterprise or tinkering solo, embracing change tracking means you can move quicker, fix issues confidently, and most importantly —<strong> trust your results</strong>.</p><p>So start simple. Track changes. Build trust in your data, your team, and your own work. As you grow, you’ll find that every successful project has one thing in common: an honest, complete, and well-told story of how it changed over time.</p><p>Because in data, as in life, the best stories are the ones you can trace from beginning to end.</p><blockquote><em>Author:<br>Nikhil Sontakke (M.Sc. Computer Science, B.Tech Computer Engineering)<br>Linkedin: </em><a href="https://www.linkedin.com/in/nikhil-sontakke/"><em>https://www.linkedin.com/in/nikhil-sontakke/</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0ba1bc83603" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Native Architecture for an Online Retail Business]]></title>
            <link>https://awstip.com/cloud-native-architecture-for-an-online-retail-business-421e48c193fc?source=rss-20c5abf04317------2</link>
            <guid isPermaLink="false">https://medium.com/p/421e48c193fc</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[system-architecture]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[cloud-architecture]]></category>
            <dc:creator><![CDATA[Nikhil Sontakke]]></dc:creator>
            <pubDate>Thu, 27 Feb 2025 23:05:43 GMT</pubDate>
            <atom:updated>2025-05-26T15:54:58.146Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>By Nikhil Sontakke (M.Sc. Computer Science, B.Tech Computer Engineering)</blockquote><h3>Abstract</h3><p>This blog outlines a cloud-native architectural approach for an emerging online retail business. The proposed system is designed to be cost-effective during initial setup and supports rapid scalability. The proposed solution leverages the use of technologies like microservices, serverless technologies and managed cloud services. This system architecture addresses the required core services — website, blog, inventory management, payment services, customer support and analytics for any emerging online retail business. This blog discusses strategies for ensuring security, availability, performance, operational efficiency and adaptability to future scalability in the event of growth of business. I have emphasized on industry best practices and tried to reference cloud provider guidance and well-architected frameworks. Finally, I have described a suitable development process and organizational structure for efficient solution delivery.</p><h3>Introduction</h3><p>The demand for online retail in increasing substantially and online businesses are experiencing a significant growth. For the emerging online retailers, agility, scalability and cost-efficiency are the most important factors and a cloud-native approach offers an ideal solution to meet these requirements. This blog details a cloud-native architecture for a hypothetical online retail business taking into consideration relevant business factors like small scale, cost constraints and potential room for rapid expansion.</p><p>Cloud-native solutions utilize technologies like containers, microservices, server-less functions and immutable infrastructure to build and run scalable applications in a modern and dynamic environment. This novel approach inherently aligns with the needs of a growing online retail business, enabling:</p><p>1. Scalability: Ability to easily adjust resources to handle fluctuating demand which is crucial for seasonal traffic upsurge.</p><p>2. Resilience: A quality of a fault-tolerant system that can withstand component failures without impacting end user experience.</p><p>3. Cost Optimization: The pay-as-you-go models for cloud services minimizes the initial investment and operational overhead.</p><p>In addition to above features they also provide speed and agility in development processes which results in accelerated development cycles, enabling rapid iteration and faster deployment of new features.</p><p>This blog explores a cloud-native architecture solution tailored for specific requirements of an imaginary emerging online retail business. I will delve into the architecture of key components, technology choices, and strategies for security, availability, performance, operations and scalability all within the context of cloud best practices and industry guidance.</p><h3>Architectural Design — Microservices and Cloud Services</h3><p>A microservices architecture is central to a cloud-native approach making the system achieve its modularity. Using microservices architecture we decompose the application into independent, loosely coupled services, each responsible for a specific business functionality. This architecture promotes independent development, deployment and scaling which are crucial for a rapidly evolving business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*HWEFbc41H_WtDxLxvtvJaw.png" /><figcaption>Fig 1: High Level Architecture</figcaption></figure><h3>High-Level Architecture</h3><p>Figure 1 illustrates the detailed system architecture diagram, presenting a sophisticated and feature rich AWS-based solution for an emerging e-commerce platform. The system architecture is designed meticulously to deliver a comprehensive and highly automated platform.</p><p>The architecture diagram depicts a clear separation of concerns and well-defined flow of requests, data and events across various AWS services.</p><p>Key components and their functionalities are as follows:</p><p>1. Amazon Route 53: It is responsible for managing DNS routing and directing traffic to optimal entry points.</p><p>2. Amazon CloudFront: It is a Global Content Delivery Network (CDN) provided by AWS for fast and efficient delivery of website content to all users worldwide.</p><p>3. Amazon S3 (Simple Storage Service): It provides ability to host static website assets and works along with Amazon CloudFront.</p><p>4. Application Load Balancer (ALB): It acts as the primary entry point and distributes incoming web traffic across different backend services and provides features like TLS termination and content-based routing.</p><p>5. Amazon WAF (Web Application Firewall): It provides front-line security and protects the web application from web-based attacks at the ALB.</p><p>6. Amazon Cognito: It provides secure user authentication, authorization and user management features like sign-up, sign-in and user profiles.</p><p>7. AWS Lambda Functions: They provide compute engines for most of the business logic and helps in implementation of various required services.</p><p>8. AWS Step Functions: They help in workflow orchestration for critical business workflows.</p><p>9. Amazon DynamoDB: It is a primary NoSQL database and is used in storing all application related data.</p><p>10. Amazon OpenSearch Service: It is a Amazon Elasticsearch Service and provides a powerful search and analytics engine which can be used specifically for indexing and optimizing catalogue search queries.</p><p>11. Amazon Kinesis Data Steams and Kinesis Data Firehose: It is a Real-time data ingestion pipeline for analytics data, capturing events from DynamoDB from various services. The data from firehose is streamed to Amazon S3.</p><p>12. Amazon Kinesis Data Analytics: It performs real-time analytics and stream processing on data from kinesis data stream, and provides use with immediate insights and actions based in streaming data.</p><p>13. Amazon SageMaker: It provides various machine learning capabilities for advanced data analytics tasks like customer segmentation, demand forecasting and personalised recommendations, etc.</p><p>14. Amazon QuickSight: It’s a business intelligence service for data visualisation, helps in creating dashboards and generating reports from analytics data processed through Amazon Kinesis Data Analytics and SageMaker.</p><p>15. Amazon Simple Email Service (SES): It helps in providing facility of email communication for different purposes like transaction emails, order updates, customer service interactions and other communication with the client.</p><h3>Service Component Architecture</h3><h4>Website Frontend</h4><p>The website will feature three primary sections: an e-commerce platform, a blog and a customer support area. The blog section can provide an engaging and information content to the clients whereas the customer support area will allow user/clients to contact CSR staff and get their issues/complaints resolved and avail all the necessary help needed. All the three sections will leverage the same underlying architecture. The frontend of the website would be developed and hosted with the help of Amazon S3 and Amazon CloudFront. The frontend could be a simple web application developed using React. Why React? React’s component-based architecture and large community support would be very helpful. Static assets, including images, CSS stylesheets and JavaScript files, etc. will be stored in Amazon S3. Amazon CloudFront will be used as global CDN for global content delivery, its edge caching and cache invalidation strategies would be very helpful in ensuring faster load times. User Authentication and authorization will be handled by Amazon Cognito as it allows user to sign up using email/passwords or social logins. Amazon Cognito will help us in managing user pools and authentication tokens as we can implement a role-based access control to manage user permissions by leveraging Amazon Cognito.</p><h4>Website Backend and Core Services</h4><p><strong>API Entry Point</strong>: All API requests will enter through API Gateway and then pass through an Application Load Balancer (ALB). The ALB acts as the central point of entry and intelligently routes incoming traffic to the appropriate backend service. Both API Gateway and ALB helps in routing requests based on URL path to appropriate Lambda functions. Apart from routing the ALB also helps in performing load balancing and distributing the traffic across multiple instances of the backend services to ensure responsiveness and thus preventing overload. All the critical backend services reside within an Auto Scaling group as depicted in Figure 1. This allows the system the ability to dynamically adjust the number of active instances of services based on real-time demand, thus automatically scaling up during peak loads and scaling down during the lulls. This dynamic scaling optimizes the resource utilization an ensures consistent performance of all the services.</p><p><strong>Data Storage</strong>: Amazon DynamoDB is used as the primary database for all core services as it provides serverless, scalable NoSQL database for catalogue, order, shopping cart and all the other CRM related data.</p><p><strong>Compute</strong>: AWS Lambda function is used majorly for computing purposes and implementing all the backend logic.</p><p>Following services would be developed using AWS Lambda:</p><p>a. Catalog Search Service: It provides the user the ability to browse through various products available. It receives search queries and interacts with Amazon OpenSearch Service for search execution which retrieves search result from DynamoDB.</p><p>b. Inventory Service: It provides admin the ability to manage inventory levels and stock information.</p><p>c. Shopping cart service: It provides the functionality to manage shopping carts of users using DynamoDB and provides features like add, remove and view items in the shopping cart.</p><p>d. Order Service: It provides the functionality to process order, manage order lifecycle and integrates with the payment service for processing payment. It invokes the appropriate AWS Step Function like New Order Workflow, Return Order Workflow or Cancel Order Workflow.</p><p>e. Customer Support Service: It is responsible for managing customer complaints and help customers with any problems. It integrates with Amazon SES to provide communication and reporting facility to clients.</p><p>f. Payment Service: It is a dedicated service for payment integration, and it is a part of New Order Workflow (AWS Step Function). It receives payment requests for orders, and it interacts synchronously with a 3rd party payment gateway (e.g., PayPal, Stripe) for secure transaction processing and provides payment status to the workflow for further process.</p><p><strong>Workflow Orchestration</strong>: Along with above Lambda Functions, AWS Step Functions are used to orchestrate complex processes constituting to various order lifecycle workflows. These workflows in-turn likely invoke multiple lambda functions in a defined sequence and manage order states along with error handling.</p><p>a. <strong>New Order Workflow</strong>: Figure 2 illustrates the detailed architecture of New Order Workflow. Initially an order is created in DynamoDB in a draft status. Then the order is processed for payment with the help of payment service which in-turn processes the payment through a 3rd party payment provider. If the payment is successful, the order status set as “Confirmed” and send shipment message is sent to warehouse with all the order details. In case of failed payment, the order status is set as “Payment Failed”. Finally, user is notified via an email about his order status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*TO2dom-hNwH8kqKp04U6TQ.png" /><figcaption>Figure 2: New Order Workflow Architecture</figcaption></figure><p>b. <strong>Return Order Workflow</strong>: Figure 3 illustrates the detailed architecture of Return Order Workflow. When a return order request is placed at first return eligibility is checked and if the order is eligible then order status is set to “Return Initiated”, and a reverse shipment request is sent to warehouse and logistics. Finally, user is notified via email about the status of his return request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*A47Y4wtx6GbWO-YBeRQ73Q.png" /><figcaption>Figure 3: Return Order Workflow</figcaption></figure><p>c. <strong>Cancel Order Workflow</strong>: Figure 4 illustrates the detailed architecture of Cancel Order Workflow. When an order cancellation is requested at first cancellation eligibility is checked and then the order status is updated as “Cancelled” and a shipment cancellation request is sent to warehouse and logistics. Finally, user is notified via email about the status of his cancellation request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*A47Y4wtx6GbWO-YBeRQ73Q.png" /><figcaption>Figure 4: Cancel Order Workflow</figcaption></figure><h3>Analytics Pipeline (Realtime and Batch Analytics)</h3><p><strong>Real-time Data Ingestion (Amazon Kinesis Data Streams):</strong> As illustrated in figure 1, various services (Order Service, Inventory Service, Shopping Cart Service, etc.) commit data to DynamoDB which then publishes event data to Amazon Kinesis Data Stream in real-time.</p><p><strong>Real-time Analytics and Stream Processing (Amazon Kinesis Data Analytics):</strong> The Amazon Kinesis Data Analytics further processes all the data streams from Kinesis data Streams in real-time. It performs operations like aggregation, filtering and triggers immediate actions or alerts based on streaming data insights.</p><p><strong>Data Lake Storage (S3 via Firehose):</strong> The Amazon Kinesis Data Firehose streams raw data from Kinesis Data Streams to Amazon S3 for storage. S3 provides a serverless data lake for long-term storage of data which can be further used for batch analytics.</p><p><strong>Batch Analytics and Machine Learning (Amazon SageMaker):</strong> Here Amazon SageMaker can be used for performing batch analytics and machine learning operations based on data stored in the Amazon S3. Advanced analytics such as customer segmentation, demand forecasting, personalized product recommendations, etc. The SageMaker can also potentially access data from DynamoDB for certain tasks if required but this is not depicted in figure 1.</p><p><strong>Data Visualization and BI (Amazon QuickSight):</strong> The Amazon QuickSight connects data from various data sources (Amazon S3, Amazon Kinesis Data Analytics outputs and potentially DyamnoDB and ElasticSearch Service too) to create interactive dashboards and reports. This provides business intelligence features and helps in generating data-driven insights.</p><h3>Ensuring Security, Availability and Performance</h3><h4>Security</h4><p>For ensuring security and providing first line of defense against web application threats we have AWS WAF. We can configure WAF rulesets to provide protection against OWASP Top 10 vulnerabilities, SQL Injection, Cross-Site Scripting, and other common web exploits. We also must ensure regular updating of WAF rulesets to address emerging threats.</p><p>For providing robust and secure user authentication and authorization across website and API’s we have Amazon Cognito. We utilize AWS Cognito’s user pools for user directory management and federated identities for social logins. Also, we can enforce strong password policies and deploy multi-factor authentication (MFA) if needed.</p><p>Data protection is also very important when dealing with security. To ensure data protection we enable encryption at rest for all the data stored in Amazon DynamoDB, Amazon S3 and Amazon Elasticsearch Service by using AWS KMS. For safeguarding data in transit, we can enforce HTTPS/TLS for all the API calls via Application Load balancer and Amazon CloudFront, ensuring data encryption in transit. These encryption keys can also be managed by AWS KMS.</p><p>Further system security can be ensured by applying the principle of least privilege using AWS IAM. Here we can define fine-grained IAM roles for each AWS Lambda function, Step Function and other service components. We need to grant only minimum necessary permissions for each component to access specific AWS resources.</p><h4>Availability</h4><p>The system is designed to be highly available and fault tolerant for critical services by using a multi-faceted approach which leverages AWS’s robust infrastructure. By deploying services like ABL and Elasticsearch across multiple Availability Zones (AZs) we ensure resilience against AZ-Level failures, here we can also leverage DynamoDB’s inherent multi-AZ nature. In terms for website availability, Amazon CloudFront CDN ensures global availability and responsiveness through edge caching, while AWS Lambda also inherently offers managed high availability and scalability.</p><p>Further we can also take into consideration making use of DynamoDB Global Tables that provide us cross-region replication and if needed setting up a proactive monitoring and alerting using CloudWatch (Not part of the proposed architecture just a suggestion).</p><h4>Performance Optimization</h4><p>To achieve optimal performance, The CloudFront CDN should be finetuned with effective caching policies and origin shield (additional caching layer in CloudFront). Lambda functions can be optimized by focusing on code optimization, memory allocations tuning and mitigating cold starts. ALB can also be configured for efficient load balancing and Kinesis Data Analytics can be optimized by SQL optimization. Overall, the underlying architecture can be constructed to support asynchronous operations and even-driven patterns wherever applicable to inherently enhance the system responsiveness.</p><p>Finally, a rigorous performance testing and load testing is essential to pinpoint bottlenecks in the system and by performing these intensive tests we can drive end-to-end optimization across all components.</p><h4>Operations and Lifecycle Management</h4><p>For operations and lifecycle management we can leverage AWS DevOps best practices as our retail platform is serverless. For automatic provisioning and version control we can use Infrastructure as a Code (IaC) with CDK/ Cloud Formation. Also, CI/CD pipelines can streamline the code deployment and testing. We can also establish a centralized logging and monitoring service using CloudWatch to ensure observability. Security can also be bolstered with automated testing and secure secrets management. Further Automated backups and multi-region strategies can provide robust disaster recovery and adopting agile development principles allows use for rapid iteration and adaptation, emphasizing automated resource cleanup and efficient dependency management.</p><h4>Platform Expandability and Adaptability</h4><p>We can ensure platforms adaptability and expandability as we have a strong foundation of serverless microservices which allows us to perform independent scaling and development of individual components, enabling us with rapid iteration and feature addition without disrupting the entire system. By focusing on API-driven design and leveraging and ALB we can seamlessly integrate new services and functionalities while accommodating evolving business requirements. Also, by consistently adopting new AWS managed services the platform will remain relevant, and we can leverage cutting-edge technologies. Finally, and agile development setup with continues feedback loop ensures that the customer needs and market shifts are incorporated within the system, paving the way for constat improvement and evolution of the capabilities of the platform.</p><h4>References</h4><p>1. Cloud Native Computing Foundation (CNCF): What is cloud native and why does it exist? <a href="https://www.cncf.io/online-programs/what-is-cloud-native-and-why-does-it-exist/">https://www.cncf.io/online-programs/what-is-cloud-native-and-why-does-it-exist/</a></p><p>2. AWS Well-Architected Framework. <a href="https://wa.aws.amazon.com/index.en.html">https://wa.aws.amazon.com/index.en.html</a></p><p>3. Google Cloud Architecture Center. <a href="https://www.google.com/url?sa=E&amp;source=gmail&amp;q=https://www.google.com/url?sa=E%26source=gmail%26q=https://cloud.google.com/architecture">https://cloud.google.com/architecture</a></p><p>4. Microsoft Azure Well-Architected Framework. <a href="https://learn.microsoft.com/en-us/azure/well-architected/">https://learn.microsoft.com/en-us/azure/well-architected/</a></p><p>5. Fowler, M., Lewis, J.: Microservices. martinfowler.com. <a href="https://www.google.com/url?sa=E&amp;source=gmail&amp;q=https://www.google.com/url?sa=E%26source=gmail%26q=https://martinfowler.com/articles/microservices.html">https://martinfowler.com/articles/microservices.html</a></p><p>6. Richardson, C.: Microservices Patterns: With examples in Java. Manning Publications, Location (2018)</p><p>7. Newman, S.: Building Microservices: Designing Fine-Grained Systems. O’Reilly Media, Location (2019)</p><p>8. Humble, J., Farley, D.: Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation. Addison-Wesley Professional, Location (2010)</p><p>9. Kim, G., Behr, K., Spafford, G.: The Phoenix Project: A Novel About IT, DevOps, and Helping Your Business Win. IT Revolution Press, Location (2013)</p><p>10. Open Web Application Security Project (OWASP): OWASP Top Ten. <a href="https://www.google.com/url?sa=E&amp;source=gmail&amp;q=https://www.google.com/url?sa=E%26source=gmail%26q=https://owasp.org/www-project-top-ten/">https://owasp.org/www-project-top-ten/</a>, (Accessed Date: 26 October 2023)</p><blockquote>Author: <br>Nikhil Sontakke (M.Sc. Computer Science, B.Tech Computer Engineering)<br>Linkedin: <a href="https://www.linkedin.com/in/nikhil-sontakke/">https://www.linkedin.com/in/nikhil-sontakke/</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=421e48c193fc" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/cloud-native-architecture-for-an-online-retail-business-421e48c193fc">Cloud Native Architecture for an Online Retail Business</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>