<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rustgateway on TutorialEdge.net</title><link>https://tutorialedge.net/series/rustgateway/</link><description>Recent content in Rustgateway on TutorialEdge.net</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 20 Mar 2026 10:06:00 +0000</lastBuildDate><atom:link href="https://tutorialedge.net/series/rustgateway/index.xml" rel="self" type="application/rss+xml"/><item><title>Part 6 - Configuration &amp; Authentication</title><link>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-6-configuration-and-authentication/</link><pubDate>Fri, 20 Mar 2026 10:06:00 +0000</pubDate><guid>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-6-configuration-and-authentication/</guid><description>&lt;p&gt;Welcome to the final part of the series! In the &lt;a href="../../projects/building-api-gateway-in-rust/part-5-load-balancing-and-health-checks/"
 title="previous tutorial" 
 &gt;
 previous tutorial&lt;/a&gt;, we added load balancing and health checks. Our gateway is fully functional, but everything is hardcoded in &lt;code&gt;main.rs&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;In this tutorial, we&amp;rsquo;ll make two final improvements: moving all configuration into a YAML file so you can change the gateway&amp;rsquo;s behavior without recompiling, and adding JWT authentication middleware so the gateway can protect backend services from unauthorized access.&lt;/p&gt;</description></item><item><title>Part 5 - Load Balancing &amp; Health Checks</title><link>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-5-load-balancing-and-health-checks/</link><pubDate>Fri, 20 Mar 2026 10:05:00 +0000</pubDate><guid>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-5-load-balancing-and-health-checks/</guid><description>&lt;p&gt;In the &lt;a href="../../projects/building-api-gateway-in-rust/part-4-rate-limiting/"
 title="previous tutorial" 
 &gt;
 previous tutorial&lt;/a&gt;, we added rate limiting to protect our backends from abuse. Now we&amp;rsquo;re going to tackle another critical piece of infrastructure: &lt;strong&gt;load balancing&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Up to this point, each route in our gateway maps to a single backend server. But in production, you typically run multiple instances of each service for reliability and throughput. If one instance crashes, the others keep serving traffic. Load balancing distributes requests across these instances.&lt;/p&gt;</description></item><item><title>Part 4 - Rate Limiting</title><link>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-4-rate-limiting/</link><pubDate>Fri, 20 Mar 2026 10:04:00 +0000</pubDate><guid>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-4-rate-limiting/</guid><description>&lt;p&gt;In the &lt;a href="../../projects/building-api-gateway-in-rust/part-3-middleware-pipeline/"
 title="previous tutorial" 
 &gt;
 previous tutorial&lt;/a&gt;, we built a middleware pipeline with logging, CORS, and header injection. Now we&amp;rsquo;re going to add one of the most important features of any API gateway: &lt;strong&gt;rate limiting&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Without rate limiting, a single client can overwhelm your backend services — whether intentionally (a DDoS attack) or accidentally (a buggy client in a retry loop). Rate limiting puts a cap on how many requests a client can make in a given time window.&lt;/p&gt;</description></item><item><title>Part 3 - Middleware Pipeline</title><link>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-3-middleware-pipeline/</link><pubDate>Fri, 20 Mar 2026 10:03:00 +0000</pubDate><guid>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-3-middleware-pipeline/</guid><description>&lt;p&gt;In the &lt;a href="../../projects/building-api-gateway-in-rust/part-2-routing-and-path-matching/"
 title="previous tutorial" 
 &gt;
 previous tutorial&lt;/a&gt;, we added routing to our gateway. Now it&amp;rsquo;s time to add &lt;strong&gt;middleware&lt;/strong&gt; — the mechanism that lets us process requests and responses as they flow through the gateway.&lt;/p&gt;
&lt;p&gt;Middleware is where the real power of an API gateway lives. Logging, authentication, rate limiting, header manipulation — these are all concerns that apply across services, and middleware lets us handle them in one place rather than duplicating logic in every backend service.&lt;/p&gt;</description></item><item><title>Part 2 - Routing &amp; Path Matching</title><link>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-2-routing-and-path-matching/</link><pubDate>Fri, 20 Mar 2026 10:02:00 +0000</pubDate><guid>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-2-routing-and-path-matching/</guid><description>&lt;p&gt;In the &lt;a href="../../projects/building-api-gateway-in-rust/part-1-project-setup-and-first-proxy/"
 title="previous tutorial" 
 &gt;
 previous tutorial&lt;/a&gt;, we built a basic reverse proxy that forwards all requests to a single backend server. That&amp;rsquo;s a good start, but a real API gateway needs to route requests to different services based on the URL path.&lt;/p&gt;
&lt;p&gt;For example, requests to &lt;code&gt;/api/users&lt;/code&gt; might go to a user service on port 8081, while requests to &lt;code&gt;/api/orders&lt;/code&gt; go to an order service on port 8082. This is the bread and butter of what an API gateway does.&lt;/p&gt;</description></item><item><title>Part 1 - Project Setup &amp; Your First HTTP Proxy</title><link>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-1-project-setup-and-first-proxy/</link><pubDate>Fri, 20 Mar 2026 10:01:00 +0000</pubDate><guid>https://tutorialedge.net/projects/building-api-gateway-in-rust/part-1-project-setup-and-first-proxy/</guid><description>&lt;p&gt;Welcome to the first part of this series on building an API gateway in Rust! By the end of this tutorial, you&amp;rsquo;ll have a working reverse proxy that accepts incoming HTTP requests and forwards them to a backend server. It&amp;rsquo;s a surprisingly small amount of code, and it&amp;rsquo;ll give us a solid foundation to build on.&lt;/p&gt;
&lt;h2 id="what-is-a-reverse-proxy"&gt;
 &lt;a href="#what-is-a-reverse-proxy" class="heading-anchor" aria-hidden="true"&gt;##&lt;/a&gt;What is a Reverse Proxy?&lt;/h2&gt;
&lt;p&gt;Before we write any code, let&amp;rsquo;s make sure we&amp;rsquo;re on the same page about what a reverse proxy actually does.&lt;/p&gt;</description></item><item><title>Building an API Gateway in Rust</title><link>https://tutorialedge.net/projects/building-api-gateway-in-rust/</link><pubDate>Thu, 19 Mar 2026 10:00:00 +0000</pubDate><guid>https://tutorialedge.net/projects/building-api-gateway-in-rust/</guid><description>&lt;p&gt;API gateways sit at the front door of your backend services. They handle incoming requests and route them to the right place, while taking care of cross-cutting concerns like authentication, rate limiting, and logging so your individual services don&amp;rsquo;t have to.&lt;/p&gt;
&lt;p&gt;Building one from scratch is an incredible way to learn Rust. You&amp;rsquo;ll work with async networking, trait-based abstractions, concurrent data structures, and real-world patterns that come up in production systems every day.&lt;/p&gt;</description></item></channel></rss>