Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#routing

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

337 articles in the current browsing window, ordered by publication date.

Nginx Location & Rewrite Deep Dive: 8 Priority Rules, 3 Flag Semantics, 10 Production Pitfalls

This comprehensive guide explains Nginx location matching priorities, rewrite flag semantics (last/break/redirect/permanent), and common production pitfalls through real incidents, source-code-level logic, debugging techniques, and 20 interview Q&As to help engineers avoid routing misconfigurations.

Jev vs BERT: Why Decision Models Beat Classifiers for Agent Routing

The article explains why TypeSafe's Jev decision model outperforms BERT for multi-agent routing by supporting dynamic labels, multi-question inference, and calibrated probabilities, and details a three-layer architecture combining hard policies, fast decision models, and reasoning LLMs for production deployment.

Network Unreachable? Layered Troubleshooting with ping, telnet, curl & traceroute

This guide explains how to systematically troubleshoot server network connectivity using ping, telnet, curl, and traceroute, showing what each tool verifies at different network layers, how to interpret results, avoid common misdiagnoses, and build evidence chains for root-cause analysis.

OctaFuse Gateway 2.12.0: Provider Account Management, Routing Workspace & Multimodal Endpoint Discovery

OctaFuse Gateway 2.12.0 adds supplier account categorization with live quota queries, a searchable routing workspace showing sticky binding counts, multimodal model endpoint discovery via /v1/models with protocol and operation fields, responsive mobile admin UI, and extends streaming idle timeout from 30 to 90 seconds.

Solving Sharding Routing Latency by Embedding Route Keys in Order IDs

A large OTA platform eliminated sharding query latency by encoding a 4-bit routeKey into 64-bit Snowflake order IDs, enabling direct shard lookup without index table queries, reducing P99 latency from over 1 second to tens of milliseconds and cutting database load by 80% through a three-layer fallback strategy.

Essential Network Basics for Ops: IP, Subnet Mask, and Gateway Explained in One Go

This guide walks operations engineers through IP addressing, binary‑decimal conversion, classful and private address ranges, subnet masks and CIDR notation, gateway functions, VLAN concepts, routing tables, DNS basics, Docker/Kubernetes networking, firewall rules, and practical troubleshooting steps, all illustrated with concrete commands and examples.

OctaFuse Gateway 2.6 0 Brings Unified Vertex AI Auth, Clear Image Billing, and Easier Debugging

OctaFuse Gateway 2.6.0 adds project‑level Vertex AI service‑account authentication, introduces token‑ and per‑image billing modes for image models, refines time‑slot pricing with override mode, and upgrades the admin UI, Playground and Simulator with new provider templates and routing visualizations, while clarifying failure‑request charge rules.

Day45: Mastering Computer Networks – IP Subnetting, Routing, DNS, HTTP/HTTPS & Load Balancing

This guide walks through a real browser request from a medical imaging workstation, explaining how DNS resolves the domain, how IPv4 addresses and CIDR define subnets, how ARP and default gateways determine MAC addresses, how routers apply longest‑prefix matching, and how TCP, TLS, HTTP, and load‑balancing layers work together to deliver the response.

Why a Gateway Is Essential in Microservices and What It Actually Does

The article explains that a gateway serves as the unified entry point of a microservice system, handling routing, authentication, rate limiting, logging and protocol conversion, compares architectures with and without a gateway, details Spring Cloud Gateway's core concepts, shows configuration and custom auth filter code, and contrasts it with Zuul, providing interview‑ready insights and sample questions.

Why ‘Easy’ Isn’t ‘Simple’: The Architecture Philosophy Behind Gin’s 88k‑Star Success

Manu Martínez‑Almeida explains how Gin’s commitment to ‘Simple over Easy’—rejecting reflection‑based injection, using a minimal routing language with a radix tree, zero‑allocation context pooling, and strict backward‑compatible API design—produced a high‑performance, maintainable Go web framework that now powers hundreds of thousands of projects.

Master Gin Framework: Routing, Data Binding, Rendering, and Middleware in One Guide

This guide introduces the high‑performance Go web framework Gin, outlines its eight key features—including routing groups, JSON validation, middleware support, and rendering—and provides step‑by‑step examples for routing, data binding, middleware, session handling, and validation to help developers quickly adopt Gin.

Tianji Zhichong Platform Powers New AI Agent Collaboration for Brokerage Services

Guangfa Securities partnered with Volcano Engine to build a unified intelligent service platform that achieves over 90% intent‑recognition accuracy and second‑level routing, enabling both client‑facing and employee‑facing AI agents to deliver professional financial advice and streamline workflow.

What Is AI Orchestration? Concepts, Tools, and Common Pitfalls Explained

The article breaks down AI orchestration as a management layer that routes tasks, maintains state, executes tools, handles retries, and coordinates multiple agents, comparing frameworks like LangGraph and CrewAI while highlighting practical pitfalls and best‑practice advice for building reliable multi‑step AI workflows.

TianQu: Pure Kotlin Coroutine-Driven KMP/CMP Router for HarmonyOS, Android & iOS

TianQu is a pure Kotlin, coroutine-driven routing framework for Kotlin Multiplatform/Compose Multiplatform that supports HarmonyOS, Android, and iOS, featuring compile-time KSP scanning, type-safe navigation, cross-module service discovery, ViewModel lifecycle binding, concurrent preloading, and dynamic feature loading.

RabbitMQ Exchanges Mastery: Routing Basics to Scalable High‑Concurrency Design

This guide explains why the Exchange is the routing core of RabbitMQ, details its five-layer capabilities, shows how to design reliable, scalable topologies with direct, topic, fanout and headers exchanges, and provides Spring Boot code examples for production‑grade routing, retries, dead‑letter handling and monitoring.

Why URLs Like /api/;/user/info Still Work: Server Parsing and RFC Rules

The article explains that URLs containing a semicolon, such as /api/;/user/info, are still reachable because web servers follow legacy URL‑path‑parameter parsing defined in older RFCs, treat empty parameters as harmless, and normalize the path before routing, which also introduces security considerations.

How PilotDeck’s Open‑Source Agent Cuts Token Costs by 70% with Parallel Workspaces

PilotDeck, an open‑source agent operating system from Tsinghua and partners, introduces isolated workspaces, transparent memory and smart routing that together reduce token expenses by up to 70% while keeping performance, and it demonstrates these gains through a milk‑tea game, a data‑visualisation dashboard, and a programmer‑personality test.

Designing a Scalable Delivery Dispatch System for Chain Restaurants

The article details a three‑module architecture—capacity verification, platform routing, and status synchronization—showing how a chain restaurant can dynamically choose third‑party delivery services across multiple cities, handle asynchronous checks, prioritize platforms, and ensure reliable callbacks and resends.

Why LLMs Are Undermining 20‑Year‑Old Stateless Web Architecture

The article explains how the longstanding web architecture that separates stateful databases from stateless compute is being challenged by large language models and AI agents, which introduce long‑running, stateful, bidirectional workflows, exposing the need for new routing primitives such as persistent pub/sub channels rather than traditional HTTP‑load‑balancer setups.

Designing a Production‑Ready LLM Gateway: Architecture, Routing, Fallback, and Observability

This article outlines a production‑grade LLM Gateway design, detailing a three‑layer architecture, capability‑, cost‑, latency‑ and semantic‑based routing strategies, multi‑level fallback mechanisms, specialized load balancing, unified API adaptation, semantic caching, observability, and compares popular open‑source implementations.

Master the 7 Common AI Agent Design Patterns and Frameworks

This article surveys seven core multi‑agent design patterns—workflow, routing, parallel, loop, aggregation, network, and hierarchy—explains their mechanics, trade‑offs, and suitable scenarios, and reviews popular frameworks such as AutoGPT, Dify, AutoGen, CrewAI, and LangGraph, with concrete examples and code snippets.

Designing a Production LLM Gateway: Architecture, Routing, and Fallback

The article outlines a production‑grade LLM Gateway architecture divided into ingress, decision, and egress layers, detailing capability‑based, cost‑aware, latency‑aware, and semantic routing, multi‑stage fallback mechanisms, specialized load‑balancing, protocol unification, semantic caching, observability, and evaluates open‑source solutions such as LiteLLM, RouteLLM, and Portkey.

Understanding Spring Cloud Gateway: Architecture, Core Concepts, and Configuration

This article provides a detailed technical overview of Spring Cloud Gateway, covering its role as a second‑generation API gateway built on Spring 5, WebFlux, and Reactor, its core responsibilities, architectural placement, key concepts like routes, predicates and filters, the request processing flow, and a concrete YAML configuration example.

Can IPv8 Seamlessly Replace IPv4 and IPv6? A Deep Dive into the New Backward‑Compatible Protocol

Facing the sluggish adoption of IPv6, the IETF draft for IPv8 proposes a 64‑bit address space that is 100% backward compatible with IPv4, offering a seamless migration path, expanded address capacity, and built‑in security features while avoiding costly network upgrades.

Master the Linux Network Stack: A Complete Illustrated Guide

This comprehensive tutorial walks through the Linux networking stack—from basic concepts, physical and data‑link layers, and addressing schemes to routing protocols, TCP/UDP transport mechanisms, application‑layer services like DNS and HTTP, and security fundamentals—providing clear explanations, step‑by‑step processes, formulas, and visual diagrams to help readers understand how each layer works and interacts.

Essential AI Agent Design Patterns and Frameworks for Operations: Do You Know Them?

The article explains seven multi‑agent design patterns—workflow, routing, parallel, loop, aggregation, network, and hierarchy—detailing their mechanisms, use‑cases, and trade‑offs, then surveys popular agent frameworks (AutoGPT, Dify, AutoGen, CrewAI, LangGraph) and why they are needed for complex, dynamic decision‑making tasks.

How Anthropic Builds Effective AI Agents: Practical Patterns and Principles

This guide distills Anthropic’s frontline experience into a concise framework for building high‑performing AI agents, covering the workflow‑vs‑agent distinction, five composable architecture patterns, core design principles, tool‑centric optimization, and pragmatic advice on using or bypassing agent frameworks.

Why Every RAG System Needs Smart Query Understanding and Routing

The article explains how diverse user queries in a RAG‑based insurance system require intent classification, entity extraction, and multi‑path routing to choose between vector search, calculation, database lookup, or chit‑chat, and outlines practical rule‑ML‑LLM hybrid solutions with safety safeguards.

Microservice Governance Guide: From Stable Operations to Maximum Efficiency

This comprehensive guide breaks down microservice governance into four pillars—node management, load balancing, routing, and fault tolerance—providing concrete configurations, algorithm choices, and service‑mesh recommendations to achieve 99.99% availability, cut wasted resources by over 30%, and halve iteration cycles.

Best Go Web Frameworks Compared: Beego, Echo, Gin, Iris, and More

This article provides a comprehensive comparison of the most popular Go web frameworks—including Beego, Buffalo, Echo, Gin, Iris, and Revel—covering popularity, learning curve, core routing features, middleware ecosystems, server capabilities, view engines, MVC support, caching, testing, and more, with concrete code examples and repository links.

Why Taobao Order IDs End with the Same Six Digits: Inside the Gene Method

The article explains why the last six digits of Taobao order numbers are constant, revealing the “gene” method that embeds a hashed user identifier to bind orders to specific shards, thereby improving query performance, ensuring balanced data distribution, and supporting scalability in large e‑commerce systems.

Building a Multi‑Cloud Network for Seamless Compute Scheduling

This article explains the background, design, and implementation of a multi‑cloud network that enables full‑network compute scheduling across public clouds (such as Alibaba and Huawei) and private IDC, detailing components like cloud‑dedicated lines, multi‑cloud gateways, boundary routers, routing interconnection, MTU handling, and future optimization plans.

Designing a Scalable Payment Channel Management System: Architecture, Routing, and Error Handling

This article explains how to design, implement, and operate a payment channel management system, covering scenarios from single to multiple channels, detailed payment flow analysis, overall architecture, channel information management, routing logic, result‑code mapping, and refund‑overdue handling.

Why Your Linux Network Keeps Failing? Master Subnet Masks and Gateways

This guide walks Linux administrators through the essential concepts of IP addressing, subnet masks, CIDR notation, gateway configuration, and routing, providing detailed examples for RedHat/CentOS, Debian/Ubuntu, and cloud environments, plus troubleshooting steps and advanced topics like bonding, VLANs, firewalls, and performance tuning.

Mastering Spring Cloud Gateway: Core Features, Architecture & Comparison

This article provides a comprehensive overview of Spring Cloud Gateway, covering its role as a reactive API gateway, core functionalities such as routing, security authentication, rate limiting, logging, circuit breaking, the request lifecycle, and a comparison with other gateway solutions.

How We Built a Cross‑Platform Architecture for WeChat Pay on iOS & Android

This article explains how the fragmented iOS and Android implementations of WeChat Pay were unified by introducing a C++ cross‑platform framework, abstracting business flows into UseCases, adding a routing mechanism, redesigning network request handling, and standardizing data passing to improve stability, reduce code size, and boost development productivity.

Five Essential AI Agent Workflow Design Patterns

This article introduces five core workflow design patterns for AI agents—Prompt Chaining, Routing, Parallelization, Orchestrator‑Worker, and Evaluator‑Optimizer—explaining their mechanics, concrete examples, suitable scenarios, and how they help build reliable, maintainable LLM‑driven systems.

Master Linux Network Configuration: From IP Settings to NIC Bonding

This guide walks through Linux network fundamentals, covering hostname, IP and netmask configuration, default gateway, DNS, connection status tools, domain resolution, using ifconfig and ip commands, permanent and temporary IP changes, renaming interfaces, routing, traceroute, nslookup, tcpdump packet capture, and bonding multiple NICs for redundancy or load‑balancing.

How to Implement Version-Based Routing and Gray Deployment in Microservices

This article explains how to design custom routing strategies for versioned microservices, including default master branch routing, unified version routing, and service‑specific routing, and shows how to apply these rules to achieve gray deployments with load‑balancing and seamless version isolation.

Exploring TanStack Router: Routing Modes, TypeScript Support, Preloading, and SWR

This article introduces TanStack Router for React, detailing its three routing modes—file‑based, virtual file, and code‑based—along with TypeScript support, preloading strategies, request waterfall optimization, and stale‑while‑revalidate caching, providing practical insights and links for further exploration.

Understanding API Gateways: Functions, Implementations, and a Spring Cloud Gateway Case Study

The article explains the rise of microservice architecture, why API gateways are indispensable, details their key functions such as routing, protocol translation, load balancing, caching, and security, compares major implementations like NGINX, Spring Cloud Gateway and Kong, and provides a Spring Cloud Gateway case study with code examples.

Why Build a Custom PHP Framework and Course Outline

This article explains the motivations for creating a custom PHP framework—such as meeting specific needs, learning opportunities, long‑term maintenance, performance optimization, ease of use, and security—while also outlining the course chapters covering MVC, routing, error handling, namespaces, singleton pattern, configuration, and database operations.

Building a Flexible React Management Backend with Custom Routing, Navigation, and Plugin System

This article describes how to create a feature‑rich, extensible React admin panel by implementing a convention‑based routing system, unified navigation with menu and draggable tabs, a Redux‑centric state management strategy, and a modular plugin architecture, while also integrating MUI, Next.js, and AI‑assisted code generation.

Deep Dive into Gin Framework: Compressed Radix Tree Routing and Request Processing

This article thoroughly examines the Gin Go web framework, focusing on its compressed radix tree routing mechanism, middleware handling, request lifecycle, and performance‑optimizing techniques, providing code examples and best‑practice recommendations for building high‑throughput backend services.

Master Spring Cloud Gateway: Routing, Metrics, Filters & Debugging Tips

This guide walks through Spring Cloud Gateway features—including marking exchanges as routed, enabling route metrics, configuring metadata, accessing Reactor Netty logs, troubleshooting with debug logging, disabling automatic route refresh, ordering global filters, using Actuator sub‑paths, and rewriting request parameters—complete with code snippets and configuration examples.

Why Fat-Tree, Dragonfly, and Torus Topologies Dominate High‑Performance Computing Networks

High‑performance computing demands ultra‑low latency and massive scale, prompting a shift from traditional CLOS designs to alternative topologies such as Fat‑Tree, Dragonfly, and Torus, each offering distinct trade‑offs in bandwidth, scalability, routing complexity, and cost‑effectiveness for modern data‑center and HPC environments.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.