<?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 Leticia Mantovani on Medium]]></title>
        <description><![CDATA[Stories by Leticia Mantovani on Medium]]></description>
        <link>https://medium.com/@leticiamantovani159?source=rss-5e4a506d6af2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3PpEbtmqMCw4Kz6z</url>
            <title>Stories by Leticia Mantovani on Medium</title>
            <link>https://medium.com/@leticiamantovani159?source=rss-5e4a506d6af2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 00:46:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@leticiamantovani159/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[Caching Basics: CDN]]></title>
            <link>https://medium.com/@leticiamantovani159/caching-basics-cdn-cd387d673df2?source=rss-5e4a506d6af2------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd387d673df2</guid>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[cdn]]></category>
            <category><![CDATA[cache]]></category>
            <category><![CDATA[cdn-service]]></category>
            <dc:creator><![CDATA[Leticia Mantovani]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 14:50:02 GMT</pubDate>
            <atom:updated>2025-08-22T14:50:02.829Z</atom:updated>
            <content:encoded><![CDATA[<p>In the first part of this series, we looked at <strong>database caching</strong> and how applications cache data in memory. In this article, we’ll move beyond databases and application servers, and explore one of the most impactful caching strategies in modern web architecture: <strong>Content Delivery Networks (CDNs)</strong>.</p><p>If database caching accelerates queries inside your system, CDNs extend that same principle to the entire internet — bringing content physically closer to your users worldwide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zfp38y-CihKLZENi" /></figure><h3>What is a CDN?</h3><p>A <strong>Content Delivery Network (CDN)</strong> is a geographically distributed network of <strong>edge servers</strong> (also known as cache servers). Their job is simple yet powerful: replicate content across the world so that users can fetch it from the <strong>nearest server</strong>, instead of waiting for a long trip back to the <strong>origin server</strong>.</p><p>This has multiple benefits:</p><ul><li><strong>Reduced latency</strong> → content travels fewer “hops” through the internet.</li><li><strong>Lower bandwidth costs</strong> → origin servers handle fewer requests.</li><li><strong>Higher reliability</strong> → if one edge node fails, traffic is routed to another.</li><li><strong>Scalability</strong> → traffic is spread across hundreds of servers instead of a single origin.</li></ul><p>Think of it like logistics: Ecuador exports bananas worldwide, so you don’t have to fly there to get one. Similarly, a CDN “exports” your web content across the globe.</p><h3>How CDNs Work in Practice</h3><p>When a user requests a resource, such as an image or a JavaScript file:</p><ol><li>The <strong>DNS</strong> lookup redirects them to the nearest CDN edge node.</li><li>The CDN checks if it already has the content cached.</li></ol><ul><li>If yes → instant response (cache hit).</li><li>If no → it fetches from the origin, stores it, then responds (cache miss).</li></ul><p>This mechanism is conceptually similar to <strong>CPU caches</strong>, just operating at the internet scale.</p><h3>Headers That Matter</h3><p>Developers control how CDNs cache data using HTTP headers:</p><ul><li>Cache-Control: public, max-age=3600 → allow caching for 1 hour.</li><li>Cache-Control: private → don’t cache; only origin should serve this content.</li><li>ETag → unique fingerprint of a resource, lets CDNs know when a file changed.</li><li>Expires → absolute expiration timestamp.</li></ul><p>Misconfigured headers can either cause <strong>stale content issues</strong> or <strong>unnecessary re-fetching</strong>, so tuning them is crucial.</p><h3>Push vs. Pull CDNs</h3><p>There are two main approaches to how content gets onto edge servers:</p><h3>Push CDN</h3><ul><li>Content is proactively copied from the origin to all CDN nodes.</li><li>Works best for <strong>static content</strong> that doesn’t change often, like videos or software downloads.</li><li>Guarantees cache hits since every node already has the data.</li><li>Downsides: requires <strong>manual updates</strong> whenever content changes.</li></ul><p><strong>Example:</strong> A streaming service that publishes a new episode globally can push it to all nodes, ensuring no one waits for the first request.</p><h3>Pull CDN</h3><ul><li>Content is only fetched when <strong>requested</strong>.</li><li>Better suited for platforms with <strong>constantly changing data</strong>, like social networks.</li><li>Saves resources: nodes only cache what their region actually demands.</li></ul><p><strong>Example:</strong> Twitter doesn’t push every tweet to all regions. Instead, when users in Asia access a popular local account, only those CDN nodes store that content.</p><h3>Beyond Static Files: Modern Edge Capabilities</h3><p>CDNs aren’t just for static assets anymore. With <strong>edge computing</strong> and <strong>serverless functions at the edge</strong>, they can now:</p><ul><li>Perform <strong>A/B testing</strong> directly at the edge.</li><li>Personalize responses based on <strong>location, device, or time of day</strong>.</li><li>Run <strong>serverless logic</strong> that modifies responses dynamically.</li></ul><p>Providers like <strong>Cloudflare Workers</strong>, <strong>AWS CloudFront Functions</strong>, and <strong>Fastly Compute Edge </strong>are blurring the line between caching and application hosting.</p><h3>Reliability and Redundancy</h3><p>By replicating content across hundreds of nodes, CDNs provide <strong>fault tolerance</strong>. If one edge server goes offline, requests are transparently redirected to the next closest node.</p><p>This is crucial for global platforms: downtime in one region doesn’t mean downtime everywhere. Combined with <strong>Anycast routing</strong> and <strong>load balancing</strong>, CDNs significantly harden infrastructure against failures and traffic spikes.</p><h3>CDNs and Security</h3><p>Modern CDNs also double as <strong>security layers</strong>. Since all traffic passes through them, they can:</p><ul><li><strong>Mitigate DDoS attacks</strong> by absorbing malicious requests at the edge.</li><li>Provide <strong>TLS termination</strong> for HTTPS.</li><li>Offer <strong>Web Application Firewalls (WAFs)</strong> to block malicious payloads.</li></ul><p>This makes CDNs not just performance enhancers, but also <strong>frontline defenders</strong> in web security.</p><h3>Challenges: Cache Invalidation &amp; Costs</h3><p>While CDNs are powerful, they’re not without challenges:</p><ul><li><strong>Cache invalidation</strong> → ensuring users don’t get stale content is famously difficult. Developers often use strategies like <strong>versioned URLs</strong> (app-v2.js) to force updates.</li><li><strong>Costs</strong> → global CDN traffic isn’t free; for large-scale platforms, bandwidth bills can skyrocket.</li><li><strong>Dynamic data limitations</strong> → while modern CDNs support edge logic, truly real-time or highly personalized data often still requires origin fetches.</li></ul><h3>CDNs vs. Horizontal Scaling</h3><p>It’s important to clarify the difference between <strong>CDNs</strong> and <strong>horizontal scaling</strong>:</p><ul><li><strong>Horizontal scaling</strong> → add more servers to handle more requests (increase throughput).</li><li><strong>CDNs</strong> → reduce latency by bringing data closer to users.</li></ul><p>While CDNs indirectly improve throughput by offloading requests, their main goal is <strong>speed and proximity</strong>, not raw processing capacity.</p><h3>Real-World Examples</h3><ul><li><strong>Twitter</strong>: Uses CDNs to serve static assets like JavaScript for authentication.</li><li><strong>Netflix</strong>: Operates its own CDN (“Open Connect”), distributing servers directly to ISPs worldwide to optimize video streaming.</li><li><strong>Apple</strong>: Delivers iOS updates through Akamai’s CDN, handling millions of simultaneous downloads.</li></ul><p>These examples illustrate how CDNs are fundamental not just for performance, but also for <strong>operational scalability</strong>.</p><h3>Closing Thoughts</h3><p>CDNs represent the global extension of caching. By replicating data around the world, they ensure faster, more resilient, and more secure content delivery.</p><p>Combined with <strong>database caching</strong> (Part 1), CDNs form the second piece of the caching puzzle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd387d673df2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Caching Basics: How It Works and Why It Matters]]></title>
            <link>https://medium.com/@leticiamantovani159/caching-basics-how-it-works-and-why-it-matters-a873c093f351?source=rss-5e4a506d6af2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a873c093f351</guid>
            <category><![CDATA[lru-cache]]></category>
            <category><![CDATA[cache]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[lfu-cache]]></category>
            <dc:creator><![CDATA[Leticia Mantovani]]></dc:creator>
            <pubDate>Tue, 12 Aug 2025 18:58:05 GMT</pubDate>
            <atom:updated>2025-08-12T18:58:05.832Z</atom:updated>
            <content:encoded><![CDATA[<p>Caching is one of those concepts in computer science that seems simple at first glance, just store a copy of some data for faster access, but quickly reveals layers of complexity when you dig deeper. From speeding up your CPU to reducing website load times, caching is everywhere. In this post, we’ll break down what caching really is, why it’s so powerful, and how it’s implemented in both hardware and software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M7e4hCkb0Y_RPPg2" /></figure><h3>What Is Caching?</h3><p>At its core, <strong>caching is the process of creating a copy of data so it can be accessed faster later</strong>. In a single machine, this often means copying data from slower storage (like RAM or disk) into the CPU’s cache memory. The data already exists elsewhere, but keeping a copy in the cache allows the CPU to read and write at blazing speeds.</p><p>Of course, caches are tiny compared to RAM or disk , often just kilobytes or megabytes in size, so the operating system has to decide carefully what gets stored there. And whenever multiple copies of data exist, you have to deal with the possibility that they’ll fall out of sync.</p><p>Caching isn’t just about individual machines, either. The same principles are used across distributed systems, web servers, databases, and CDNs.</p><h3>A Real-World Example: Browser Caching</h3><p>If you open your browser’s developer tools and look at the <strong>Network</strong> tab, you might notice that many resources — like images or JavaScript files — aren’t fetched from the internet every time you load a page. Instead, they’re retrieved from a local cache.</p><p>For example, on <a href="https://neetcode.io/">neetcode.io</a>, the file main.cf2a0447c0ac9f9e.js is a static JavaScript bundle. Since its contents don’t change for each page load, your browser can store it on disk instead of requesting it again from the network.</p><ul><li><strong>Disk cache</strong> is slower than memory but still much faster than a network request.</li><li><strong>Memory cache</strong> is the fastest, but only stores resources for the current session.</li></ul><p>When you disable caching, fetching that same file might take 123 ms over the network instead of just 11 ms from disk. That difference doesn’t sound huge for one file, but scale that to 100 resources and the delays quickly add up, potentially costing you users.</p><h3>Cache Hits, Misses, and Ratios</h3><p>When a browser finds the needed data in its cache, that’s a <strong>cache hit</strong>. When it doesn’t, that’s a <strong>cache miss</strong>. Sometimes you can even have a miss with cached data if it has expired or become stale.</p><p>The <strong>cache hit ratio</strong> is a measure of how many requests are served from the cache versus the total number of requests. In content delivery networks (CDNs), a high cache hit ratio is essential for speed and efficiency.</p><h3>Caching from the Server’s Perspective</h3><p>On the server side, deciding what to cache can be tricky. Take Twitter as an example. Not all tweets are equally popular, only a small fraction go viral. Caching everything wastes space, so Twitter might prioritize tweets that are accessed frequently.</p><p>This is where different caching strategies come into play.</p><h3>Common Caching Strategies</h3><h3>1. Write-Around Cache</h3><p>New data goes straight to disk, skipping the cache unless it becomes popular later. This saves space for frequently accessed items but may result in a cache miss the first time a trending item is accessed.</p><h3>2. Write-Through Cache</h3><p>New data is written to both the cache and the disk immediately. This ensures consistency but may waste cache space on rarely used data.</p><h3>3. Write-Back Cache</h3><p>New data is written to the cache first and only saved to disk when necessary (like when the cache is full). This can improve performance but risks losing data if the cache fails before it’s written to disk.</p><h3>Cache Eviction Policies</h3><p>Since cache space is limited, old items have to be evicted to make room for new ones. Here are three common policies:</p><ul><li><strong>FIFO (First In, First Out)</strong> — Oldest cached item is removed first.</li><li><strong>LRU (Least Recently Used)</strong> — Removes the item that hasn’t been accessed in the longest time. Great for cases like keeping a popular tweet in memory.</li><li><strong>LFU (Least Frequently Used)</strong> — Removes the item that is accessed the least often. Works well in some cases, but can fail if old but historically popular items take up space indefinitely.</li></ul><h3>Why Caching Matters</h3><p>Caching might seem like an optimization detail, but it’s a critical part of system design. Even small performance gains at the micro level can add up to huge improvements at scale, whether that’s shaving milliseconds off a page load or reducing latency in high-traffic systems.</p><p>Understanding caching means understanding trade-offs: speed vs. storage, freshness vs. efficiency, and simplicity vs. sophistication. The better your caching strategy, the faster and more responsive your applications will be.</p><p>We’ll look at <strong>caching in distributed systems and CDNs</strong>, where these same principles are applied at global scale.</p><p><em>If you enjoyed this article, please like and share it so more people can learn about caching!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a873c093f351" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How WebSockets Are Revolutionizing Real-Time Web Applications]]></title>
            <link>https://medium.com/@leticiamantovani159/how-websockets-are-revolutionizing-real-time-web-applications-fee8f645f187?source=rss-5e4a506d6af2------2</link>
            <guid isPermaLink="false">https://medium.com/p/fee8f645f187</guid>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[real-time-communication]]></category>
            <category><![CDATA[websocket]]></category>
            <dc:creator><![CDATA[Leticia Mantovani]]></dc:creator>
            <pubDate>Fri, 18 Jul 2025 20:03:45 GMT</pubDate>
            <atom:updated>2025-07-18T20:03:45.876Z</atom:updated>
            <content:encoded><![CDATA[<p>When we think of communication on the web, HTTP is usually the first protocol that comes to mind. It’s the foundation of most web traffic: simple, reliable, and stateless. But as web applications become more dynamic and interactive, especially those requiring real-time communication like chat apps, online games, and live streaming, HTTP starts to show its limitations.</p><p>In this article, we’ll explore the problem with using HTTP for real-time apps and how WebSockets offer a powerful solution.</p><h3>The Challenge with HTTP in Real-Time Apps</h3><p>Imagine you’re building a chat application. At first, it might seem reasonable to rely on HTTP for everything. After all, it’s the most widely supported protocol. But there’s a catch: HTTP is unidirectional and request-based. That means the client has to make a request every time it wants to receive data, a model known as <strong>polling</strong>.</p><p>Let’s say the client asks the server for new messages every minute. If someone sends a message right after the last check, it won’t be received until the next minute, not exactly “real-time.” On the other hand, if the client checks every second, you’re suddenly generating thousands of requests per user, per hour. This approach puts a heavy load on your servers and wastes network resources.</p><p>In short: <strong>HTTP was not built for real-time communication.</strong></p><h3>Enter WebSockets</h3><p><strong>WebSocket</strong> is a protocol designed for two-way, persistent communication between a client and a server. It keeps a connection open and allows both parties to send and receive data at any time — instantly.</p><p>This makes WebSockets ideal for:</p><ul><li>Group chats and messaging apps</li><li>Live sports scores or stock tickers</li><li>Multiplayer games</li><li>Collaborative tools like whiteboards or document editors</li><li>Live streaming platforms with chat</li></ul><h3>How WebSocket Works</h3><p>The process of establishing a WebSocket connection is clean and efficient. It begins with a standard HTTP request and then “upgrades” the connection.</p><p>Here’s a simplified diagram of how a WebSocket connection works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wPDUYZskdlvUjpqT" /></figure><ul><li>Step 1: The client sends an HTTP request with an Upgrade header to request a WebSocket connection.</li><li>Step 2: The server responds with status code <strong>101 Switching Protocols</strong>, confirming the upgrade.</li><li>Step 3: A persistent, bidirectional communication channel is established.</li></ul><p>From here on, messages can be sent and received instantly, no polling required.</p><h3>WebSocket Ports</h3><ul><li>ws:// (WebSocket): uses port <strong>80</strong>, similar to HTTP</li><li>wss:// (WebSocket Secure): uses port <strong>443</strong>, like HTTPS</li></ul><p>These are widely supported by all modern browsers and backend frameworks such as Node.js, Django, Flask, and ASP.NET.</p><h3>What About HTTP/2?</h3><p>You might ask: <strong>Does HTTP/2 replace WebSocket?</strong></p><p>Not quite. HTTP/2 does support <strong>multiplexing</strong>, which allows multiple requests in parallel over a single TCP connection. It’s great for improving performance, but it still follows the same request-response model. It doesn’t support persistent two-way streams the way WebSocket does.</p><p>So while HTTP/2 improves traditional HTTP performance, <strong>it’s not a replacement for WebSocket</strong> in real-time use cases.</p><h3>Final Thoughts</h3><p>WebSockets are a game changer for applications that rely on real-time data. They allow developers to build highly interactive, low-latency systems without the inefficiencies of polling.</p><p>Whether you’re building a live chat, a real-time dashboard, or a collaborative app, consider using WebSockets. They’re supported by modern infrastructure, easy to implement, and essential for creating seamless, responsive user experiences.</p><p><em>Enjoyed this article? Follow me for more posts on web technologies, real-time systems, and modern architecture.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fee8f645f187" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Understanding API Paradigms: REST, GraphQL & gRPC (with examples)]]></title>
            <link>https://medium.com/@leticiamantovani159/understanding-api-paradigms-rest-graphql-grpc-with-examples-92c7b7116323?source=rss-5e4a506d6af2------2</link>
            <guid isPermaLink="false">https://medium.com/p/92c7b7116323</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[grpc]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Leticia Mantovani]]></dc:creator>
            <pubDate>Tue, 08 Jul 2025 22:32:09 GMT</pubDate>
            <atom:updated>2025-07-08T22:32:09.429Z</atom:updated>
            <content:encoded><![CDATA[<p>Whether you’re building your first app or scaling a microservices monster, <strong>APIs are the backbone</strong> of how systems talk to each other. But not all APIs are created equal. The way you <strong>design, consume, and optimize APIs</strong> can make or break your architecture.</p><p>Let’s walk through the <strong>three most popular API paradigms today: REST, GraphQL, and gRPC</strong>, and understand when to use what.</p><h3>🧱 First, what even is an API?</h3><p>An <strong>API (Application Programming Interface)</strong> is basically a contract. It defines <em>how</em> software components interact — usually over the network. Think of it as a menu: the client asks for what it needs, and the server serves it (hopefully hot, fast, and correctly).</p><h3>🌐 REST: The OG API</h3><p>REST (Representational State Transfer) is the most well-known API style. It uses <strong>standard HTTP verbs</strong> (GET, POST, PUT, DELETE) and expects <strong>stateless communication</strong>.</p><p>That means:</p><ul><li>No session storage on the server.</li><li>Every request must include <em>all</em> the info needed to process it.</li></ul><p>📦 Example:<br> A client wants the first 10 YouTube videos? It’ll hit:</p><pre>GET https://youtube.com/videos?offset=0&amp;limit=10</pre><p>Need more</p><pre>GET https://youtube.com/videos?offset=10&amp;limit=10</pre><p>No memory of previous requests — <strong>clean slate every time</strong>. This is great for horizontal scaling.</p><p>📎 REST typically uses <strong>JSON</strong> for both request and response:</p><pre>{<br>  &quot;firstName&quot;: &quot;John&quot;,<br>  &quot;lastName&quot;: &quot;Smith&quot;,<br>  &quot;age&quot;: 27<br>}</pre><p>But JSON has its downsides — like being verbose and requiring strings everywhere (even for keys).</p><h3>🛑 Common REST pain points:</h3><ul><li><strong>Over-fetching</strong>: You only need name and photo, but get 50 fields.</li><li><strong>Under-fetching</strong>: Need nested data? You might need 3 separate calls.</li><li><strong>Rigid contracts</strong>: Want just 3 fields instead of 10? Tough luck.</li><li><strong>Too many endpoints</strong>: Complex UIs often mean a storm of network requests.</li></ul><h3>🧠 GraphQL: Ask for What You Need</h3><p>Born at Facebook and open-sourced in 2015, <strong>GraphQL flips the REST model on its head</strong>.</p><p>Instead of hitting different endpoints for different resources, GraphQL uses a <strong>single endpoint</strong> and <strong>a query language</strong> that lets the client <em>exactly specify</em> what it needs.</p><p>📦 Example:<br> Want the mission name, video link, and rocket name for 10 launches?</p><pre>{<br>  launchesPast(limit: 10) {<br>    mission_name<br>    links {<br>      video_link<br>    }<br>    rocket {<br>      rocket_name<br>    }<br>  }<br>}</pre><p>You get <strong>exactly what you ask for</strong>, in the same shape you requested.</p><p>✅ Benefits:</p><ul><li>No over- or under-fetching.</li><li>One endpoint.</li><li>Perfect for frontend teams that want <strong>full control over data needs</strong>.</li></ul><p>🛑 Downsides:</p><ul><li>Can be overkill for simple APIs.</li><li>Caching is trickier than with REST.</li><li>Requires a well-maintained schema and resolvers on the backend.</li></ul><h3>⚡ gRPC: The Speed Demon</h3><p>gRPC, developed by Google, is based on <strong>Remote Procedure Calls (RPC)</strong>. It’s <strong>blazing fast</strong> thanks to:</p><ul><li>HTTP/2 (multiplexed streams)</li><li><strong>Protocol Buffers (protobuf)</strong> instead of JSON (compact binary format)</li><li>Built-in support for <strong>streaming</strong> (client, server, or bidirectional)</li></ul><p>Typical use case? <strong>Microservices talking to each other</strong>. It’s not meant for browsers.</p><p>📦 Example .proto file:</p><pre>message SearchRequest {<br>  string query = 1;<br>  int32 page_number = 2;<br>  int32 result_per_page = 3;<br>}</pre><p>You define your <strong>API contracts in </strong><strong>.proto files</strong>, then generate code in your language of choice (Python, Go, Java, etc.).</p><p>📎 Bonus: gRPC also supports <strong>real-time streaming</strong> , great for chat apps, live data feeds, etc.</p><p>🛑 Things to note:</p><ul><li>Not browser-friendly (though gRPC-Web exists).</li><li>Harder to debug manually than JSON.</li><li>No built-in support for HTTP status codes.</li></ul><h3>💡 Takeaways</h3><ul><li>Use <strong>REST</strong> when you want simplicity and browser compatibility.</li><li>Reach for <strong>GraphQL</strong> when your UI needs vary a lot or change often.</li><li>Choose <strong>gRPC</strong> when speed, efficiency, and service-to-service communication matter most.</li></ul><p>Each has its placem <strong>the real win is knowing when to use which</strong>.</p><p>Here’s a image comparing REST, GraphQL, and gRPC communication flows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HK0YWYAtPY6rOXbf" /></figure><p>Follow for more hands-on API architecture tips. Let’s make APIs not suck 🚀</p><p>#API #GraphQL #gRPC #REST #SoftwareArchitecture #WebDev #Backend #DevTips #Engineering</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92c7b7116323" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>