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.

Comprehensive Guide to GetX in Flutter: State Management, Routing, Dependency Injection, and Practical Project Implementation

This article provides an in‑depth tutorial on using the GetX library for Flutter, covering its state‑management, routing, dependency‑injection features, code generation tricks, common pitfalls, and a step‑by‑step rewrite of a WanAndroid project with practical examples.

Configuring Static and Persistent Routes in Linux and Dual‑NIC Experiment

The article explains how to configure static and persistent routes on a Linux host using the route command, make them survive reboots via rc.local, sysconfig files, or sysctl, enable IP forwarding, and demonstrates a dual‑NIC experiment where a single static route lets the client access both external and multiple internal subnets.

Why Build a Custom PHP Framework and What It Can Achieve

This guide explains why creating a custom PHP framework is beneficial—addressing specific project needs, fostering learning, simplifying maintenance, improving performance, enhancing usability, and boosting security—while outlining the curriculum covering MVC, routing, error handling, namespaces, singleton pattern, configuration, and database abstraction.

How to Configure Static and Persistent Routes on Linux for Dual‑NIC Environments

This guide explains Linux routing commands for adding host and network routes, setting default gateways, deleting routes, making routes permanent via rc.local, sysconfig files, and IP forwarding, and demonstrates a dual‑NIC experiment using VMware and eNSP to connect internal and external networks with step‑by‑step verification.

Cross‑Platform Architecture for WeChat Pay: Reducing Code, Improving Quality and Productivity

This article describes how a C++‑based cross‑platform framework and a unified routing mechanism were built for WeChat Pay to eliminate platform‑specific bugs, streamline data flow, improve crash stability, cut code size by nearly 45%, and boost development productivity across iOS and Android.

Configure Linux Routing for Dual NICs: Temporary Commands & Permanent Solutions

This guide explains how to add and delete host and network routes, set default gateways, enable IP forwarding, configure permanent routes via rc.local, sysconfig files, and static‑routes, and demonstrates a dual‑NIC experiment using VMware and eNSP to achieve simultaneous internal and external network access.

Spring Cloud Gateway: Overview, Usage, Configuration, and Performance

This article introduces Spring Cloud Gateway as a high‑performance, reactive API gateway for microservice architectures, explains why it is chosen, details Maven and YAML configuration, demonstrates routing predicates and filters with code examples, and evaluates its performance impact compared to alternatives.

Vue3 Admin Template Without UI‑Framework Dependency – Features, Layout, Routing, State Management, and SVG Icon Builder

This article presents a lightweight, UI‑framework‑free Vue3 admin template, detailing its visual style configuration, core layout, permission‑based routing, TypeScript‑based state handling, custom AJAX request wrapper, and an SVG icon bundler, along with code examples and package information.

Master Computer Networking Basics with 38 Comprehensive Mind Maps

This article compiles 38 detailed mind maps covering the entire computer networking curriculum—from the TCP/IP stack and transport protocols to routing, switching, VLANs, IPv6, and security technologies—providing a systematic visual guide for learners to quickly grasp and retain core concepts.

How Computers Talk: From Cables to TCP/IP – A Step‑by‑Step Guide

This article walks through the fundamentals of computer networking, explaining how two PCs connect with a cable, how hubs and switches forward frames using MAC addresses, how IP addressing, subnets, ARP and routing tables enable multi‑network communication, and how TCP ensures reliable, ordered delivery with flow‑ and congestion‑control mechanisms.

Which Go Web Framework Reigns Supreme? A Deep Comparative Analysis

This article systematically compares the most popular Go web frameworks—Beego, Buffalo, Echo, Gin, Iris, and Revel—by evaluating their popularity, learning curve, routing capabilities, middleware ecosystems, server features, session handling, template engines, testing support, and other core functionalities, complete with concrete code examples.

Improving the MIND Multi‑Interest Recommendation Model with Capsule Initialization and Routing Enhancements

This article presents a comprehensive study of the MIND multi‑interest recommendation model, detailing its original architecture, identified shortcomings, and proposed enhancements—including capsule initialization via max‑min and Markov methods, routing simplifications, and training adjustments—along with experimental results and business impact assessments.

How Vivo Supercharged Dubbo Routing with Async Caching and Load‑Balancing Optimizations

This article analyzes the CPU‑heavy routing and load‑balancing modules of Dubbo in a large‑scale microservice cluster, identifies O(n) traversal as the root cause, and presents a step‑by‑step redesign—including disabling unused routers, caching route results with epoch validation, BitMap‑based intersection, and grouped routing—that reduces CPU usage by up to 27% and doubles TPS when provider instances exceed 2,000.

Unlocking the Secrets of Computer Networks: From Physical Links to Application Layers

This comprehensive guide walks through computer networking fundamentals, covering basic concepts, the OSI/TCP‑IP layers, addressing, routing protocols, transport mechanisms, application services, security techniques, wireless LAN technologies, and essential command‑line tools, all illustrated with clear diagrams and examples.

How Vivo Supercharged Dubbo Routing with Async Caching and Load‑Balancing Tweaks

This article details how Vivo identified heavy CPU usage in Dubbo's routing and load‑balancing modules, applied asynchronous processing, cache‑based routing, disabled unused routers, and introduced grouping strategies, resulting in over 100% TPS gains and significant CPU reductions for large service clusters.

Master Flutter Routing with Mixins: Modular, Interceptable, Scalable

This article explores Flutter's routing system, classifying route types, demonstrating component, named, and generated routes, and introduces a mixin‑based modular router architecture that enables decoupled module registration, route interception, URL‑based navigation, and annotation‑driven code generation to improve maintainability and scalability.

What Makes Switches Tick? Understanding Layer 2, 3, and 4 Switching

This article explains how Ethernet switches learn MAC addresses, forward frames, prevent loops, and differ across store‑and‑forward, cut‑through, and multi‑layer designs, while also covering routing fundamentals, layer‑3 switching operation, and the principles of layer‑4 load‑balancing switches.

Cross‑Platform Architecture for WeChat Pay: Reducing Code, Improving Quality and Productivity

This article explains how WeChat Pay solved the fragmented iOS/Android implementations by building a C++‑based cross‑platform framework, introducing UseCase‑driven flow abstraction, a unified routing mechanism, disciplined network request handling, and standardized data passing, resulting in up to 45% code reduction and faster feature delivery.

Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling

This article introduces Spring Cloud Gateway as a unified entry for microservices, explains its core functions, advantages over Zuul, Maven dependencies, YAML routing configuration, detailed route components, filter types with code examples, custom global filters, execution order, and CORS solutions for backend development.

Service Gateway Explained: Routing, Filters, Benefits, and Java‑Based Technical Stack

This article explains what a service gateway is—combining routing and filters—covers why it is needed for centralized cross‑cutting concerns such as authentication, rate limiting and monitoring, describes the architecture and request flow with gateway, open‑service and microservices, and recommends a Java‑based stack including Spring Boot, Netflix Zuul, Consul, JWT, Prometheus, Grafana, ELK and JMeter.

Cross‑Platform Architecture for WeChat Pay: Reducing Bugs and Boosting Productivity with a C++ Framework

The article describes how a C++‑based cross‑platform framework was built to unify iOS and Android implementations of WeChat Pay, addressing bugs, scalability, quality assurance, routing, network request management, and data‑flow discipline, ultimately improving development efficiency and user experience.

Hands‑On Evaluation of Alibaba Cloud’s MSE‑Higress Cloud‑Native Gateway

This article walks through a complete hands‑on assessment of Alibaba Cloud’s MSE‑Higress cloud‑native gateway, covering purchase, service and route creation, rewrite policies, rate‑limiting tests, EDAS microservice integration (HTTP, Dubbo, gRPC), canary release configuration, plugin market comparison, and a set of practical improvement suggestions.

TheRouter-iOS: A Lightweight Routing Middleware for Mobile Apps

TheRouter-iOS is a lightweight, annotation‑driven routing middleware that brings Java‑style dependency injection, hard‑code elimination, dynamic redirection, interceptors, and flexible navigation to iOS, offering a unified solution for complex mobile architectures and seamless integration with Android and web components.

How Zuul Works Under the Hood: Routing, Handlers, and Filters Explained

This article dissects the inner workings of Netflix’s Zuul gateway, contrasting its servlet‑based blocking model with Spring Cloud Gateway’s reactive approach, and walks through route collection, handler registration, request processing, and filter loading, complete with key Java code examples.

Master Computer Networking: From Basic Concepts to Advanced Protocols Explained

This comprehensive guide covers fundamental networking concepts, including link, node, protocol, service, PDU layers, network topologies, TCP/IP architecture, routing algorithms, security mechanisms, and practical commands, providing a complete overview for students and professionals seeking to deepen their understanding of modern computer networks.

Mastering Dynamic Routing: BGP, IGPs, and Protocol Mechanics Explained

This article provides a comprehensive overview of dynamic routing protocols, detailing their basic operation, classification, common implementations such as RIP, OSPF, and BGP, performance metrics, BGP message structures, path attributes, route selection rules, and advanced concepts like route reflectors, multiprotocol extensions, and BGP‑LS for topology extraction.

SSR Migration and Routing Configuration for Taobao Car Detail Pages

The team merged Taobao car detail page SSR and CSR into a single repository by adding an "ssr": true flag, aligning routing across src/pages, app.json, and render functions, ensuring PAGE_NAME matches app.json names, mocking browser globals for Node builds, moving metas and scripts to documents, and dynamically overriding the public path to load pre‑release assets, thereby cutting double maintenance and simplifying deployment.

Vue vs React: Programming Styles, View Syntax, Components, Routing, State Management, Reactivity and Lifecycle Comparison

This article provides a comprehensive technical comparison between Vue and React, covering their programming and view styles, component models, routing solutions, state‑management libraries, basic feature differences, reactivity mechanisms, lifecycle hooks and side‑effect handling, with illustrative code examples.

Common Routing Loop Pitfalls and Mitigation Strategies in Enterprise Networks

This article examines three real‑world routing loop incidents caused by static‑route misconfiguration, missing passive‑interface settings in OSPF, and improper bidirectional redistribution, and provides detailed analysis and practical recommendations to prevent such loops in enterprise network operations.

Location-Based Services (LBS) in On‑Site Fulfillment: Geofencing, Order Allocation, Routing and Autonomous Scheduling

This article explains how a location‑based service platform uses geofencing, R‑tree indexing, ray‑casting algorithms, and Elasticsearch GEO queries to determine service eligibility, allocate on‑site engineers, plan routes, and enable autonomous order scheduling for a C2B recycling business.

Deep Dive into React Router v6 Architecture and Core Implementations

This article provides an in‑depth technical overview of React Router v6, covering client‑side routing modes (Hash and History), the library’s file structure, core architecture, key components such as BrowserRouter, Route, useRoutes, and common hooks like useLocation, useNavigate, useParams, illustrating their implementations with code snippets and diagrams.

Understanding Next.js 13: Turbopack, App Directory Routing, and React Server Components

This article explains the major changes introduced in Next.js 13—including the new Turbopack bundler, the file‑based app directory routing system, React Server Components, data fetching strategies, and updated utilities such as next/image and @next/font—highlighting their performance benefits and migration considerations for modern frontend development.

Building a Management Backend with Ant Design 5, React 18, Vite, and TypeScript

This article explains why Ant Design 5 is preferred over MUI, then walks through configuring Vite and tsconfig, creating login and home pages, designing a recursive routing system, implementing lazy loading, menu generation, route listening hooks, tab management with KeepAlive, theme customization, and dynamic routing with React Router 6.4.3 for a full‑featured admin dashboard.

Advanced Android Componentization: Component Splitting, Multi‑UI Strategies, KV Storage, and Routing Best Practices

This article explains how to split Android components based on business functionality, handle strong and weak component dependencies, configure multiple UI themes, manage key‑value storage safely with MMKV‑KTX, and use routing frameworks judiciously to keep modular apps maintainable and scalable.

How to Choose the Right Components When Building a Go Microservice Framework

This article walks through practical trade‑offs in designing a Go microservice framework, covering protocol choices, data transport, network handling, serialization methods, service registry options, routing algorithms, and rate‑limiting strategies, while highlighting real‑world implementation details and pitfalls.

Why Sub‑Application Routes Do Not Update When the Main Application Switches Routes in Qiankun and How to Fix It

This article explains the issue where a Qiankun micro‑frontend main app changes its route but the child app's route does not update, analyzes the underlying cause related to hashchange events, and provides two practical solutions: manually dispatching a hashchange event or replacing Link tags with anchor tags.

Comprehensive Guide to API Gateway Concepts, Design, Types, and Best Practices

This article provides an in‑depth overview of API gateways, covering basic concepts, design principles, functional requirements, traffic vs. business gateways, comparisons of popular implementations such as OpenResty, Kong, Zuul, and Spring Cloud Gateway, and practical recommendations for high performance, availability, and scalability in microservice architectures.

Architecture and Routing Rules of an Online Customer Service System

The article describes an online customer service platform that guides users from robot chat to human agents and satisfaction rating, detailing its visitor‑side interfaces, multi‑console backend architecture, service‑hour schedules, channel‑based routing, queue‑overflow handling, reliable IM messaging with retry logic, SOP knowledge‑base assistance, and session‑termination policies.

Spring Cloud Tencent: An Overview of Its Features and Architecture

Spring Cloud Tencent integrates Tencent's Polaris platform to provide a comprehensive, out‑of‑the‑box microservice solution for Spring Boot and Spring Cloud users, covering service registration, configuration management, routing, rate limiting, circuit breaking, and proximity routing, while emphasizing low‑cost, high‑efficiency, and stable architecture for Java enterprises.

Comprehensive Guide to the React Ecosystem: Tools, Libraries, and Best Practices

This article provides an extensive overview of the modern React ecosystem, covering project setup options, state management, routing, styling, component libraries, animation, data fetching, testing, type checking, internationalization, and many other tools and best‑practice recommendations for frontend developers.

Multi-Active Deployment Modes, Routing Rules, and Unitization in Data Center Architecture

The article explains multi‑active deployment modes—same‑city, cross‑city, and cross‑city multi‑active—along with routing rules (random, user‑ID, region) and unitization, describing how sharding IDs map traffic to central or unit data centers, and detailing middleware solutions for storage, messaging, SOA, and Snowflake ID generation to achieve scalable, highly available architecture.

Progressive Optimization Journey of a WeChat Mini Program

This article chronicles the step‑by‑step optimization of a WeChat mini‑program, covering native stack choices, ES6+ adoption, modular architecture, versioning, code formatting, request abstraction, UI component migration, ESLint, unit testing, routing, environment handling, Gulp workflow, CSS variables, and sub‑package strategies.

Design and Implementation of a Non‑Intrusive Page Network Request Preloading Framework for Android

The article presents a non‑intrusive Android framework that preloads page network requests in parallel with page initialization, describing its three‑part architecture, routing and network interceptors, code implementation, and performance gains that can reduce overall page load time by up to 100 ms.

Comprehensive Overview of Computer Network Architecture and Protocols

This article provides a detailed introduction to computer networking, covering network classifications, the OSI and TCP/IP layer models, physical, data link, network, transport, and application layer protocols such as Ethernet, IP, TCP, UDP, DNS, DHCP, and HTTP, along with performance metrics, routing algorithms, and connection management mechanisms.

Envoy Outbound Request Flow: Source‑Code Analysis of Receiving, Sending, and Responding

This article provides a detailed source‑code walkthrough of Envoy's outbound request processing, explaining how the proxy receives client data, parses HTTP requests, selects routes and clusters, forwards traffic upstream, handles retries and shadowing, and finally returns responses to downstream clients.

Micro Frontend Architecture and Implementation with Qiankun: Principles, Practices, and Advanced Topics

This comprehensive guide explains micro‑frontend concepts, the core principles of independent development, deployment and runtime, compares various implementation options, and provides detailed step‑by‑step instructions for using Qiankun—including registration, lifecycle hooks, routing strategies, sandbox isolation, CSS scoping, resource sharing, inter‑app communication, memory management, and deployment workflows—targeted at modern frontend engineers.

Building a C++ Cross‑Platform Framework for WeChat Pay: Architecture, Routing, and Quality Assurance

This article details how a C++‑based cross‑platform framework was designed for WeChat Pay to unify iOS and Android implementations, improve scalability, quality assurance, and developer productivity through use‑case abstraction, a routing mechanism, and refined network and data handling.

Understanding Linux Routing for Container and Cloud‑Native Networking

This article explains the fundamentals of Linux routing, why routing is required for containers and overlay networks, how the kernel selects routes when sending and receiving packets, and provides practical commands and code examples for configuring and testing routing tables in cloud‑native environments.

Huawei DSVPN Solution: Architecture, Configuration Steps, and Validation

This article explains the limitations of traditional IPSec VPNs for growing enterprises, introduces Huawei's DSVPN dynamic VPN technology, provides detailed configuration procedures for Hub and Spoke devices—including interface, routing, firewall, and security policies—and demonstrates verification of end‑to‑end connectivity.

Understanding Android App Routing: Concepts, Requirements, and Implementation

This article explains the concept of routing in Android applications, discusses why third‑party routing frameworks are often needed for large, componentized apps, outlines the essential features of a routing framework, and details the implementation techniques such as annotation processing, AOP injection, and service routing with concrete code examples.

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