# Load Balancing

Load balancing is the distribution of network traffic across multiple servers or other application-supporting resources to improve availability, scalability, security, and performance.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Planning for disaster recovery using AWS Local Zones and AWS Outposts racks

DevFeed: [Planning for disaster recovery using AWS Local Zones and AWS Outposts racks](<https://devfeed.tech/articles/planning-for-disaster-recovery-using-aws-local-zones-and-aws-outposts-racks-42096.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/compute/planning-for-disaster-recovery-using-aws-local-zones-and-aws-outposts-racks/>)

Author: Brianna Rosentrater

Published: 2026-09-17T17:24:21Z

Content type: article

Language: en

Sources: [AWS Compute Blog](<https://devfeed.tech/sources/aws-compute-blog.md>)

Topics: [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [AWS Local Zones](<https://devfeed.tech/topics/aws-local-zones.md>), [AWS Outposts](<https://devfeed.tech/topics/aws-outposts.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Availability](<https://devfeed.tech/topics/availability.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [availability](<https://devfeed.tech/tags/availability.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-local-zones](<https://devfeed.tech/tags/aws-local-zones.md>), [aws-outposts](<https://devfeed.tech/tags/aws-outposts.md>), [aws-outposts-rack](<https://devfeed.tech/tags/aws-outposts-rack.md>), [database](<https://devfeed.tech/tags/database.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [failover](<https://devfeed.tech/tags/failover.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [hybrid-cloud](<https://devfeed.tech/tags/hybrid-cloud.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [latency](<https://devfeed.tech/tags/latency.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [replication](<https://devfeed.tech/tags/replication.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

### AI overview

This post presents disaster recovery architectures using AWS Outposts racks and AWS Local Zones, including DNS-based failover, active/active load balancing, and hybrid database replication. It explains their availability, RTO/RPO, complexity, cost, and data-residency trade-offs.

### Source excerpt

Build highly available architectures that span two AWS Outposts racks, or an Outpost rack and an AWS Local Zone, without single points of failure. This post covers three disaster recovery approaches: DNS-based failover, active/active load balancing, and hybrid database replication, with the RTO/RPO trade-offs of each.

## How Load Balancers Actually Distribute Traffic

DevFeed: [How Load Balancers Actually Distribute Traffic](<https://devfeed.tech/articles/how-load-balancers-actually-distribute-traffic-33568.md>)

Original publisher: [Read original article](<https://blog.algomaster.io/p/how-load-balancers-actually-distribute-traffic>)

Author: Ashish Pratap Singh

Published: 2026-09-09T12:17:03Z

Content type: tutorial

Language: en

Sources: [AlgoMaster Newsletter](<https://devfeed.tech/sources/algomaster-newsletter.md>)

Topics: [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [load balancing algorithms](<https://devfeed.tech/topics/load-balancing-algorithms.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [capacity](<https://devfeed.tech/tags/capacity.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [load-balancing-algorithms](<https://devfeed.tech/tags/load-balancing-algorithms.md>), [nginx](<https://devfeed.tech/tags/nginx.md>), [server](<https://devfeed.tech/tags/server.md>)

### AI overview

This tutorial explains how load balancers distribute requests across multiple servers using algorithms such as round robin and weighted round robin. It describes their simplicity, health-check behavior, and limitations when servers differ in capacity or handle long-running requests.

### Source excerpt

When your application runs on multiple servers, you need a way to distribute incoming requests across them.

## Is MCP Stateless or Stateful?

DevFeed: [Is MCP Stateless or Stateful?](<https://devfeed.tech/articles/is-mcp-stateless-or-stateful-30879.md>)

Original publisher: [Read original article](<https://www.rogerperkin.co.uk/faq/is-mcp-stateless-or-stateful/>)

Author: Roger Perkin

Published: 2026-08-14T06:51:31Z

Content type: article

Language: en

Sources: [Roger Perkin Network Automation Consultant](<https://devfeed.tech/sources/roger-perkin-network-automation-consultant.md>)

Topics: [Model Context Protocol (MCP)](<https://devfeed.tech/topics/model-context-protocol-mcp.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [faq](<https://devfeed.tech/tags/faq.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>)

### AI overview

The article states that MCP became stateless in version 2026-07-28, whereas the original release was stateful. It says requests are self-describing and independent, eliminating the need for connection handshakes, session IDs, and sticky load balancing.

### Source excerpt

As of version 2026-07-28 the MCP protocol is now stateless. The original release was stateful. Every request is self-describing and independent, removing the need for connection handshakes, session IDs, or sticky load balancing. You can read all the important updates here: https://modelcontextprotocol.io/docs/2026-07-28/learn/architecture

## Top System Design Performance Metrics

DevFeed: [Top System Design Performance Metrics](<https://devfeed.tech/articles/top-system-design-performance-metrics-34692.md>)

Original publisher: [Read original article](<https://newsletter.systemdesigncodex.com/p/top-system-design-performance-metrics>)

Author: Saurabh Dashora

Published: 2026-07-14T08:36:41Z

Content type: tutorial

Language: en

Sources: [System Design Codex](<https://devfeed.tech/sources/system-design-codex.md>)

Topics: [benchmarking](<https://devfeed.tech/topics/benchmarking.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [health checks](<https://devfeed.tech/topics/health-checks.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [Database](<https://devfeed.tech/topics/database.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [IO](<https://devfeed.tech/topics/io.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [availability](<https://devfeed.tech/tags/availability.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [database](<https://devfeed.tech/tags/database.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [health-checks](<https://devfeed.tech/tags/health-checks.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performance-metrics](<https://devfeed.tech/tags/performance-metrics.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [sharding](<https://devfeed.tech/tags/sharding.md>), [system-design](<https://devfeed.tech/tags/system-design.md>)

### AI overview

A tutorial on system design performance metrics, focusing on availability and throughput. It explains how these metrics are measured and outlines techniques such as load balancing, health checks, failover, redundancy, disaster recovery, query optimization, sharding, and asynchronous processing.

### Source excerpt

Must Know Metrics

## Isovalent Enterprise Platform 26.05: Bringing Kubernetes, VMs, and Load Balancing Into One Operating Model

DevFeed: [Isovalent Enterprise Platform 26.05: Bringing Kubernetes, VMs, and Load Balancing Into One Operating Model](<https://devfeed.tech/articles/isovalent-enterprise-platform-26-05-bringing-kubernetes-vms-and-load-balancing-into-one-operating-model-31330.md>)

Original publisher: [Read original article](<https://isovalent.com/blog/post/isovalent-enterprise-platform-2605-bringing-kubernetes-vms-and-load-balancing-into-one-operating-model/>)

Author: Dean Lewis

Published: 2026-07-10T08:53:24Z

Content type: release

Language: en

Sources: [Isovalent - The latest articles covering eBPF-based Networking, Observability, and Security](<https://devfeed.tech/sources/isovalent-the-latest-articles-covering-ebpf-based-networking-observability-and-security.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>)

Tags: [isovalent](<https://devfeed.tech/tags/isovalent.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [platform](<https://devfeed.tech/tags/platform.md>)

### AI overview

The article presents Isovalent Enterprise Platform 26.05 and describes an operating model that brings Kubernetes, virtual machines, and load balancing together.

### Source excerpt

Learn all about Isovalent Enterprise Platform 26.05

## RFC 10005: BGP Community for link capacity

DevFeed: [RFC 10005: BGP Community for link capacity](<https://devfeed.tech/articles/rfc-10005-bgp-community-for-link-capacity-40166.md>)

Original publisher: [Read original article](<https://blog.j2sw.com/netops/rfc-10005-bgp-link-bandwidth/>)

Author: j2sw

Published: 2026-07-01T13:31:00Z

Content type: article

Language: en

Sources: [Justin Wilson (j2sw)](<https://devfeed.tech/sources/justin-wilson-j2sw.md>)

Topics: [BGP](<https://devfeed.tech/topics/bgp.md>), [standard](<https://devfeed.tech/topics/standard.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Network](<https://devfeed.tech/topics/network.md>)

Tags: [bgp](<https://devfeed.tech/tags/bgp.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [internet](<https://devfeed.tech/tags/internet.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [network](<https://devfeed.tech/tags/network.md>), [network-operations](<https://devfeed.tech/tags/network-operations.md>), [rfc](<https://devfeed.tech/tags/rfc.md>), [rfc-10005](<https://devfeed.tech/tags/rfc-10005.md>), [route](<https://devfeed.tech/tags/route.md>), [routers](<https://devfeed.tech/tags/routers.md>), [routing](<https://devfeed.tech/tags/routing.md>), [standard](<https://devfeed.tech/tags/standard.md>), [traffic](<https://devfeed.tech/tags/traffic.md>)

### AI overview

RFC 10005 defines a BGP extended community for carrying link bandwidth information in routes. When multiple BGP paths are eligible, routers can use the value to weight traffic according to link capacity, while normal best-path policy still determines route eligibility. The RFC is currently a draft.

### Source excerpt

RFC 10005 defines a BGP extended community that lets a router attach link bandwidth information to a route. Another router can use that value when it spreads traffic across multiple BGP paths. RFC 10005 matters because links are not always of the same capacity. This RFC provides routers with a standard way to carry bandwidth ... Read more The post RFC 10005: BGP Community for link capacity appeared first on Justin Wilson (j2sw).

## Key Components of a Production Web Application

DevFeed: [Key Components of a Production Web Application](<https://devfeed.tech/articles/key-components-of-a-prod-web-application-34686.md>)

Original publisher: [Read original article](<https://newsletter.systemdesigncodex.com/p/key-components-of-a-prod-web-application>)

Author: Saurabh Dashora

Published: 2026-06-09T07:56:22Z

Content type: article

Language: en

Sources: [System Design Codex](<https://devfeed.tech/sources/system-design-codex.md>)

Topics: [web applications](<https://devfeed.tech/topics/web-applications.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [proxy](<https://devfeed.tech/topics/proxy.md>), [Caching](<https://devfeed.tech/topics/caching.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [ddos](<https://devfeed.tech/tags/ddos.md>), [haproxy](<https://devfeed.tech/tags/haproxy.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

This article provides a high-level overview of components used in production web applications, including CI/CD pipelines, DNS resolution, load balancers, reverse proxies, and content delivery networks. It explains their roles in deployment, availability, scalability, performance, and security.

### Source excerpt

A big picture view...

## AI gateways: why and how

DevFeed: [AI gateways: why and how](<https://devfeed.tech/articles/ai-gateways-why-and-how-18916.md>)

Original publisher: [Read original article](<https://blog.frankel.ch/ai-gateways/>)

Author: Nicolas Fränkel

Published: 2026-05-31T00:00:00Z

Content type: article

Language: en

Sources: [Nicolas Fränkel](<https://devfeed.tech/sources/nicolas-frankel.md>)

Topics: [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>), [LLMs](<https://devfeed.tech/topics/llms.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Security](<https://devfeed.tech/topics/security.md>), [litellm](<https://devfeed.tech/topics/litellm.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [observability](<https://devfeed.tech/topics/observability.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api-gateway](<https://devfeed.tech/tags/api-gateway.md>), [backend](<https://devfeed.tech/tags/backend.md>), [caching](<https://devfeed.tech/tags/caching.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [coding-assistant](<https://devfeed.tech/tags/coding-assistant.md>), [decoupling](<https://devfeed.tech/tags/decoupling.md>), [devstral](<https://devfeed.tech/tags/devstral.md>), [gateway](<https://devfeed.tech/tags/gateway.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [mistral](<https://devfeed.tech/tags/mistral.md>), [observability](<https://devfeed.tech/tags/observability.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [routing](<https://devfeed.tech/tags/routing.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [security](<https://devfeed.tech/tags/security.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

This article explains how AI gateways apply the API gateway pattern to AI clients and LLM backends. It discusses using a gateway to centralize model and provider management, governance, cost control, routing, caching, failover, load balancing, and observability, and considers routing Claude Code requests to another provider.

### Source excerpt

Before working for 2 years on the Apache APISIX API gateway, I was mainly oblivious to API gateways. It's only by working with them that I understood their value. Decoupling the client and the server unlocks a lot of options: moving authentication to the API Gateway, securing APIs, deduplicating API requests, etc. In this post, I want to describe how the same pattern applies to AI. AI gateways AI gateways work in a similar way.

## Load Balancing and Scaling LLM Serving

DevFeed: [Load Balancing and Scaling LLM Serving](<https://devfeed.tech/articles/load-balancing-and-scaling-llm-serving-19903.md>)

Original publisher: [Read original article](<https://www.digitalocean.com/blog/load-balancing-scaling-llm-serving>)

Author: Mohammad Ashar Khan

Published: 2026-04-15T19:03:31Z

Content type: article

Language: en

Sources: [DigitalOcean](<https://devfeed.tech/sources/digitalocean.md>)

Topics: [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [sglang](<https://devfeed.tech/topics/sglang.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [TensorRT](<https://devfeed.tech/topics/tensorrt.md>)

Tags: [caching](<https://devfeed.tech/tags/caching.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [http](<https://devfeed.tech/tags/http.md>), [inference](<https://devfeed.tech/tags/inference.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm](<https://devfeed.tech/tags/llm.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [performance](<https://devfeed.tech/tags/performance.md>), [round-robin](<https://devfeed.tech/tags/round-robin.md>), [sglang](<https://devfeed.tech/tags/sglang.md>), [tensorrt](<https://devfeed.tech/tags/tensorrt.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

### AI overview

This article explains why scaling LLM serving requires load-balancing strategies that account for prompt-prefix caching. It describes how naive round-robin routing reduces cache-hit probability as the number of replicas grows, and introduces cache-aware routing approaches intended to preserve cache efficiency, control costs, and improve performance. It also discusses inference engines including vLLM, SGLang, and TensorRT, along with prefill and decode processing.

### Source excerpt

Load balancing for LLMs is fundamentally different from load balancing for traditional services like web servers, APIs, or databases. Prompt caching is the reason. Prompt caching typically cuts input token costs by 50-90% and can reduce Time to First Token (TTFT) latency by up to 80%, but those gains assume your request lands on the replica that already has the relevant prefix cached. Under naive round-robin load balancing across N replicas, that probability is 1/N. The cache hit rate that made caching so attractive at one replica degrades almost linearly as your fleet grows. Solving this requires rethinking how requests are routed at the infrastructure level. This article covers the load balancing strategies and specialized routers that preserve cache efficiency at scale, starting with why standard approaches fall short and progressing to precise, cache-aware routing techniques. Inferencing engines To achieve large-scale inferencing, we use inference engines. These engines simplify the complexities of serving LLMs and offer improved resource utilization on the underlying GPUs. They also enable higher concurrency and allow for customization to suit diverse inference workloads, such as real-time chat completions and long-form document summarization. Noteworthy engine options include vLLM, SGLang, and TensorRT. The inferencing process is largely consistent across different engines. Sending an HTTP request to an engine initiates a standard sequence of steps. Prefill Phase: The input prompt is first converted into token IDs using the model's tokenizer. Requests are grouped into batches for efficient concurrent processing by the engine. During this initial processing, special Key (K) and Value (V) tensors are computed. This phase concludes after the first forward pass, resulting in the generation of the first output token. Decode Phase: This phase involves an auto-regressive loop, continuing until an end-of-sequence token is generated or the maximum sequence length is re

## Advanced Prompt Caching at Scale

DevFeed: [Advanced Prompt Caching at Scale](<https://devfeed.tech/articles/advanced-prompt-caching-at-scale-19856.md>)

Original publisher: [Read original article](<https://www.digitalocean.com/blog/advanced-prompt-caching>)

Author: Andrew Dugan

Published: 2026-04-07T19:11:40Z

Content type: tutorial

Language: en

Sources: [DigitalOcean](<https://devfeed.tech/sources/digitalocean.md>)

Topics: [Caching](<https://devfeed.tech/topics/caching.md>), [Inference Performance](<https://devfeed.tech/topics/inference-performance.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [round robin](<https://devfeed.tech/topics/round-robin.md>), [sglang](<https://devfeed.tech/topics/sglang.md>), [TensorRT-LLM](<https://devfeed.tech/topics/tensorrt-llm.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [model architecture](<https://devfeed.tech/topics/model-architecture.md>)

Tags: [ai-ml](<https://devfeed.tech/tags/ai-ml.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [caching](<https://devfeed.tech/tags/caching.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [inference](<https://devfeed.tech/tags/inference.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm](<https://devfeed.tech/tags/llm.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [round-robin](<https://devfeed.tech/tags/round-robin.md>), [sglang](<https://devfeed.tech/tags/sglang.md>), [tensorrt-llm](<https://devfeed.tech/tags/tensorrt-llm.md>), [token](<https://devfeed.tech/tags/token.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

### AI overview

This tutorial explains how prompt caching works across multiple LLM replicas. It describes how round-robin load balancing reduces cache-hit rates and presents session affinity, tiered routing, and prefix-aware load balancing as architectural strategies for preserving KV-cache reuse while reducing latency and inference costs.

### Source excerpt

Introduction Prompt caching is the process of reusing already computed KV states across inference requests in order to save money and reduce latency. Within a single replica, modern inference engines like vLLM, SGLang, and TensorRT-LLM handle it automatically. Incoming prompts are matched against cached prefixes and recomputed only where necessary, without requiring user configurations The problem nobody talks about is what happens when you scale to many replicas. Under round-robin load balancing, a request with an identical prefix has only a 1/N chance of hitting the replica where that prefix is already cached. The cache hit rate that made prompt caching so attractive at one replica degrades almost linearly as your fleet grows, unless you architect around it deliberately. Done right, prompt caching at scale offers 50-90% discounts on cached input tokens and can reduce time-to-first-token (TTFT) latency by up to 80%. This article covers the architectural strategies that make that possible. The Single-Replica Ceiling Refer to our previous prompt caching article for a detailed explanation of how KV caching works under the hood. Every transformer-based LLM uses KV caching to store key and value vectors from the attention layers in GPU VRAM during decoding. This intra-request caching is baked into the model architecture to increase throughput and maximize efficiency. Within a single replica, modern open-source engines like vLLM, SGLang (via RadixAttention), and TensorRT-LLM support automatic prefix caching out of the box, matching incoming prompts against previously cached prefixes to maximize KV reuse without any user configuration. Reusing KV states across requests from many users and replicas is where inference frameworks differ significantly. In the simplest architecture, the cache lives on individual replicas in VRAM. It is not shared across model instances at all. When a user makes an inference request, the prompt from their request is cached on a single replica.

## Operating Trino at Scale With Trino Gateway

DevFeed: [Operating Trino at Scale With Trino Gateway](<https://devfeed.tech/articles/operating-trino-at-scale-with-trino-gateway-19736.md>)

Original publisher: [Read original article](<https://medium.com/expedia-group-tech/operating-trino-at-scale-with-trino-gateway-41824af788de?source=rss----38998a53046f---4>)

Author: Prakhar Sapre

Published: 2026-03-24T12:01:00Z

Content type: article

Language: en

Sources: [Expedia](<https://devfeed.tech/sources/expedia.md>)

Topics: [gateway](<https://devfeed.tech/topics/gateway.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [data analytics](<https://devfeed.tech/topics/data-analytics.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [downtime](<https://devfeed.tech/tags/downtime.md>), [gateway](<https://devfeed.tech/tags/gateway.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [sql](<https://devfeed.tech/tags/sql.md>), [trino](<https://devfeed.tech/tags/trino.md>), [trino-gateway](<https://devfeed.tech/tags/trino-gateway.md>), [trinos](<https://devfeed.tech/tags/trinos.md>)

### AI overview

This article explains how Trino Gateway routes queries across multiple Trino clusters and centralizes routing, authentication, load balancing, monitoring, and cluster management. It describes the project's origins as Presto Gateway at Lyft and its role in supporting larger analytics platforms with more complex workloads and higher concurrency.

### Source excerpt

Expedia Group Technology -- DataWorkload-aware routing for TrinoPhoto by Joseph Barrientos on Unsplash Trino -- a fork of PrestoSQL -- is a powerful tool in modern data analytics, enabling organizations to query large datasets quickly and efficiently. As a distributed SQL query engine, Trino provides fast, scalable insights without requiring data relocation. While Trino is robust on its own, its capabilities are further enhanced when paired with a Gateway, which introduces features such as query routing, strong security, and streamlined cluster management. A brief overview The Gateway project originated at Lyft as Presto Gateway, serving as a proxy and load balancer for PrestoDB. It was later forked and integrated into the Trino ecosystem, with contributions from various organizations and the open-source community. The Gateway serves as a central point for managing and routing queries, providing a unified interface for users and administrators. As organizations scale their analytics platforms, they often encounter challenges such as increased query complexity, higher concurrency, and the need for specialized cluster configurations. Directing users to specific cluster endpoints becomes impractical as the user base grows. A Gateway addresses these challenges by routing queries to the most appropriate clusters based on workload, improving efficiency and responsiveness. The Gateway acts as a vital intermediary between users and the Trino query engine. By abstracting the complexities of distributed query execution, it manages critical functions such as routing, authentication, and load balancing across diverse backend clusters. This ensures that queries are efficiently directed to the optimal processing cluster. With an intuitive user interface, the Gateway transforms what was once a convoluted process into a manageable and transparent experience empowering administrators with real-time insights and precise control over their backend cluster infrastructure. Whether it's mon

## Comparing IP and CLNP: Reaching Off-Subnet Nodes

DevFeed: [Comparing IP and CLNP: Reaching Off-Subnet Nodes](<https://devfeed.tech/articles/comparing-ip-and-clnp-reaching-off-subnet-nodes-11149.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2025/03/comparing-ip-clnp-off-subnet-nodes/>)

Published: 2025-03-05T07:08:00Z

Content type: tutorial

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [TCP/IP](<https://devfeed.tech/topics/tcp-ip.md>), [networking](<https://devfeed.tech/topics/networking.md>), [DHCP](<https://devfeed.tech/topics/dhcp.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>)

Tags: [cisco](<https://devfeed.tech/tags/cisco.md>), [dhcp](<https://devfeed.tech/tags/dhcp.md>), [ip](<https://devfeed.tech/tags/ip.md>), [ipv4](<https://devfeed.tech/tags/ipv4.md>), [ipv6](<https://devfeed.tech/tags/ipv6.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [networking-fundamentals](<https://devfeed.tech/tags/networking-fundamentals.md>), [routing](<https://devfeed.tech/tags/routing.md>)

### AI overview

This article compares how TCP/IP and CLNP identify a first-hop router for traffic to off-subnet nodes. It describes IPv4 default routes, DHCP configuration, first-hop redundancy protocols, and CLNP Intermediate System Hellos.

### Source excerpt

The previous blog post in this series discussed how TCP/IP and CLNP reach adjacent nodes and build ARP/ND/ES caches. Now let's move one step further: how do nodes running IPv4/IPv6 or CLNP discover the first-hop router that could forward their traffic to off-subnet nodes they want to communicate with? Read more ...

## Kubernetes networking: service, kube-proxy, load balancing

DevFeed: [Kubernetes networking: service, kube-proxy, load balancing](<https://devfeed.tech/articles/kubernetes-networking-service-kube-proxy-load-balancing-19141.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-services-and-load-balancing>)

Author: Gulcan Topcu

Published: 2024-10-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [networking](<https://devfeed.tech/topics/networking.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [applications](<https://devfeed.tech/tags/applications.md>), [backend](<https://devfeed.tech/tags/backend.md>), [browser](<https://devfeed.tech/tags/browser.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [http](<https://devfeed.tech/tags/http.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-networking](<https://devfeed.tech/tags/kubernetes-networking.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [networking](<https://devfeed.tech/tags/networking.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [services](<https://devfeed.tech/tags/services.md>)

### AI overview

A tutorial on Kubernetes networking that explains Services, kube-proxy, and load balancing. It covers pod communication, ClusterIP, NodePort, and LoadBalancer services, along with traffic from external sources and implementation details using iptables.

### Source excerpt

Master Kubernetes networking with Services and load balancing. Learn how traffic flows within clusters and from external sources.

## Load balancing and scaling long-lived connections in Kubernetes

DevFeed: [Load balancing and scaling long-lived connections in Kubernetes](<https://devfeed.tech/articles/load-balancing-and-scaling-long-lived-connections-in-kubernetes-19137.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-long-lived-connections>)

Author: Daniele Polencic

Published: 2024-06-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [gRPC](<https://devfeed.tech/topics/grpc.md>), [client](<https://devfeed.tech/topics/client.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [http](<https://devfeed.tech/tags/http.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-services](<https://devfeed.tech/tags/kubernetes-services.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [round-robin](<https://devfeed.tech/tags/round-robin.md>)

### AI overview

This tutorial explains why Kubernetes Services may not evenly distribute requests over long-lived connections. It describes Kubernetes Services and Deployments and discusses client-side load balancing or proxies for HTTP/2, gRPC, RSocket, AMQP, and long-lived database connections.

### Source excerpt

Handle long-lived connections in Kubernetes. Master client-side load balancing for HTTP/2, gRPC, and database connections.

## What is X-Forwarded-For and when can you trust it?

DevFeed: [What is X-Forwarded-For and when can you trust it?](<https://devfeed.tech/articles/what-is-x-forwarded-for-and-when-can-you-trust-it-19102.md>)

Original publisher: [Read original article](<https://httptoolkit.com/blog/what-is-x-forwarded-for/>)

Author: HTTP Toolkit; Phil Sturgeon

Published: 2024-01-31T17:00:00Z

Content type: tutorial

Language: en

Sources: [HTTP Toolkit](<https://devfeed.tech/sources/http-toolkit.md>)

Topics: [HTTP](<https://devfeed.tech/topics/http.md>), [client](<https://devfeed.tech/topics/client.md>), [servers](<https://devfeed.tech/topics/servers.md>), [backends](<https://devfeed.tech/topics/backends.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [backend](<https://devfeed.tech/tags/backend.md>), [http](<https://devfeed.tech/tags/http.md>), [ipv4](<https://devfeed.tech/tags/ipv4.md>), [ipv6](<https://devfeed.tech/tags/ipv6.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [request](<https://devfeed.tech/tags/request.md>), [server](<https://devfeed.tech/tags/server.md>), [servers](<https://devfeed.tech/tags/servers.md>), [standards](<https://devfeed.tech/tags/standards.md>)

### AI overview

This article explains how the X-Forwarded-For HTTP header records the source IP addresses of clients across proxies, CDNs, load balancers, and other intermediaries. It also describes common uses such as authentication checks, traffic distribution, data localization, and geographic content delivery.

### Source excerpt

The X-Forwarded-For (XFF) HTTP header provides crucial insight into the origin of web requests. The header works as a mechanism for conveying the original source IP addresses of clients, and not just across one hop, but through chains of multiple intermediaries. This list of IPv4 and IPv6 addresses is helpful to understand where requests have really come from in scenarios where they traverse several servers, proxies, or load balancers. A typical HTTP request goes on a bit of a journey, traversing multiple layers of infrastructure before reaching its destination. Without the X-Forwarded-For header, the receiving server would only see the IP address of the last intermediary in the chain (the direct source of the request) rather than the true client origin. {/* sequenceDiagram actor Client as Client 28.178.124.142 participant CDN as CDN 198.40.10.101 participant LB as Load Balancer 198.40.10.102 participant B as Backend App 10.0.0.1 Client->>CDN: CDN->>LB: LB->>B: */} In thie example, by the time the backend application is seeing an incoming request, the IP address of the original client is long forgotten. This is where the X-Forwarded-For header can help out. It looks like this: X-Forwarded-For: 28.178.124.142, 198.40.10.101 The goal here is to give a proxy the chance to say "Alright hang on, I'm forwarding you a request, and this is the history of where it came from, as far as I know". Note that the last proxy will not add its own IP address to the list, because that's already available: if the receiver of the request cares about who is calling it directly, they can combine the X-Forwarded-For with the request's source IP address from the incoming connection, e.g: req.connection.remoteAddress in NodeJS. In this example above, the load balancer has said "Hey backend app, I am forwarding you a request that came from this client, via the CDN", and it doesn't need to pop its own IP in there because the backend app can already tell if it's coming from the load balancer or

## Random Load Balancing is Unevenly Distributed

DevFeed: [Random Load Balancing is Unevenly Distributed](<https://devfeed.tech/articles/random-load-balancing-is-unevenly-distributed-20757.md>)

Original publisher: [Read original article](<https://www.evanjones.ca/random-load-balancing-is-uneven.html>)

Published: 2023-08-29T13:13:23Z

Content type: article

Language: en

Sources: [Evan Jones](<https://devfeed.tech/sources/evan-jones.md>)

Topics: [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Simulation](<https://devfeed.tech/topics/simulation.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [capacity](<https://devfeed.tech/tags/capacity.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [simulation](<https://devfeed.tech/tags/simulation.md>)

### AI overview

Randomly distributing work across servers creates load imbalance because the most-loaded server, rather than the average server, determines required capacity. A simulation illustrates how this can waste capacity and cause worse-than-linear scaling.

### Source excerpt

This is a reminder that random load balancing is unevenly distributed. If we distribute a set of items randomly across a set of servers (e.g. by hashing, or by randomly selecting a server), the average number of items on each server is num_items / num_servers. It is easy to assume each server has close to the same number of items. However, since we are selecting servers at random, they will have different numbers of items, and the imbalance can be important. For load balancing, a reasonable model is that each server has fixed capacity (e.g. it can serve 3000 requests/second, or store 100 items, etc.). We need to divide the total workload over the servers, so that each server stays below its capacity. This means the number of servers is determined by the most loaded server, not the average. This is a classic balls in bins problem that has been well studied, and there are some interesting theoretical results. However, I wanted some specific numbers, so I wrote a small simulation. The summary is that the imbalance varies with the expected number of items per server (that is, num_items / num_servers). A workload is more balanced with more items or with fewer servers. Most interestingly, this means that scaling a system by adding more servers makes the distribution more unfair. This is one reason we can get worse than linear scaling of some distributed systems. Let's make this more concrete with an example. Let's assume we have a workload of 1000 items, and each server can hold a maximum of 100 items. If we place the exact same number of items on each server, we only need 10 servers, and each of them is completely busy. However, if we place the items randomly, then the median (p50) number of items is 100 items. This means half the servers will have more than 100 items, and will be overloaded. If we want less than a 1% chance of an overloaded server, we need to look at the 99th percentile (p99) server load. We need to use at least 13 servers, which has a p99 load of 97 it

## Teleport 13: New Features and Updates

DevFeed: [Teleport 13: New Features and Updates](<https://devfeed.tech/articles/teleport-13-29893.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/teleport-13/>)

Author: kenneth.dumez@goteleport.com (Kenneth DuMez)

Published: 2023-05-10T00:00:00Z

Content type: release

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [configuration](<https://devfeed.tech/topics/configuration.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [okta](<https://devfeed.tech/topics/okta.md>), [opensearch](<https://devfeed.tech/topics/opensearch.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [aws](<https://devfeed.tech/tags/aws.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [okta](<https://devfeed.tech/tags/okta.md>), [opensearch](<https://devfeed.tech/tags/opensearch.md>), [tls](<https://devfeed.tech/tags/tls.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

Teleport 13 introduces automatic agent updates with configurable maintenance windows, TLS routing through AWS application load balancers for Server Access and Kubernetes Access, Okta application and group imports, and AWS OpenSearch support for Database Access. Several features are marked as preview releases.

### Source excerpt

An overview of all of the new features added to Teleport 13. Automatic Updating, Light Theme and more!

## TLS Routing Support for Teleport Behind an AWS Application Load Balancer

DevFeed: [TLS Routing Support for Teleport Behind an AWS Application Load Balancer](<https://devfeed.tech/articles/tls-routing-support-for-teleport-behind-an-aws-application-load-balancer-29944.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/tls-routing-behind-alb/>)

Author: info@goteleport.com (Steve Huang)

Published: 2022-11-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [networking](<https://devfeed.tech/topics/networking.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Amazon Bedrock](<https://devfeed.tech/topics/amazon-bedrock.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [https](<https://devfeed.tech/tags/https.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [tls](<https://devfeed.tech/tags/tls.md>), [tls-handshake](<https://devfeed.tech/tags/tls-handshake.md>)

### AI overview

This article explains TLS Routing support for Teleport Database Access when Teleport runs behind an AWS Application Load Balancer. It compares application and network load balancers and discusses TLS termination, mutual TLS, ALPN, SNI, and certificate handling.

### Source excerpt

How to "penetrate" an AWS Application Load Balancer to enable mutual TLS (mTLS), Application-Layer Protocol Negotiation (ALPN), and more.

## Caddy Partnership With Light Code Labs

DevFeed: [Caddy Partnership With Light Code Labs](<https://devfeed.tech/articles/caddy-partnership-with-light-code-labs-22147.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2019/07/caddy-partnership-light-code-labs.html>)

Published: 2019-07-22T00:00:00Z

Content type: release

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Security](<https://devfeed.tech/topics/security.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [announce](<https://devfeed.tech/tags/announce.md>), [ardan-labs](<https://devfeed.tech/tags/ardan-labs.md>), [blog](<https://devfeed.tech/tags/blog.md>), [go](<https://devfeed.tech/tags/go.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [golang](<https://devfeed.tech/tags/golang.md>), [ingress](<https://devfeed.tech/tags/ingress.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [partnership](<https://devfeed.tech/tags/partnership.md>), [programming](<https://devfeed.tech/tags/programming.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

Ardan Labs announces a partnership with Light Code Labs and Caddy author Matt Holt to bring Caddy into Ardan Labs' products and services. Caddy is a Go-based, open-source ingress and load-balancing service with automated security features and plugin support.

### Source excerpt

Ardan Labs (a leader in building Go enterprise software) is excited to announce that we have partnered with Light Code Labs and Matt Holt to bring Caddy into the Ardan Labs family of products and services. Caddy is a lightweight ingress service written in Go that provides automated security features and a plugin environment for extensibility. With the service being free open source (FOSS), small and large Go engineering teams finally have the ability to own and maintain their ingress and load balancing software with ease. We believe the Caddy project is as important as Docker and Kubernetes in maintaining a solid and scalable production environment.

## The speed of BGP network propagation

DevFeed: [The speed of BGP network propagation](<https://devfeed.tech/articles/the-speed-of-bgp-network-propagation-41636.md>)

Original publisher: [Read original article](<https://blog.benjojo.co.uk/post/speed-of-bgp-network-propagation>)

Author: ben@benjojo.co.uk

Published: 2019-05-04T12:28:41Z

Content type: article

Language: en

Sources: [benjojo blog](<https://devfeed.tech/sources/benjojo-blog.md>)

Topics: [BGP](<https://devfeed.tech/topics/bgp.md>), [Network](<https://devfeed.tech/topics/network.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [incident](<https://devfeed.tech/topics/incident.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [bgp](<https://devfeed.tech/tags/bgp.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [incident](<https://devfeed.tech/tags/incident.md>), [latency](<https://devfeed.tech/tags/latency.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [network](<https://devfeed.tech/tags/network.md>), [routing](<https://devfeed.tech/tags/routing.md>), [traffic-engineering](<https://devfeed.tech/tags/traffic-engineering.md>)

### AI overview

This article explains how BGP anycast routing propagates across regions and affects traffic distribution, latency, and load balancing. It describes the challenge of keeping routing announcements consistent and recounts an incident in which a configuration mistake removed a traffic-engineering prepend, shifting global traffic toward an overloaded site.

### Source excerpt

The speed of BGP network propagation >

## 即刻多端实时通信实践

DevFeed: [即刻多端实时通信实践](<https://devfeed.tech/articles/article-41012.md>)

Original publisher: [Read original article](<https://blog.joway.io/posts/socket-io/>)

Author: Joway

Published: 2018-09-18T00:00:00Z

Content type: article

Language: zh

Sources: [Random Thoughts](<https://devfeed.tech/sources/random-thoughts.md>)

Topics: [Socket.IO](<https://devfeed.tech/topics/socket-io.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [channel](<https://devfeed.tech/tags/channel.md>), [clients](<https://devfeed.tech/tags/clients.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [nodejs](<https://devfeed.tech/tags/nodejs.md>), [redis](<https://devfeed.tech/tags/redis.md>), [room](<https://devfeed.tech/tags/room.md>), [socket](<https://devfeed.tech/tags/socket.md>), [tech](<https://devfeed.tech/tags/tech.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

### AI overview

This Chinese technical article explains how Jike's jike-io real-time communication infrastructure is built with socket.io. It describes server-to-client WebSocket notifications, per-user rooms, HTTP requests for business operations, socket.io's fallback and reconnection behavior, and Redis-based distribution across nodes, including sticky load balancing and the associated message-broadcast overhead. It also discusses connection spikes and Node.js bottlenecks.

### Source excerpt

背景 jike-io 是即刻基于 socket.io 构建的一个实时通信基础设施。目前客户端上的所有实时通信服务都是建立在其基础上，涵盖了私信、消息通知、用户反馈、活动页小游戏等诸多组件。 在目前即刻的实时通信设计里，我们的实时通信只是为了让服务端主动推送消息给客户端，客户端不会主动通过 websocket 发送消息。由于几乎我们所有需要发送消息的请求都会有一定业务逻辑在，而这个业务逻辑我们并不希望 websocket 连接层(jike-io)去处理，所以我们仍旧采用传统 HTTP 请求的方式去发送请求。至于之后是否需要推送消息给用户，由服务端调用 jike-io 的接口进行实现。

## Customer Invisible Maintenance of the CSC Object Storage Servers

DevFeed: [Customer Invisible Maintenance of the CSC Object Storage Servers](<https://devfeed.tech/articles/customer-invisible-maintenance-of-the-csc-object-storage-servers-19761.md>)

Original publisher: [Read original article](<https://cloud.blog.csc.fi/2018/03/customer-invisible-maintenance-of-csc.html>)

Author: Unknown (noreply@blogger.com)

Published: 2018-03-14T07:36:00Z

Content type: article

Language: en

Sources: [CSC - IT Center For Science - Cloud Team](<https://devfeed.tech/sources/csc-it-center-for-science-cloud-team.md>)

Topics: [BGP](<https://devfeed.tech/topics/bgp.md>), [networking](<https://devfeed.tech/topics/networking.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [round robin](<https://devfeed.tech/topics/round-robin.md>)

Tags: [bgp](<https://devfeed.tech/tags/bgp.md>), [ceph](<https://devfeed.tech/tags/ceph.md>), [cpouta](<https://devfeed.tech/tags/cpouta.md>), [dns](<https://devfeed.tech/tags/dns.md>), [exabgp](<https://devfeed.tech/tags/exabgp.md>), [failover](<https://devfeed.tech/tags/failover.md>), [ha](<https://devfeed.tech/tags/ha.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [network](<https://devfeed.tech/tags/network.md>), [networking](<https://devfeed.tech/tags/networking.md>), [object-storage](<https://devfeed.tech/tags/object-storage.md>), [radosgw](<https://devfeed.tech/tags/radosgw.md>), [round-robin](<https://devfeed.tech/tags/round-robin.md>), [routing](<https://devfeed.tech/tags/routing.md>), [server](<https://devfeed.tech/tags/server.md>)

### AI overview

The CSC Pouta Cloud Team describes using ExaBGP on object storage servers to combine round-robin DNS load balancing with BGP routing for high availability and failover during maintenance.

### Source excerpt

Hello! It's the CSC Pouta Cloud Team again! You may recognize us from other object storage films such as: http://pouta.blog.csc.fi/2018/02/admin-stories-implement-object-storage.html where we go through in excruciating detail how we configured CEPH RadosGW and why we configured it like we did http://pouta.blog.csc.fi/2018/01/objectively-speaking-in-cpouta.html where we announced object storage! In this episode we're going to talk a bit about how we implemented invisible(*) maintenance for our Object Storage customers. Configuration of ExaBGP with Object Storage CSC - IT Center for Science Ltd. has a close collaboration with the Finnish University and Research Network - FUNET, and because of that we are in a great position to do some fun network stuff. Actually, as long as your network has a BGP relationship with its internet provider you can also do what we have done. When we first launched Object Storage we just had a DNS entry pointing to two IP addresses. This gave us some load balancing and if we really wanted to we could take a node out of the DNS and do maintenance. But we wanted more! *ExaBGP enters the stage* In short we installed ExaBGP on our object storage linux servers, configured one dummy network interface per server and started to announce two IP addresses from each server. Then we pointed object.pouta.csc.fi DNS entry to these two IP addresses. The objective was to use round-robin DNS for load-balancing and BGP routing for High Availability. For failover this means that if one node goes down, the other IP is reachable on the other node and stuff will keep magically(*) working! There are some other BGP softwares out there, like BIRD or Quagga. Despite this, we never actually tried any other software since ExaBG has some great qualities such as: it came recommended by the network team at CSC who uses it for some services its low resource footprint and small number of software dependencies it is not a full routing suite - it is meant to be used for basi

## PostgreSQL High Availability with Primary and Standby Servers

DevFeed: [PostgreSQL High Availability with Primary and Standby Servers](<https://devfeed.tech/articles/queen-princesses-and-workers-34574.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2017/12/queen-princesses-and-workers/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2017-12-11T09:19:24Z

Content type: article

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Database](<https://devfeed.tech/topics/database.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [primary](<https://devfeed.tech/tags/primary.md>), [replication](<https://devfeed.tech/tags/replication.md>), [standby](<https://devfeed.tech/tags/standby.md>)

### AI overview

This article explains PostgreSQL high-availability architectures using primary and standby servers. It discusses replication, online backups, automated recovery, and promoting a standby server when the primary becomes unavailable.

### Source excerpt

The PostgreSQL community made the explicit choice some times ago that they would not use the infamous master and slave terminology. Instead, the documentation introduces the concepts of High Availability, Load Balancing, and Replication with the terms Primary and Standby, and the even more generic term Replica is used in contexts when only the data flow is considered, rather than the particular role of a node.

## Migrating To Kubernetes

DevFeed: [Migrating To Kubernetes](<https://devfeed.tech/articles/migrating-to-kubernetes-29763.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/migrating-to-kubernetes/>)

Author: sasha@goteleport.com (Sasha Klizhentas)

Published: 2017-12-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [containers](<https://devfeed.tech/tags/containers.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [failover](<https://devfeed.tech/tags/failover.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [migration](<https://devfeed.tech/tags/migration.md>), [scalability](<https://devfeed.tech/tags/scalability.md>)

### AI overview

This tutorial explains common challenges in migrating existing applications to Kubernetes, including high availability, failover, load balancing, performance, and scalability. It highlights application-specific requirements such as avoiding unsuitable local state, handling database access, and assessing whether an application is ready to run across multiple instances.

### Source excerpt

Learn about common problems when migrating your application to Kubernetes.

[Next page](<https://devfeed.tech/topics/load-balancing.md?cursor=WyIyMDE3LTEyLTAyVDAwOjAwOjAwKzAwOjAwIiwgImM4MmM2YjM4LTAzNDctNDA5OC05MmY0LWMzOThmZGZiY2NkZCJd>)