<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dipak Yadav</title>
    <description>The latest articles on DEV Community by Dipak Yadav (@dipak_yadav).</description>
    <link>https://dev.to/dipak_yadav</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4239211%2Fcdecb4fd-af79-436e-8ced-29f0a6467581.jpg</url>
      <title>DEV Community: Dipak Yadav</title>
      <link>https://dev.to/dipak_yadav</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dipak_yadav"/>
    <language>en</language>
    <item>
      <title>Don't Just Learn Technology. Understand Why It Was Built.</title>
      <dc:creator>Dipak Yadav</dc:creator>
      <pubDate>Thu, 26 Nov 2026 13:33:16 +0000</pubDate>
      <link>https://dev.to/dipak_yadav/dont-just-learn-technology-understand-why-it-was-built-4ib5</link>
      <guid>https://dev.to/dipak_yadav/dont-just-learn-technology-understand-why-it-was-built-4ib5</guid>
      <description>&lt;p&gt;&lt;em&gt;How engineering philosophy shapes cloud platforms, programming languages, software architecture, and the decisions we make as engineers.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;During a recent discussion with a cloud engineer, an interesting observation came up:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Azure Cloud is more user-friendly than AWS."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I asked a simple question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;He couldn't provide a concrete explanation.&lt;/p&gt;

&lt;p&gt;I didn't necessarily disagree with his observation. Azure might indeed feel more intuitive to someone, depending on their experience and the tasks they perform.&lt;/p&gt;

&lt;p&gt;But I wanted to understand whether this was an informed technical opinion or simply a preference based on familiarity.&lt;/p&gt;

&lt;p&gt;I shared a perspective that I believe many engineers overlook:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technology is not just about features and user experience. It is also about the engineering philosophy behind its design.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is something I have experienced firsthand while migrating an enterprise technology stack from Azure to AWS.&lt;/p&gt;

&lt;p&gt;And it made me think more deeply about how we evaluate, learn, and choose technologies.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Products Are Built Around Philosophies, Not Just Features
&lt;/h2&gt;

&lt;p&gt;Consider two ways of approaching the same problem.&lt;/p&gt;

&lt;p&gt;One approach provides a collection of modular building blocks. You select the components, configure them, connect them, and build your solution.&lt;/p&gt;

&lt;p&gt;Think of it as a LEGO toolkit.&lt;/p&gt;

&lt;p&gt;Another approach focuses on providing an integrated ecosystem, where different components work together through established patterns, integrations, and managed experiences.&lt;/p&gt;

&lt;p&gt;Think of it as an integrated enterprise suite.&lt;/p&gt;

&lt;p&gt;Neither approach is inherently superior. They simply emphasize different engineering priorities.&lt;/p&gt;

&lt;p&gt;I find this analogy useful when thinking about AWS and Azure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS: The Modular LEGO Toolkit&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS offers a broad collection of infrastructure primitives and managed services.&lt;/p&gt;

&lt;p&gt;Engineers can select individual services, configure them independently, and combine them to build solutions.&lt;/p&gt;

&lt;p&gt;This provides considerable architectural flexibility, but it also means engineers need to understand the interactions, configuration options, security boundaries, and operational responsibilities of the components they choose.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure: The Integrated Enterprise Ecosystem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Azure places significant emphasis on enterprise integration, Microsoft ecosystem alignment, identity integration, and managed experiences.&lt;/p&gt;

&lt;p&gt;Its integration with Microsoft Entra ID, Windows Server, Microsoft 365, and other enterprise technologies can make certain enterprise scenarios more cohesive.&lt;/p&gt;

&lt;p&gt;This can reduce integration effort and provide familiar operational experiences, although Azure also offers extensive infrastructure-level customization.&lt;/p&gt;

&lt;p&gt;The distinction isn't that one platform has capabilities the other doesn't.&lt;/p&gt;

&lt;p&gt;It is about the design priorities, abstractions, and experiences each platform emphasizes.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Similar Services Don't Necessarily Mean Identical Capabilities
&lt;/h2&gt;

&lt;p&gt;AWS and Azure offer many comparable cloud services.&lt;/p&gt;

&lt;p&gt;However, comparing services based only on their names or primary functionality can be misleading.&lt;/p&gt;

&lt;p&gt;Two services may solve the same business problem but expose different levels of control, authorization mechanisms, operational flexibility, and integration capabilities.&lt;/p&gt;

&lt;p&gt;Here is a high-level comparison of their architectural tendencies:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dimension&lt;/th&gt;
&lt;th&gt;AWS&lt;/th&gt;
&lt;th&gt;Azure&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Service approach&lt;/td&gt;
&lt;td&gt;Composable building blocks&lt;/td&gt;
&lt;td&gt;Integrated service ecosystem&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Infrastructure&lt;/td&gt;
&lt;td&gt;Extensive infrastructure primitives&lt;/td&gt;
&lt;td&gt;Managed and customizable infrastructure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Configuration&lt;/td&gt;
&lt;td&gt;Broad configuration choices&lt;/td&gt;
&lt;td&gt;Guided experiences and configuration options&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Identity&lt;/td&gt;
&lt;td&gt;AWS IAM&lt;/td&gt;
&lt;td&gt;Microsoft Entra ID&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Enterprise integration&lt;/td&gt;
&lt;td&gt;Broad integration ecosystem&lt;/td&gt;
&lt;td&gt;Strong Microsoft ecosystem alignment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hybrid cloud&lt;/td&gt;
&lt;td&gt;Hybrid and edge offerings&lt;/td&gt;
&lt;td&gt;Strong hybrid-cloud integration&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are broad tendencies, not exclusive capabilities.&lt;/p&gt;

&lt;p&gt;Both platforms offer managed services, granular security controls, hybrid-cloud capabilities, and extensive customization.&lt;/p&gt;

&lt;p&gt;The real differences become visible when we examine specific engineering requirements.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. A Real-World Example: Amazon MSK vs Azure Event Hubs
&lt;/h2&gt;

&lt;p&gt;During an enterprise migration from Azure to AWS, I encountered differences in how managed streaming services expose their authorization capabilities.&lt;/p&gt;

&lt;p&gt;Consider an enterprise streaming platform built around Kafka.&lt;/p&gt;

&lt;p&gt;Multiple application teams share the streaming infrastructure, and we need to enforce strict access control.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Team A can produce messages to Topic A.&lt;/li&gt;
&lt;li&gt;Team B can consume messages from Topic B.&lt;/li&gt;
&lt;li&gt;A monitoring application can inspect topic metadata.&lt;/li&gt;
&lt;li&gt;The monitoring application should not be allowed to produce or consume messages.&lt;/li&gt;
&lt;li&gt;No team should access topics belonging to another team.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At first glance, Azure Event Hubs and Amazon MSK offer comparable streaming capabilities.&lt;/p&gt;

&lt;p&gt;However, their authorization models have important differences.&lt;/p&gt;

&lt;h3&gt;
  
  
  Amazon MSK: Granular Authorization
&lt;/h3&gt;

&lt;p&gt;Amazon MSK supports IAM-based authentication and authorization.&lt;/p&gt;

&lt;p&gt;It exposes individual Kafka-related permissions, including:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Permission&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kafka-cluster:DescribeTopic&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Describe topic metadata&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kafka-cluster:DescribeTopicDynamicConfiguration&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Describe dynamic topic configuration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kafka-cluster:ReadData&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Consume messages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kafka-cluster:WriteData&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Produce messages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kafka-cluster:AlterTopic&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Modify topics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kafka-cluster:DeleteTopic&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Delete topics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kafka-cluster:DescribeGroup&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Describe consumer groups&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kafka-cluster:AlterGroup&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Manage consumer group access&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These permissions can be scoped to individual Kafka topic resources.&lt;/p&gt;

&lt;p&gt;Consider the monitoring application.&lt;/p&gt;

&lt;p&gt;We can grant it the ability to connect to the cluster and describe a specific topic without granting it permission to consume or produce messages.&lt;/p&gt;

&lt;p&gt;There is an important nuance: &lt;code&gt;DescribeTopic&lt;/code&gt; is also a prerequisite for certain read and write operations. Nevertheless, it remains an independently controllable permission.&lt;/p&gt;

&lt;p&gt;This is particularly useful when implementing least-privilege security policies.&lt;/p&gt;

&lt;h3&gt;
  
  
  Azure Event Hubs: A Different Authorization Model
&lt;/h3&gt;

&lt;p&gt;Azure Event Hubs supports Microsoft Entra ID-based authorization through Azure RBAC.&lt;/p&gt;

&lt;p&gt;Its built-in data roles include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Azure Event Hubs Data Sender&lt;/li&gt;
&lt;li&gt;Azure Event Hubs Data Receiver&lt;/li&gt;
&lt;li&gt;Azure Event Hubs Data Owner&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These roles can be assigned at individual Event Hub entity scope.&lt;/p&gt;

&lt;p&gt;Azure also supports entity-level Shared Access Signature (SAS) policies with Send, Listen, and Manage permissions.&lt;/p&gt;

&lt;p&gt;However, there is an important distinction.&lt;/p&gt;

&lt;p&gt;Azure's built-in data authorization model does not expose an equivalent, independently assignable Kafka &lt;code&gt;DESCRIBE TOPIC&lt;/code&gt; permission that can be granted separately from its data access roles.&lt;/p&gt;

&lt;p&gt;Although Azure supports custom RBAC roles, its documented Event Hubs data authorization model does not provide an equivalent Kafka-specific Describe operation as an independently assignable data-plane action.&lt;/p&gt;

&lt;p&gt;This means the authorization models are not identical, even though both services support entity-level access control.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Does This Teach Us?
&lt;/h3&gt;

&lt;p&gt;The difference isn't simply about whether a platform supports read or write permissions.&lt;/p&gt;

&lt;p&gt;It is about how deeply the platform exposes the underlying technology's operations as independently controllable security permissions.&lt;/p&gt;

&lt;p&gt;This matters in enterprise environments where security requirements often go beyond basic read/write access.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A service can provide similar fundamental functionality while making different architectural trade-offs in how that functionality is exposed and controlled.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Official documentation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/msk/latest/developerguide/kafka-actions.html" rel="noopener noreferrer"&gt;Amazon MSK IAM authorization semantics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://learn.microsoft.com/en-us/azure/event-hubs/authorize-access-event-hubs" rel="noopener noreferrer"&gt;Azure Event Hubs authorization&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://learn.microsoft.com/en-us/azure/event-hubs/authorize-access-shared-access-signature" rel="noopener noreferrer"&gt;Azure Event Hubs SAS authorization&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Think Like an Architect, Not Just a Cloud Operator
&lt;/h2&gt;

&lt;p&gt;Knowing how to create an EC2 instance, configure an Azure VM, deploy Kubernetes, or create an Event Hub is operational knowledge.&lt;/p&gt;

&lt;p&gt;Understanding why a particular service is designed the way it is, where its limitations exist, and how those limitations affect an architecture is engineering knowledge.&lt;/p&gt;

&lt;p&gt;When evaluating a cloud platform, I would consider:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dimension&lt;/th&gt;
&lt;th&gt;Questions to ask&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Architecture&lt;/td&gt;
&lt;td&gt;What design principles influence the service?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flexibility&lt;/td&gt;
&lt;td&gt;How much control does it provide?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security&lt;/td&gt;
&lt;td&gt;How granular are its identity and authorization mechanisms?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operability&lt;/td&gt;
&lt;td&gt;How easy is it to monitor, troubleshoot, and maintain?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scalability&lt;/td&gt;
&lt;td&gt;What limitations emerge as the system grows?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;What are the financial implications of choosing one implementation over another?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Portability&lt;/td&gt;
&lt;td&gt;How much vendor dependency does the solution introduce?&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A good engineer doesn't just understand the happy path. They understand constraints, failure scenarios, and trade-offs.&lt;/p&gt;

&lt;p&gt;This is particularly important during cloud migrations.&lt;/p&gt;

&lt;p&gt;Migrating from Azure to AWS, or vice versa, is not simply a matter of mapping one service to another.&lt;/p&gt;

&lt;p&gt;A service that looks equivalent on a comparison chart may have different authorization semantics, operational boundaries, or integration capabilities.&lt;/p&gt;

&lt;p&gt;Sometimes these differences influence the architecture itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The Same Philosophy Applies Beyond Cloud Computing
&lt;/h2&gt;

&lt;p&gt;This principle is not limited to AWS and Azure.&lt;/p&gt;

&lt;p&gt;It applies to almost every area of software engineering.&lt;/p&gt;

&lt;p&gt;Consider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Linux vs Windows:&lt;/strong&gt; Different philosophies around openness, control, usability, and system management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kubernetes vs managed container platforms:&lt;/strong&gt; Different levels of abstraction, control, and operational responsibility.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PostgreSQL vs SQL Server:&lt;/strong&gt; Different design decisions, extensibility models, and ecosystem integrations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosted vs managed services:&lt;/strong&gt; Different trade-offs between operational ownership and convenience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-source vs proprietary software:&lt;/strong&gt; Different approaches to transparency, extensibility, control, and commercial ownership.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And there is another interesting example: programming languages.&lt;/p&gt;

&lt;h3&gt;
  
  
  Understanding a Programming Language Makes It Easier to Learn
&lt;/h3&gt;

&lt;p&gt;If you understand the philosophy behind a programming language, learning it becomes significantly easier.&lt;/p&gt;

&lt;p&gt;Consider a few examples:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Language&lt;/th&gt;
&lt;th&gt;Design philosophy&lt;/th&gt;
&lt;th&gt;What it emphasizes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;C&lt;/td&gt;
&lt;td&gt;Low-level control&lt;/td&gt;
&lt;td&gt;Memory and system fundamentals&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;C++&lt;/td&gt;
&lt;td&gt;Abstraction with control&lt;/td&gt;
&lt;td&gt;Object-oriented and generic programming&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Python&lt;/td&gt;
&lt;td&gt;Readability and simplicity&lt;/td&gt;
&lt;td&gt;Developer productivity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rust&lt;/td&gt;
&lt;td&gt;Memory safety&lt;/td&gt;
&lt;td&gt;Ownership and safe concurrency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Go&lt;/td&gt;
&lt;td&gt;Simplicity and concurrency&lt;/td&gt;
&lt;td&gt;Practical software development&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Once you understand why a language was designed the way it was, many of its syntax rules, features, and programming patterns start making sense.&lt;/p&gt;

&lt;p&gt;You stop memorizing language constructs and start understanding the reasoning behind them.&lt;/p&gt;

&lt;p&gt;For example, understanding Rust's ownership model makes its borrowing rules much easier to reason about.&lt;/p&gt;

&lt;p&gt;Understanding Go's emphasis on simplicity explains why the language deliberately avoids some forms of complexity found in other languages.&lt;/p&gt;

&lt;p&gt;The same applies to frameworks, libraries, databases, operating systems, and cloud platforms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understanding the philosophy makes it easier to learn the technology. Understanding the trade-offs makes it easier to choose the technology.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. The Takeaway
&lt;/h2&gt;

&lt;p&gt;I don't believe there is a universally superior cloud platform.&lt;/p&gt;

&lt;p&gt;There are platforms with different engineering philosophies, different strengths, and different trade-offs.&lt;/p&gt;

&lt;p&gt;The real engineering skill is not memorizing product features or becoming comfortable with a particular console.&lt;/p&gt;

&lt;p&gt;It is understanding the problem, evaluating available capabilities, identifying trade-offs, and making an informed architectural decision.&lt;/p&gt;

&lt;p&gt;Coming back to the original discussion:&lt;/p&gt;

&lt;p&gt;Is Azure more user-friendly than AWS?&lt;/p&gt;

&lt;p&gt;Perhaps. But that alone doesn't tell us whether it is the right platform for a particular engineering problem.&lt;/p&gt;

&lt;p&gt;The next time you learn a new technology, don't start by memorizing its features or syntax.&lt;/p&gt;

&lt;p&gt;Start by understanding:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why was it created?&lt;/li&gt;
&lt;li&gt;What problem was it designed to solve?&lt;/li&gt;
&lt;li&gt;What principles influenced its design?&lt;/li&gt;
&lt;li&gt;What trade-offs did its creators make?&lt;/li&gt;
&lt;li&gt;Where does it work well, and where does it become a limitation?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Don't just learn how to use a technology. Understand why it was built that way, what problems it solves, and what trade-offs it makes.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is the difference between knowing a technology and understanding it.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffo5ljh9qynce68mrs0ac.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffo5ljh9qynce68mrs0ac.png" alt="recap image" width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>aws</category>
      <category>azure</category>
      <category>architecture</category>
    </item>
    <item>
      <title>The Outage Is Not the Problem. Your Architecture Is.</title>
      <dc:creator>Dipak Yadav</dc:creator>
      <pubDate>Fri, 20 Nov 2026 09:01:41 +0000</pubDate>
      <link>https://dev.to/dipak_yadav/the-outage-is-not-the-problem-your-architecture-is-pn</link>
      <guid>https://dev.to/dipak_yadav/the-outage-is-not-the-problem-your-architecture-is-pn</guid>
      <description>&lt;h2&gt;
  
  
  4 lessons every Solution Architect should learn from our growing dependency on cloud platforms.
&lt;/h2&gt;

&lt;p&gt;We have spent years moving applications to the cloud, adopting SaaS platforms, centralizing authentication, and depending on third-party services.&lt;/p&gt;

&lt;p&gt;We call it modernization, scalability, and sometimes even resilience.&lt;/p&gt;

&lt;p&gt;But there is one question we often forget to ask:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens when the services our business depends on stop working?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Recent Microsoft outages are another reminder that even the largest technology providers aren't immune to failures.&lt;/p&gt;

&lt;p&gt;But perhaps the bigger concern isn't the outage itself. It's how much of our business can stop working because of it.&lt;/p&gt;

&lt;p&gt;As Solution Architects and Technology Architects, there are a few lessons worth revisiting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw7mrcu8fkl79pdayespw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw7mrcu8fkl79pdayespw.png" alt="THE HIDDEN FAILURE POINT" width="800" height="719"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Cloud availability doesn't mean business availability
&lt;/h2&gt;

&lt;p&gt;Your application might be running across multiple availability zones, with healthy databases and redundant application instances.&lt;/p&gt;

&lt;p&gt;Depending on your authentication design, new logins, token validation, and service-to-service operations may be affected.&lt;/p&gt;

&lt;p&gt;What if your messaging service stops responding? Or a critical third-party API becomes unreachable?&lt;/p&gt;

&lt;p&gt;Your infrastructure might be healthy, but your business functionality is effectively unavailable.&lt;/p&gt;

&lt;p&gt;We need to distinguish between infrastructure availability and actual business availability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; Design for business continuity, not just infrastructure uptime.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Your dependencies are bigger than you think
&lt;/h2&gt;

&lt;p&gt;Consider a typical enterprise application:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cloud hosting for application services.&lt;/li&gt;
&lt;li&gt;Centralized identity for authentication.&lt;/li&gt;
&lt;li&gt;Managed databases for persistence.&lt;/li&gt;
&lt;li&gt;External APIs for payments.&lt;/li&gt;
&lt;li&gt;SaaS platforms for notifications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every dependency introduces another potential failure point.&lt;/p&gt;

&lt;p&gt;And the interesting part? Some dependencies are indirect. Your application might not use a particular cloud service, but one of your SaaS providers might depend on it.&lt;/p&gt;

&lt;p&gt;Traditional architecture diagrams often fail to capture these dependency chains.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; Understand your direct and indirect dependencies. You cannot manage risks you don't know exist.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Redundancy doesn't automatically mean resilience
&lt;/h2&gt;

&lt;p&gt;We often design systems with multiple instances, load balancers, replicas, and availability zones.&lt;/p&gt;

&lt;p&gt;But what if all those instances depend on the same identity provider?&lt;/p&gt;

&lt;p&gt;What if primary and secondary environments share the same external dependency?&lt;/p&gt;

&lt;p&gt;You may have infrastructure redundancy but still have a single point of failure at the architectural level.&lt;/p&gt;

&lt;p&gt;This is where fault isolation matters.&lt;/p&gt;

&lt;p&gt;A resilient system should not allow one component's failure to cascade across the entire business.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; Identify shared failure domains, not just duplicated infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Disaster recovery is more than restoring infrastructure
&lt;/h2&gt;

&lt;p&gt;Many organizations have backups, recovery environments, replication strategies, and documented RTO/RPO targets.&lt;/p&gt;

&lt;p&gt;But what happens when systems come back?&lt;/p&gt;

&lt;p&gt;Consider a payment workflow interrupted during an outage:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Some transactions may have succeeded without returning a response.&lt;/li&gt;
&lt;li&gt;Some messages may still be waiting in queues.&lt;/li&gt;
&lt;li&gt;Some downstream systems may have processed transactions independently.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Simply restarting the application doesn't guarantee data consistency.&lt;/p&gt;

&lt;p&gt;You need idempotency, retry mechanisms, duplicate detection, reconciliation, and operational recovery procedures.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; Disaster recovery must restore business operations, not just infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  One question every architect should ask
&lt;/h2&gt;

&lt;p&gt;Before approving the next cloud migration, SaaS integration, or architecture design, ask:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If one of our critical technology providers becomes unavailable tomorrow, what exactly stops working, and how does the business continue operating?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Don't just ask whether the application is highly available or whether the vendor provides an SLA.&lt;/p&gt;

&lt;p&gt;Understand your failure boundaries, recovery mechanisms, and the business impact of losing a critical dependency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;We cannot eliminate outages. We cannot control every external service, and we cannot expect technology providers to guarantee uninterrupted operations.&lt;/p&gt;

&lt;p&gt;But we can control how our systems behave when something fails.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A good architecture is not one that assumes everything will work. It is one that knows what to do when something doesn't.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Perhaps it's time we stop measuring architecture quality only by scalability, performance, and availability.&lt;/p&gt;

&lt;p&gt;We should start measuring it by how gracefully our systems fail.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What do you think? Are we designing truly resilient architectures, or simply transferring our single points of failure to cloud and SaaS providers?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>cloud</category>
      <category>resilience</category>
    </item>
    <item>
      <title>From API-First to AI-Native-First: How Should We Evolve Our Software Architecture?</title>
      <dc:creator>Dipak Yadav</dc:creator>
      <pubDate>Wed, 11 Nov 2026 14:49:30 +0000</pubDate>
      <link>https://dev.to/dipak_yadav/from-api-first-to-ai-native-first-how-should-we-evolve-our-software-architecture-el3</link>
      <guid>https://dev.to/dipak_yadav/from-api-first-to-ai-native-first-how-should-we-evolve-our-software-architecture-el3</guid>
      <description>&lt;p&gt;For years, we have been designing software systems around APIs.&lt;/p&gt;

&lt;p&gt;We expose REST endpoints, define gRPC contracts, implement business services, establish integration patterns and build applications that consume these capabilities.&lt;/p&gt;

&lt;p&gt;The API-first approach has served us well. It has enabled distributed systems, microservices, platform engineering and ecosystem integrations.&lt;/p&gt;

&lt;p&gt;But something fundamental is changing.&lt;/p&gt;

&lt;p&gt;AI is no longer just another feature that we integrate into an application. With the emergence of AI agents, applications are increasingly expected to understand context, discover capabilities, interact with external systems and execute business tasks.&lt;/p&gt;

&lt;p&gt;This raises an interesting architectural question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are our existing applications ready to be consumed by AI agents, or are we going to keep building custom integrations every time we introduce a new AI use case?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I believe we need to start thinking about an evolution towards &lt;strong&gt;AI-Native-First Software Architecture&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Not by abandoning API-first architecture, but by extending it.&lt;/p&gt;

&lt;p&gt;Let's explore what this could look like.&lt;/p&gt;




&lt;h3&gt;
  
  
  1. The limitations of traditional API-First architecture
&lt;/h3&gt;

&lt;p&gt;Consider a typical enterprise application landscape.&lt;/p&gt;

&lt;p&gt;We might have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Customer Management System&lt;/li&gt;
&lt;li&gt;Order Management System&lt;/li&gt;
&lt;li&gt;Payment Services&lt;/li&gt;
&lt;li&gt;Inventory Management&lt;/li&gt;
&lt;li&gt;Notification Services&lt;/li&gt;
&lt;li&gt;Reporting and Analytics&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each system exposes its capabilities through REST APIs, gRPC services or messaging interfaces.&lt;/p&gt;

&lt;p&gt;Applications consume these services through predefined contracts.&lt;/p&gt;

&lt;p&gt;This works extremely well when the consumer is another application with predefined integration requirements.&lt;/p&gt;

&lt;p&gt;However, consider a different scenario.&lt;/p&gt;

&lt;p&gt;We introduce an AI agent that should:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Identify a customer.&lt;/li&gt;
&lt;li&gt;Retrieve their recent orders.&lt;/li&gt;
&lt;li&gt;Check payment status.&lt;/li&gt;
&lt;li&gt;Verify inventory availability.&lt;/li&gt;
&lt;li&gt;Initiate a replacement order if the conditions are satisfied.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The agent needs to understand which capabilities are available, what they do, what inputs they require and what constraints apply.&lt;/p&gt;

&lt;p&gt;We can certainly achieve this by writing custom API integrations and providing API documentation to the AI application.&lt;/p&gt;

&lt;p&gt;But as the number of systems and AI use cases grows, we risk creating another layer of tightly coupled integrations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem isn't that APIs are inadequate. The problem is that APIs alone don't provide the complete discovery and interaction model that AI agents need.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Introducing AI-Native-First architecture
&lt;/h3&gt;

&lt;p&gt;The idea is relatively simple.&lt;/p&gt;

&lt;p&gt;Instead of designing business capabilities exclusively for traditional application consumers, we should make them accessible to both traditional applications and AI agents.&lt;/p&gt;

&lt;p&gt;I would call this a Dual Interface Architecture.&lt;/p&gt;

&lt;p&gt;Every business capability should be designed around its domain responsibility, with multiple ways to consume it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Traditional interface: REST, gRPC, UI and event-driven integrations.&lt;/li&gt;
&lt;li&gt;AI interface: MCP tools, resources and other agent-compatible interfaces.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both interfaces should reuse the same underlying business capabilities.&lt;/p&gt;

&lt;h4&gt;
  
  
  Target architecture
&lt;/h4&gt;

&lt;p&gt;The following diagram illustrates the proposed direction.&lt;/p&gt;

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

&lt;p&gt;The important architectural principle here is that we are not duplicating business logic.&lt;/p&gt;

&lt;p&gt;An MCP server should act as an integration adapter over existing application capabilities, not become another place where business rules are implemented.&lt;/p&gt;

&lt;p&gt;Our existing REST and gRPC interfaces continue to serve their consumers.&lt;/p&gt;

&lt;p&gt;AI agents get an additional, standardized way to discover and invoke capabilities.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. MCP: A practical starting point
&lt;/h3&gt;

&lt;p&gt;The Model Context Protocol (MCP) provides a standardized way for AI applications to interact with external tools and data sources.&lt;/p&gt;

&lt;p&gt;It introduces three important server-side building blocks:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tools&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Allow an AI application to invoke operations.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;find_customer&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;get_order_details&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;check_payment_status&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;initiate_return&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Resources&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Expose contextual information that an AI application can retrieve.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Customer profile information&lt;/li&gt;
&lt;li&gt;Product catalog&lt;/li&gt;
&lt;li&gt;Business policies&lt;/li&gt;
&lt;li&gt;Order status information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Prompts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Provide reusable prompt templates for specific tasks or workflows.&lt;/p&gt;

&lt;p&gt;MCP doesn't replace REST or gRPC. It provides another interaction protocol designed for AI applications.&lt;/p&gt;

&lt;p&gt;Official specification: &lt;a href="https://modelcontextprotocol.io/specification" rel="noopener noreferrer"&gt;https://modelcontextprotocol.io/specification&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  What should we expose through MCP?
&lt;/h4&gt;

&lt;p&gt;This is where I would be careful.&lt;/p&gt;

&lt;p&gt;I would not recommend creating an MCP tool for every REST endpoint or gRPC method.&lt;/p&gt;

&lt;p&gt;For example, consider an existing Order Management API:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Existing API&lt;/th&gt;
&lt;th&gt;MCP capability&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;GET /orders&lt;/td&gt;
&lt;td&gt;find_customer_orders&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GET /orders/{id}&lt;/td&gt;
&lt;td&gt;get_order_details&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;POST /orders&lt;/td&gt;
&lt;td&gt;create_order&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PUT /orders/{id}&lt;/td&gt;
&lt;td&gt;update_order&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DELETE /orders/{id}&lt;/td&gt;
&lt;td&gt;cancel_order&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Notice the difference?&lt;/p&gt;

&lt;p&gt;Instead of simply exposing low-level CRUD operations, we expose meaningful business capabilities.&lt;/p&gt;

&lt;p&gt;The MCP interface should communicate the business intent, required inputs, expected outputs and applicable constraints.&lt;/p&gt;

&lt;p&gt;This gives the agent a more meaningful set of capabilities to work with.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Think in terms of business capabilities, not API endpoints.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. How should an MCP-enabled application work?
&lt;/h3&gt;

&lt;p&gt;Let's take an example.&lt;/p&gt;

&lt;p&gt;A user asks an AI assistant:&lt;/p&gt;

&lt;p&gt;"Find my recent orders and initiate a replacement for the item that was delivered damaged."&lt;/p&gt;

&lt;p&gt;The AI agent needs to perform several operations.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Identify the customer.&lt;/li&gt;
&lt;li&gt;Retrieve recent orders.&lt;/li&gt;
&lt;li&gt;Retrieve the relevant order details.&lt;/li&gt;
&lt;li&gt;Check replacement eligibility.&lt;/li&gt;
&lt;li&gt;Request confirmation where necessary.&lt;/li&gt;
&lt;li&gt;Initiate the replacement.&lt;/li&gt;
&lt;li&gt;Return the outcome.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The agent discovers and invokes the required tools through MCP.&lt;/p&gt;

&lt;p&gt;The MCP server validates the request and invokes the corresponding business services.&lt;/p&gt;

&lt;p&gt;The business services continue to enforce domain rules, authorization and transactional consistency.&lt;/p&gt;

&lt;h4&gt;
  
  
  Interaction flow
&lt;/h4&gt;

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

&lt;p&gt;The interesting part is that the agent is not directly interacting with the database or implementing business rules.&lt;/p&gt;

&lt;p&gt;It is orchestrating business capabilities that are already owned by the application.&lt;/p&gt;

&lt;p&gt;This separation is important.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI should orchestrate business capabilities; it should not become the owner of business rules or transactional integrity.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Architectural principles for AI-Native-First development
&lt;/h3&gt;

&lt;p&gt;Exposing MCP endpoints is only the beginning.&lt;/p&gt;

&lt;p&gt;If we genuinely want to design applications for AI consumption, I believe we need to consider the following principles.&lt;/p&gt;

&lt;h4&gt;
  
  
  5.1 Business Capability First
&lt;/h4&gt;

&lt;p&gt;Design around business capabilities rather than individual technical operations.&lt;/p&gt;

&lt;p&gt;For example, instead of exposing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;UpdateCustomerAddress&lt;/li&gt;
&lt;li&gt;ValidateCustomer&lt;/li&gt;
&lt;li&gt;UpdateCustomerStatus&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Think about meaningful operations such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;VerifyCustomerIdentity&lt;/li&gt;
&lt;li&gt;UpdateCustomerProfile&lt;/li&gt;
&lt;li&gt;ActivateCustomerAccount&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These capabilities should have well-defined contracts and clear responsibilities.&lt;/p&gt;

&lt;p&gt;The underlying implementation can continue to use domain services, REST APIs, gRPC or internal application services.&lt;/p&gt;

&lt;h4&gt;
  
  
  5.2 Context Is as Important as Capability
&lt;/h4&gt;

&lt;p&gt;An API contract typically describes the request and response structure.&lt;/p&gt;

&lt;p&gt;An AI agent needs additional information.&lt;/p&gt;

&lt;p&gt;For example, consider a capability called &lt;code&gt;initiate_refund&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The agent should understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What does this operation do?&lt;/li&gt;
&lt;li&gt;When should it be used?&lt;/li&gt;
&lt;li&gt;What information is required?&lt;/li&gt;
&lt;li&gt;What are the eligibility conditions?&lt;/li&gt;
&lt;li&gt;What are the possible outcomes?&lt;/li&gt;
&lt;li&gt;Does the operation require approval?&lt;/li&gt;
&lt;li&gt;Is it reversible?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This means descriptions, schemas, business documentation, domain context and operational constraints become increasingly important.&lt;/p&gt;

&lt;p&gt;Poorly described tools lead to poor agent decisions.&lt;/p&gt;

&lt;h4&gt;
  
  
  5.3 Agent-Ready Workflows
&lt;/h4&gt;

&lt;p&gt;Traditional workflows are generally designed as predefined sequences of operations.&lt;/p&gt;

&lt;p&gt;AI agents introduce the possibility of dynamically selecting and coordinating capabilities based on context.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;A customer support workflow might involve:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Looking up customer information.&lt;/li&gt;
&lt;li&gt;Checking order history.&lt;/li&gt;
&lt;li&gt;Identifying an issue.&lt;/li&gt;
&lt;li&gt;Checking applicable policies.&lt;/li&gt;
&lt;li&gt;Initiating an eligible resolution.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The agent can coordinate these operations based on the situation.&lt;/p&gt;

&lt;p&gt;However, not everything should become agent-driven.&lt;/p&gt;

&lt;p&gt;Deterministic business rules, financial calculations, compliance checks and transaction boundaries should remain within trusted application services.&lt;/p&gt;

&lt;p&gt;A good architecture combines deterministic execution with AI-driven orchestration.&lt;/p&gt;

&lt;h4&gt;
  
  
  5.4 Security and Governance by Design
&lt;/h4&gt;

&lt;p&gt;This is probably one of the most important considerations.&lt;/p&gt;

&lt;p&gt;Giving an AI agent access to business capabilities also gives it the potential to perform business operations.&lt;/p&gt;

&lt;p&gt;We need to consider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Authentication and authorization at tool level.&lt;/li&gt;
&lt;li&gt;User identity and tenant context propagation.&lt;/li&gt;
&lt;li&gt;Least-privilege access.&lt;/li&gt;
&lt;li&gt;Input validation and output filtering.&lt;/li&gt;
&lt;li&gt;Human approval for sensitive operations.&lt;/li&gt;
&lt;li&gt;Audit trails for every tool invocation.&lt;/li&gt;
&lt;li&gt;Rate limiting and cost controls.&lt;/li&gt;
&lt;li&gt;Prompt injection and untrusted tool output.&lt;/li&gt;
&lt;li&gt;Idempotency and protection against duplicate operations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Never assume that because an AI agent selected a tool, it is authorized to execute it.&lt;/p&gt;

&lt;p&gt;Authorization must be enforced independently by the application.&lt;/p&gt;

&lt;p&gt;For further reading: &lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html" rel="noopener noreferrer"&gt;OWASP MCP Security Cheat Sheet&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  5.5 Observability for Agentic Operations
&lt;/h4&gt;

&lt;p&gt;Traditional application observability focuses on requests, logs, metrics and distributed traces.&lt;/p&gt;

&lt;p&gt;AI-driven execution introduces additional dimensions.&lt;/p&gt;

&lt;p&gt;We should be able to answer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which agent initiated the operation?&lt;/li&gt;
&lt;li&gt;Which user initiated the request?&lt;/li&gt;
&lt;li&gt;Which tools were discovered and invoked?&lt;/li&gt;
&lt;li&gt;What inputs were supplied?&lt;/li&gt;
&lt;li&gt;Which business services were called?&lt;/li&gt;
&lt;li&gt;What decisions required human approval?&lt;/li&gt;
&lt;li&gt;What was the final outcome?&lt;/li&gt;
&lt;li&gt;How many model and tool interactions were required?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Without this visibility, debugging agent-driven workflows will become difficult.&lt;/p&gt;

&lt;p&gt;We need to correlate AI interactions, tool invocations and downstream business operations.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. What should the target architecture look like?
&lt;/h3&gt;

&lt;p&gt;Putting these ideas together, I would consider the following logical architecture.&lt;/p&gt;

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

&lt;p&gt;This is a logical reference architecture, not a requirement to introduce every component as a separate microservice.&lt;/p&gt;

&lt;p&gt;The implementation could be much simpler depending on the application and its scale.&lt;/p&gt;

&lt;p&gt;The important point is the separation of concerns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI agents handle reasoning and orchestration.&lt;/li&gt;
&lt;li&gt;MCP provides standardized access to capabilities and context.&lt;/li&gt;
&lt;li&gt;Governance controls what agents can access and execute.&lt;/li&gt;
&lt;li&gt;Business services remain responsible for domain logic.&lt;/li&gt;
&lt;li&gt;Existing interfaces continue serving traditional consumers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  7. How do we get there without rewriting everything?
&lt;/h3&gt;

&lt;p&gt;I would not recommend a big-bang migration.&lt;/p&gt;

&lt;p&gt;Most enterprises already have substantial investments in REST APIs, gRPC services, microservices and monolithic applications.&lt;/p&gt;

&lt;p&gt;We should build on top of these investments.&lt;/p&gt;

&lt;p&gt;A gradual adoption roadmap could look like this:&lt;/p&gt;

&lt;h4&gt;
  
  
  Phase 1: MCP-enable existing applications
&lt;/h4&gt;

&lt;p&gt;Start with one application or business domain.&lt;/p&gt;

&lt;p&gt;Identify meaningful business capabilities and expose selected operations through an MCP server.&lt;/p&gt;

&lt;p&gt;Reuse existing APIs or domain services.&lt;/p&gt;

&lt;p&gt;Initially focus on read-only capabilities.&lt;/p&gt;

&lt;h4&gt;
  
  
  Phase 2: Introduce controlled write operations
&lt;/h4&gt;

&lt;p&gt;Introduce operations that create or update business data.&lt;/p&gt;

&lt;p&gt;Implement proper authorization, validation, idempotency and human approval for sensitive operations.&lt;/p&gt;

&lt;h4&gt;
  
  
  Phase 3: Introduce agent orchestration
&lt;/h4&gt;

&lt;p&gt;Build agents that can discover and coordinate capabilities across multiple business domains.&lt;/p&gt;

&lt;p&gt;Start with limited, well-defined use cases.&lt;/p&gt;

&lt;h4&gt;
  
  
  Phase 4: Introduce enterprise-wide governance
&lt;/h4&gt;

&lt;p&gt;Establish centralized visibility into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Available MCP servers.&lt;/li&gt;
&lt;li&gt;Registered tools and capabilities.&lt;/li&gt;
&lt;li&gt;Agent identities and permissions.&lt;/li&gt;
&lt;li&gt;Tool invocation history.&lt;/li&gt;
&lt;li&gt;Operational metrics.&lt;/li&gt;
&lt;li&gt;Security policies.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Phase 5: Make AI compatibility a design consideration
&lt;/h4&gt;

&lt;p&gt;For all new applications, include AI consumption requirements in architecture reviews.&lt;/p&gt;

&lt;p&gt;Consider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Are business capabilities discoverable?&lt;/li&gt;
&lt;li&gt;Are their contracts sufficiently descriptive?&lt;/li&gt;
&lt;li&gt;Can they be safely consumed by AI agents?&lt;/li&gt;
&lt;li&gt;Are authorization and execution policies enforceable?&lt;/li&gt;
&lt;li&gt;Can agent-driven operations be audited?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is where AI-Native-First becomes part of the engineering culture rather than an additional integration project.&lt;/p&gt;




&lt;h3&gt;
  
  
  8. A practical adoption model
&lt;/h3&gt;

&lt;p&gt;I would summarize the evolution as follows:&lt;/p&gt;

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

&lt;p&gt;This is not a replacement roadmap for existing architectures.&lt;/p&gt;

&lt;p&gt;It is an evolution path that allows us to progressively introduce AI capabilities while retaining the stability of existing enterprise systems.&lt;/p&gt;




&lt;h3&gt;
  
  
  9. Final thoughts
&lt;/h3&gt;

&lt;p&gt;I don't think API-first architecture is going away.&lt;/p&gt;

&lt;p&gt;REST, gRPC, messaging and event-driven architectures will continue to be fundamental building blocks of enterprise software.&lt;/p&gt;

&lt;p&gt;What is changing is the nature of the consumers.&lt;/p&gt;

&lt;p&gt;We are moving from a world where applications primarily interact with predefined interfaces to one where AI agents can discover capabilities, understand context and dynamically coordinate operations.&lt;/p&gt;

&lt;p&gt;MCP provides a practical starting point for making existing business capabilities accessible to AI applications.&lt;/p&gt;

&lt;p&gt;But the real transformation goes beyond MCP.&lt;/p&gt;

&lt;p&gt;It requires us to rethink how we define business capabilities, describe context, manage permissions, orchestrate workflows and observe application execution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Perhaps the first step towards AI-Native-First development is to make our existing business capabilities discoverable and securely accessible through MCP Servers.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And for every new application we build, we should start asking a different architectural question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are we designing this application only for other applications to consume, or are we also designing it for AI agents to understand and interact with?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That could be an important shift in how we approach software architecture in the coming years.&lt;/p&gt;




&lt;h3&gt;
  
  
  References and further reading
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://modelcontextprotocol.io/" rel="noopener noreferrer"&gt;Model Context Protocol – Official Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://modelcontextprotocol.io/specification" rel="noopener noreferrer"&gt;MCP Specification&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html" rel="noopener noreferrer"&gt;OWASP – MCP Security Cheat Sheet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://owasp.github.io/DevSecOpsGuideline/2-Process/2-2-Develop/2-2-5-AI-Agent-and-MCP-Security/" rel="noopener noreferrer"&gt;OWASP – AI Agent and MCP Security&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  softwarearchitecture #ai #mcp #agenticai #architecture #dotnet
&lt;/h1&gt;

</description>
      <category>architecture</category>
      <category>ai</category>
      <category>mcp</category>
      <category>dotnet</category>
    </item>
  </channel>
</rss>
