EngineeringSenior DeveloperTechnical Sessions

Session 18: API Gateway, Service Mesh & Observability

Premium

Mục tiêu: Thiết kế API Gateway, hiểu Service Mesh, và implement distributed observability.


1. API Gateway

YARP (Yet Another Reverse Proxy) - Microsoft

csharp
// .NET based reverse proxy, built by Microsoft
// Install: Yarp.ReverseProxy

builder.Services.AddReverseProxy()
    .LoadFromConfig(builder.Configuration.GetSection("ReverseProxy"));

app.MapReverseProxy();
json
// appsettings.json
{
  "ReverseProxy": {
    "Routes": {
      "orders-route": {
        "ClusterId": "orders-cluster",
        "Match": { "Path": "/api/orders/{**catch-all}" },
Premium

Continue with premium access

Session 18: API Gateway, Service Mesh & Observability is part of the premium library. Sign in with a premium account to unlock the full lesson and the rest of this track.

01 Full premium lesson access
02 Deeper implementation notes
03 Ongoing content updates