<?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 Awadhesh on Medium]]></title>
        <description><![CDATA[Stories by Awadhesh on Medium]]></description>
        <link>https://medium.com/@systemdesignexpert?source=rss-b2ca03499454------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*1vwA0BCpgSaywK8k.jpg</url>
            <title>Stories by Awadhesh on Medium</title>
            <link>https://medium.com/@systemdesignexpert?source=rss-b2ca03499454------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:19:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@systemdesignexpert/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[Building an Enterprise AI Agent Harness: Step 3 — Context & Memory Architecture]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Think of Step 3 as a Strict Knowledge Librarian &amp; Memory Accountant for the AI.</p><p class="medium-feed-link"><a href="https://systemdesignexpert.medium.com/building-an-enterprise-ai-agent-harness-step-3-context-memory-architecture-dc1aa730cfcf?source=rss-b2ca03499454------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://systemdesignexpert.medium.com/building-an-enterprise-ai-agent-harness-step-3-context-memory-architecture-dc1aa730cfcf?source=rss-b2ca03499454------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc1aa730cfcf</guid>
            <dc:creator><![CDATA[Awadhesh]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 06:55:16 GMT</pubDate>
            <atom:updated>2026-09-23T06:57:50.123Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Zero-Trust Agent Architecture: Building Step 2 (PBAC & Dynamic AST Schema Pruning)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">How to eliminate prompt-injection tool misuse, enforce row-level tenant boundaries, and cut token costs by up to 90% before the LLM&#x2026;</p><p class="medium-feed-link"><a href="https://systemdesignexpert.medium.com/zero-trust-agent-architecture-building-step-2-pbac-dynamic-ast-schema-pruning-7d43ea9dd2df?source=rss-b2ca03499454------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://systemdesignexpert.medium.com/zero-trust-agent-architecture-building-step-2-pbac-dynamic-ast-schema-pruning-7d43ea9dd2df?source=rss-b2ca03499454------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d43ea9dd2df</guid>
            <dc:creator><![CDATA[Awadhesh]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 21:23:39 GMT</pubDate>
            <atom:updated>2026-09-22T21:30:43.349Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
        </item>
        <item>
            <title><![CDATA[Deep Diving into Step 1: Building a High-Throughput Intent Engine for Enterprise AI Agents]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">How to sanitize ingress, enforce strongly-typed intent schemas, short-circuit incomplete requests, and bind deterministic assertions&#x2026;</p><p class="medium-feed-link"><a href="https://systemdesignexpert.medium.com/deep-diving-into-step-1-building-a-high-throughput-intent-engine-for-enterprise-ai-agents-d10904dcffcb?source=rss-b2ca03499454------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://systemdesignexpert.medium.com/deep-diving-into-step-1-building-a-high-throughput-intent-engine-for-enterprise-ai-agents-d10904dcffcb?source=rss-b2ca03499454------2</link>
            <guid isPermaLink="false">https://medium.com/p/d10904dcffcb</guid>
            <dc:creator><![CDATA[Awadhesh]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 20:29:18 GMT</pubDate>
            <atom:updated>2026-09-24T11:21:37.363Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building Production AI Agents: The Architectural Blueprint Every Engineer Needs]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">If you have ever tried connecting a raw Large Language Model (LLM) directly to your enterprise APIs or production databases, you have&#x2026;</p><p class="medium-feed-link"><a href="https://systemdesignexpert.medium.com/building-production-ai-agents-the-architectural-blueprint-every-engineer-needs-e38e15f85f7f?source=rss-b2ca03499454------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://systemdesignexpert.medium.com/building-production-ai-agents-the-architectural-blueprint-every-engineer-needs-e38e15f85f7f?source=rss-b2ca03499454------2</link>
            <guid isPermaLink="false">https://medium.com/p/e38e15f85f7f</guid>
            <dc:creator><![CDATA[Awadhesh]]></dc:creator>
            <pubDate>Sun, 20 Sep 2026 10:47:18 GMT</pubDate>
            <atom:updated>2026-09-20T10:47:18.357Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Navigating the Protocol Landscape: A Developer’s Guide to gRPC and REST]]></title>
            <link>https://systemdesignexpert.medium.com/navigating-the-protocol-landscape-a-developers-guide-to-grpc-and-rest-235b3b328933?source=rss-b2ca03499454------2</link>
            <guid isPermaLink="false">https://medium.com/p/235b3b328933</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[grpc]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[rest]]></category>
            <dc:creator><![CDATA[Awadhesh]]></dc:creator>
            <pubDate>Fri, 01 Dec 2023 19:27:27 GMT</pubDate>
            <atom:updated>2023-12-01T19:27:27.337Z</atom:updated>
            <content:encoded><![CDATA[<p>Greetings, fellow devs! 👋 Today, we’re diving headfirst into a debate that echoes through the corridors of web development: when to wield the power of gRPC and when to stick with the reliable companion that is REST. It’s a decision that can shape the very core of your application — impacting performance, scalability, and the overall architectural blueprint. So, let’s dissect the intricacies.</p><h3>Unpacking gRPC and REST</h3><p>Before we embark on this journey, let’s refresh our memory on what makes gRPC and REST tick.</p><p><strong>REST</strong>: The Stalwart Companion</p><ul><li>Stateless communication.</li><li>Standard HTTP methods (GET, POST, PUT, DELETE).</li><li>Enamored with JSON for data serialization.</li><li>Human-readable and debug-friendly.</li></ul><p><strong>gRPC</strong>: The Trailblazer with Tricks Up Its Sleeve</p><ul><li>Embraces the speed of HTTP/2.</li><li>Opts for Protocol Buffers (protobuf) instead of JSON.</li><li>Unleashes bidirectional streaming and multiplexing.</li><li>Language-agnostic, with code generation wizardry.</li></ul><h3>When to Dance with REST</h3><p>Sometimes, sticking to the classics is the way forward.</p><p>1. Simplicity at Scale: For smaller projects, REST’s simplicity shines. It’s the cool breeze in the world of client-server tango, keeping things straightforward.</p><p>2. Complying with Web Standards: When your app needs to toe the line with web standards and waltz gracefully with browsers, REST is your dance partner, effortlessly following the rules.</p><p>3. Speak Human, Debug Easier: REST speaks the language of readability. If you’re a fan of endpoints that tell a story for seamless debugging, REST’s got your back. It’s like conversing in a language everyone understands.</p><h3>When to Unleash gRPC Magic</h3><p>But let’s not ignore the times when gRPC steals the spotlight.</p><p>1. <strong>Need for Velocity</strong>: For apps juggling high traffic and massive datasets, gRPC’s performance, fueled by HTTP/2 and Protocol Buffers, is the adrenaline shot your app craves.</p><p>2.<strong> Typing for Triumph</strong>: With gRPC’s Protocol Buffers, you’re not just coding; you’re orchestrating a symphony. Strong typing and automatic code generation mean fewer errors and happier devs. Who wouldn’t want that?</p><p>3.<strong> Streaming Sorcery</strong>: For applications thirsty for real-time updates, bidirectional communication, and data streaming, gRPC is the conjurer that makes the magic happen.</p><h3>A Symphony of Both: The Hybrid Approach</h3><p>Hold your horses! No need for an all-or-nothing stance. Sometimes, a blend of both gRPC and REST is the sweet melody you need to compose.</p><p>1. Microservices Whisper in gRPC: Let your microservices communicate in their secret language — gRPC. Meanwhile, REST can take the stage for the external API extravaganza.</p><p>2. Respect the Legacy: If you’re in the arena with existing RESTful systems, don’t toss them aside recklessly. Integrate gRPC where it makes sense and let the legacy systems shine where they’re strong.</p><h3>The Grand Finale: Choose Wisely</h3><p>In the ever-shifting landscape of web development, the gRPC vs. REST dilemma is a compass that should align with your project’s unique coordinates. Whether you dance to the simplicity of REST or ride the gRPC speedster, understand your app’s true heartbeat.</p><p>It’s not about which one’s cooler — it’s about crafting the symphony that gets the job done right. So, weigh your options, groove to your project’s rhythm, and let that guide you to the protocol that fits your app like a tailored suit.</p><p>Happy coding, maestros! 🚀✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=235b3b328933" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why GraphQL Over REST]]></title>
            <link>https://systemdesignexpert.medium.com/why-graphql-over-rest-b3eca6dcaff?source=rss-b2ca03499454------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3eca6dcaff</guid>
            <dc:creator><![CDATA[Awadhesh]]></dc:creator>
            <pubDate>Sun, 31 Jan 2021 10:34:24 GMT</pubDate>
            <atom:updated>2021-01-31T11:27:59.990Z</atom:updated>
            <content:encoded><![CDATA[<h3>GraphQL Over REST</h3><p>Do you really know when to choose GraphQL over REST? Here I will try to explain which scenario GraphQL is a better option than REST.</p><p>REST is a very much popular way to write HTTP API. But REST Architecture has few limitations like below.</p><ol><li><strong>Over-Fetching and Under fetching of data</strong></li></ol><p>REST API always returns a complete set of any attribute in the API response. Let&#39;s consider we have an API for fetching User data. So our API will look like below</p><p>v1/api/user/id/123</p><p>The response will be like below :</p><p>{<br> “results”: {<br> “userId”: 123,<br> “username”: “ABC”,<br> “userAddress”: {<br> “id”: 12,<br> “name”: “XYZ”<br> }<br> }<br>}</p><p>But in case if any client like mobile client needs only 2 attributes like userId and userName for their use case, but still they will get complete data (including user address attribute). So this is called Over-fetching problems.</p><p>what is the solutions to this problem (over-fetching )in REST implementation?</p><p>We can either develop another endpoint (API) that will return only 2 attributes like userID and UserName for example. But this will lead to problems of many API(The number of API will increase).</p><p>We can think of another solution like pass attribute name in Query param, whatever field is required in Response. But to achieve this we need to write so many if-else conditions and API also will be like a mess (because of passing attributes Name in Query params.)</p><p>Big problem ????????????</p><p>We have solutions to these problems. The solution is GraphQL.</p><p>How GrapQL solves data over-fetching and under-fetching problems.</p><p>GraphQL has built-in solutions for this. Since GraphQL is a query-based language so it handles this well. It lets you fetch only all relevant data in a single query</p><p>2. <strong>Save Network Bandwith for the client.:</strong></p><p>Since the client can fetch only relevant attributes in their Query unlike REST send all attributes in the response.it saves a lot of Bandwith of client and application load Time will improve.</p><p>3. <strong>Save Memory also on the client-side :</strong></p><p>Since the client can fetch only relevant attributes in their Query unlike REST send all attributes in the response.it saves a lot of memory usage and CPU processing of client-side application and application load Time will improve.</p><p>4. <strong>Prevent Multiple API calls :</strong></p><p>lets consider a scenario we need to fetch data of users, their post and their followers.</p><p>if we have to implement the above use-case then. need to make 3 separate API call like :</p><p>v1/user/id/123</p><p>v1/user/id/123/posts/</p><p>v1/user/id/123/followers /</p><p>But using GraphQL all related data can be fetched in Single Query like.</p><p>query {<br> user(id :123) {<br> id<br> name<br> post {<br> id<br> name<br> }<br> followers{<br> <br> }<br> }<br>}</p><p><strong>5. Versioning is Not Required</strong></p><p>In REST architecture, we create new versions due to changes in resources or the request and response structure of the resources over time. Hence, maintaining versions is a common practice. With GraphQL, there is no need to maintain versions. The resource URL or address remains the same. You can add new fields and deprecate older fields. This approach is intuitive as the client receives a deprecation warning when querying a deprecated field</p><p>I tried my best to give some idea when to choose over REST. I will explain the complete GraphQL Basics in the next article.</p><p>Happy Learning !!!!!!!!!!!!!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3eca6dcaff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing the Best Database in a System Design Interview]]></title>
            <link>https://systemdesignexpert.medium.com/choosing-the-best-database-in-a-system-design-interview-6854bc941d87?source=rss-b2ca03499454------2</link>
            <guid isPermaLink="false">https://medium.com/p/6854bc941d87</guid>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[hive]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[elasticsearch]]></category>
            <category><![CDATA[cassandra]]></category>
            <dc:creator><![CDATA[Awadhesh]]></dc:creator>
            <pubDate>Thu, 21 Jan 2021 03:51:11 GMT</pubDate>
            <atom:updated>2021-01-21T03:51:11.177Z</atom:updated>
            <content:encoded><![CDATA[<p>For any scalable System Design, the choice of DataBase is very Important. Database selection will not impact Functional Requirement But it can hugely impact non Functional requirements like Scalability, Performance, and so on.</p><p>All the Database has been designed to keep in mind of Special Requirement. There is no Replacement for each Other, But Every Database having its own expertise Area.</p><p>Choice of database Depends on So Many Factor But below 4 factors is mostly Helped us to choose proper database :</p><p>1. Data is Structured or Non-Structured</p><p>2. Query Pattern</p><p>3. Amount of Data Need to Handled.</p><p>4 Consistency, Availability, and Partition</p><p><strong>Data Schema:</strong></p><p>if our data schema is fixed, means we know all column of a table then we can choose SQL AS well NO SQL database, But if every record having</p><p>A different set of Attributes then SQL DataBase will not be suitable.</p><p><strong>ACID :</strong></p><p>if we want to achieve ACID property like transitional data then we should choose SQL Database(like MYSQL)</p><p><strong>Amount of Data :</strong></p><p>if we have a huge amount of data and if we want data should be distributed in more than one region then the Cassandra database is the Best Choice. we can use Mongo DB also.</p><p>But Reading Data from Cassandra is fast compare to MongoDB due to their Architectural Difference. Mongo DB follows master Slave Architecture But Cassandra follows peer to Peer Architecture.</p><p><strong>Caching :</strong></p><p>If we want to cache the Data for better performance then we should use <strong>Redis or Memcached</strong>. Choice Between Redis and Memcached will depend on Many Factors. I will write Another Tutorial on that</p><p><strong>File Storage:</strong></p><p>we don’t store file data in the database. We need some Blob Storage. Amazon S3 is the best choice to Store files. We can use CDN (Content Delivery Network also) along with<strong> Amazon S3</strong> for serving files fastly.</p><p><strong>Text Search :</strong></p><p>Sometimes we need to support text search or maybe fuzzy search. In this, we can use<strong> Elastic Search or solr </strong>as a Database to store data. Search time will be faster.</p><p><strong>Time Series database :</strong></p><p>This database is suitable when we are building a Monitoring Based System. We normally append our data like a log file.</p><p>for accessing data we Query based on range. so this database is built-in functionality to support range based Query.</p><p>Example of Time Series database like<strong> influx DB, Open TSDB</strong>. we can use any one of them.</p><p><strong>Analytics Database :</strong></p><p>for Analytics use Case we can use <strong>HIVE</strong> Database. this will help because it’s running on top of Hadoop. If Our data already sitting in the Hadoop file system, then it will be easy to Query through Hive Database.</p><p>I hope this will give some Overview to choose a proper database. I will write Another Story for detailed Explanations for each database.</p><p>Happy Learning !!!!!!!!!!!!!!!!!!!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6854bc941d87" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>