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.

Cross‑Platform Architecture for WeChat Pay: Reducing Bugs and Boosting Productivity

The article describes how a C++‑based cross‑platform framework, combined with UseCase abstraction, routing mechanisms, unified network request handling, and strict data‑transfer rules, solved iOS/Android inconsistencies in WeChat Pay, cut code size by 45%, kept crash rates stable, and dramatically improved development efficiency.

Introduction to Egg.js: MVC Architecture, Routing, Controllers, Services, and Configuration

The article introduces Egg.js, a Node.js framework that implements the classic MVC pattern with clearly separated controllers, services, and views, explains routing, configuration, project layout, multi‑process architecture, scheduled tasks, and plugin system, and demonstrates building a Hacker News clone.

Understanding Flutter Routing and Navigation Management

Flutter’s navigation system uses a stateful Navigator widget that manages a stack of Route objects—such as OverlayRoute, TransitionRoute, ModalRoute, PageRoute, and PopupRoute—while an Overlay mirrors this stack with OverlayEntry widgets and the internal _Theatre component efficiently renders on‑stage and off‑stage pages.

Deep Dive into Spring Cloud Gateway: Architecture and Request Flow Explained

This article introduces Spring Cloud Gateway, outlines its core components such as routes, predicates, and filters, and provides a detailed step‑by‑step analysis of the request handling process—including code examples, filter chain execution, routing, and response writing—offering practical insights for backend developers.

Optimizing the Qingzhou Business Gateway: Performance Boosts, FFI Integration, and Routing Enhancements

This article details the architecture of the Qingzhou Business Gateway, identifies its granular control, data‑loss, and performance issues, and explains a series of optimizations—including FFI usage, table‑pool reuse, coroutine caching, radixtree routing, and connection‑pool tuning—that raise single‑node QPS to 80 k while preserving functional capabilities.

Android Routing Management: Activity, Fragment, and Hybrid Page Navigation

Android routing management separates native navigation—using Activity launch modes, the ActivityManagerService task stack, intents, and the Navigation component for fragments—from hybrid navigation, where Activities host WebView, Weex/React‑Native, or Flutter pages and communicate via intents, bridges, or platform channels to achieve flexible page routing.

Spring Cloud Gateway: Core Concepts, Configuration, Filters, Nacos Integration, and Dynamic Routing

This article explains why a gateway is essential in micro‑service architectures, introduces Spring Cloud Gateway’s core concepts such as routes, predicates and filters, shows step‑by‑step setup with Maven dependencies, demonstrates custom local and global filters, and details integration with Nacos for service discovery, load‑balancing, dynamic routing and global error handling.

Analysis of RocketMQ Routing Registration Mechanism, Its Defects, and the Impact of Network Partitions

This article examines RocketMQ's routing registration process, identifies its two main shortcomings—delayed failure detection and NameServer inconsistency—and explores how network partitions can cause prolonged data inconsistency, uneven message distribution, and partitioned consumption, while discussing the architectural trade‑offs behind these design choices.

Building a Scalable Flutter Cross‑Platform App: Architecture, Engine Sharing & Crash Management

This article explores the rapid rise of mobile cross‑platform solutions, explains why the Xueersi 1‑to‑1 team chose Flutter, and details their engineering practices—including project architecture, engine‑sharing strategies, unified routing, communication channels, and crash monitoring—while also looking ahead to future possibilities.

Cross‑Platform Architecture for WeChat Pay: Reducing Bugs, Improving Efficiency, and Managing Data Flow

The article describes how a C++‑based cross‑platform framework and a unified routing mechanism were introduced to solve iOS and Android inconsistencies in WeChat Pay, resulting in fewer bugs, 45% less code, faster feature delivery, and a more reliable data‑flow architecture.

How Our Reactive API Gateway Handles Routing, Rate Limiting, and Security in Microservices

This article explains the overall architecture of a reactive API gateway built on RxNetty, detailing its request dispatch, conditional routing for gray releases, API management, rate‑limiting and circuit‑breaking, security policies, and integrated monitoring and tracing within a microservices ecosystem.

Componentization Practices in NetEase News iOS Application

The NetEase News iOS team adopted a three‑layer componentization strategy—foundation, common, and business—standardizing code conventions, Git workflow, and CI‑driven reviews, encapsulating third‑party libraries, managing dependencies via injection and mediators, and distributing binary pods, which reduced the main project to a single file while expanding reusable components to over 250, achieving low coupling and high cohesion.

Spring Cloud Gateway: Principles and Practical Applications

This article explains the architecture, core concepts, routing mechanisms, configuration options, and extensibility of Spring Cloud Gateway, illustrating how it replaces Zuul with a non‑blocking Netty‑based solution and how to customize routes, predicates, filters, and dynamic updates for microservice environments.

Mastering Cisco Routing: When to Use Multiple Protocols, Access Lists, and Redistribution

This comprehensive guide explains when to employ multiple routing protocols, compares distance‑vector and link‑state routing, details access‑list types and creation commands, outlines route redistribution steps and commands, clarifies administrative distance, BGP fundamentals, metric concepts, and provides hardware compatibility notes for Cisco routers and switches.

Message Exchange Architectures and Routing Patterns

This article explains the fundamental message exchange architectures—such as publish‑subscribe, fan‑out, unidirectional and bidirectional streaming, unicast, broadcast, multicast, and anycast—and how they are used in systems like Redis, Kafka, RabbitMQ, ZeroMQ and IBM MQ to simplify communication between architects and developers.

Designing a High‑Performance Microservice Gateway: Routing, Load‑Balancing & Resilience

This article presents a comprehensive design guide for a microservice gateway, covering functional aspects such as routing, load‑balancing, aggregation, authentication, rate limiting, circuit breaking, and retries, as well as non‑functional concerns like high performance, high availability, scalability, extensibility, and observability.

Designing a High‑Performance Microservice API Gateway: Routing, Load Balancing, and Resilience

This article outlines a comprehensive design for a microservice API gateway, covering functional aspects such as routing, load‑balancing algorithms, service aggregation, authentication, traffic control, circuit breaking, and caching, as well as non‑functional concerns like high performance, high availability, scalability, statelessness, and monitoring.

Architectural Messaging Patterns: Exchange Architectures and Routing Methods

This article explains the fundamental messaging exchange architectures such as Pub‑Sub, Fanout, Unidirectional and Bidirectional streaming, and the routing patterns including Unicast, Broadcast, Multicast and Anycast, illustrating how they are used in systems like Redis, Kafka, RabbitMQ and IBM MQ to simplify communication between producers and consumers.

Mastering API Gateways with Spring Cloud Gateway: Routing, Rate Limiting, and Dynamic Configuration

This article explains the purpose and principles of API gateways in microservice architectures, introduces Spring Cloud Gateway's core concepts and workflow, and provides step‑by‑step examples for basic routing, weighted routing, rate limiting, and dynamic route management with complete code snippets.

Design of a Microservice API Gateway: Functional and Non‑Functional Considerations

This article outlines a comprehensive design for a microservice API gateway, covering functional aspects such as routing, load balancing, aggregation, authentication, rate limiting, circuit breaking, caching, retries, and logging, as well as non‑functional concerns like high performance, high availability, scalability, and monitoring, with practical implementation options and recommendations.

Configuring Linux Network: Files, Routing, IP/MAC Headers, and Common Connection Methods

This article explains how to configure Linux network interfaces, interpret configuration files, set up DNS and hosts, understand routing (static and dynamic), examine IP and MAC header structures, apply CIDR subnetting, differentiate private and public addresses, and choose common virtual networking methods such as bridge, NAT, and host‑only.

Understanding Network Switches: Definitions, Functions, Classifications, and Management Features

This article provides a comprehensive overview of network switches, covering their definition, MAC‑based operation, port expansion, classification by manageability and OSI layer, various management methods (Web, CLI, SNMP), product specifications, application scenarios, and key features such as VLAN, port isolation, aggregation, loop detection, ACL, ARP protection, DHCP services, and routing capabilities.

Understanding Dubbo’s Core Architecture: Service Registration, Invocation, Routing, and Thread Dispatch Mechanisms

This article explains Dubbo’s internal architecture, covering service registration and discovery with Zookeeper, RPC invocation details including load balancing, routing, and fault‑tolerance strategies, as well as its network protocol and thread‑dispatch mechanisms, providing practical insights for backend developers.

Creating an Express Project, Defining Routes, and Using next() for Control Transfer

This guide walks through installing Express and express‑generator, creating a new Express project with EJS templates, adding custom routes and route parameters, and using the next() function for middleware‑style control transfer, illustrating each step with concrete code snippets and command‑line examples.

Common Vue Development Pitfalls and Solutions for WeChat Mini Programs

This article compiles a comprehensive list of frequent Vue development challenges when building WeChat mini‑programs—covering routing parameters, cross‑origin requests, Axios encapsulation, UI library on‑demand loading, scoped CSS overrides, timer cleanup, responsive rem handling, Swiper integration, source‑map suppression, gzip compression, bundle analysis, lazy loading, keep‑alive caching, v‑model customization, mixins, and deployment considerations.

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

This article describes how WeChat Pay built a C++‑based cross‑platform framework that unifies iOS and Android payment flows, introduces a UseCase‑driven architecture with routing, refactors network request handling, and standardizes data transmission to cut code by 45%, boost reliability, and accelerate feature delivery.

Refactoring the Youzan Mobile Order Module: Architecture Improvements and Historical Code Transformation

The Youzan mobile order module was refactored by separating UI views, turning the monolithic fragment into a ViewModel‑driven architecture, introducing a dynamic router for flexible navigation, and modularizing card components with independent view models, resulting in lower coupling, easier extensions, and a clear gray‑release strategy.

How a C++ Cross‑Platform Framework Transformed WeChat Pay Client Development

The article explains how a C++‑based cross‑platform framework was built to unify iOS and Android implementations of WeChat Pay, reducing code size, improving crash stability, streamlining feature delivery, and addressing architectural issues such as inconsistent UI, poor scalability, and network request management.

Mastering Micro‑Frontend Routing: From Basics to Sandbox Isolation

This article explores the challenges of routing in micro‑frontend architectures, explains why correct parent‑child routing is essential, walks through progressively more sophisticated solutions—including shared routes, sandbox isolation, and message‑based synchronization—and finally presents a robust implementation that works across diverse scenarios.

Comprehensive Guide to Laravel Routing: Definitions, Parameters, Groups, Middleware, Prefixes, Sub‑domains, Namespaces, and Caching

This article provides an in‑depth tutorial on Laravel routing, covering basic route definitions, HTTP verbs, parameter handling, regex constraints, route naming, grouping, middleware, prefixes, sub‑domains, namespaces, and cache management, complete with code examples for each feature.

Comprehensive Laravel Routing Guide: Definitions, Parameters, Groups, Middleware, Prefixes, Subdomains, and Caching

This tutorial provides a detailed overview of Laravel routing, covering basic route definitions, HTTP verbs, parameter handling, route naming, grouping, middleware usage, URL prefixes, subdomain routing, namespace organization, accessing current route information, and cache management, all illustrated with clear code examples.

Designing a Cross‑Platform Architecture for WeChat Pay: From Problems to Solutions

The article analyzes the inconsistencies and maintenance challenges of separate iOS and Android implementations of WeChat Pay, then presents a C++‑based cross‑platform framework with UseCase‑driven business flow, routing, unified network handling and strict data passing, showing how these changes cut code size, keep crash rates stable and dramatically improve development productivity.

New Features and Improvements in Laravel 7

Laravel 7 builds on the 6.x release with a host of backend enhancements such as Laravel Sanctum (Airlock), faster route matching, custom Eloquent casts, Blade component tags, improved string helpers, a native HTTP client, CORS support, route‑model binding upgrades, queue and mail driver improvements, plus new artisan commands and various bug fixes.

How WeChat Pay Built a C++ Cross‑Platform Architecture to Boost Mobile Development Efficiency

This article explains the challenges of separate iOS and Android implementations in WeChat Pay, describes the design and benefits of a C++ cross‑platform framework, and shows how it improves code reuse, reduces bugs, accelerates feature delivery, and enhances overall software quality.

How WeChat Pay’s C++ Cross‑Platform Framework Solved Mobile Payment Challenges

WeChat Pay’s new C++ cross‑platform framework unifies iOS and Android payment flows, reducing code by 45%, cutting development time, improving crash stability, and introducing a routing mechanism, use‑case abstraction, and disciplined data handling to boost productivity and quality across mobile payment services.

Building a Cross‑Platform Payment Architecture with C++ for WeChat Pay

This article describes how a C++‑based cross‑platform framework was designed and implemented to unify iOS and Android payment flows in WeChat Pay, covering architectural motivation, business‑process abstraction, routing mechanisms, network request management, and standardized data transmission to improve quality and productivity.

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

This article explains the challenges of maintaining separate iOS and Android implementations for WeChat Pay, and details how a C++‑based cross‑platform framework—featuring abstracted business flows, a unified routing mechanism, managed network requests, and strict data‑transfer standards—dramatically improves code reuse, stability, and development productivity.

Intelligent Delivery System Architecture and Optimization at Meituan

Meituan’s intelligent delivery system integrates operations‑research, machine learning, and IoT across three layers—structural optimization, market adjustment, and real‑time matching—to plan smart areas, schedule riders, route orders, and dispatch efficiently, achieving measurable travel‑distance reductions and significant time savings.

Generating URLs in Laravel: Helpers, Named Routes, Signed URLs, and Default Parameters

This article explains how Laravel's URL helper functions—such as url, route, signedRoute, temporarySignedRoute, action, and URL::defaults—can be used to generate basic URLs, access the current request URL, create named and signed routes, validate signatures, and set default route parameters, with code examples throughout.

Gaode’s Unit‑Based Architecture: Scaling Services with Smart Routing and Data Sync

This article details Gaode's practical experience in building a unit‑based service architecture, covering challenges like request routing, unit isolation, and data synchronization, and explains the design choices, deployment strategies, performance metrics, and future optimization plans.

Practical Experience of Using Flutter for Cross‑Platform Mobile Development at Xueersi Online School

This article introduces the rapid growth of cross‑platform mobile solutions, explains why Flutter was chosen for a new project, details the engineering structure, resource and dependency management, mixed UI challenges, routing and communication mechanisms, and shares crash‑monitoring strategies and future outlooks.

Introducing gobox: A Lightweight Go Framework for HTTP Request Handling

This article introduces gobox, a self‑developed lightweight Go framework that treats each module as a box, explains its HTTP request handling architecture, key components such as System, Router, SimpleRouter, ActionContext, Controller, demonstrates graceful‑restart support with gracehttp, and provides a complete runnable example with sample curl outputs.

Integrating Flutter into iOS Apps: Mixed Development, Configuration, and Debugging Guide

This article provides a comprehensive step‑by‑step guide for integrating Flutter into iOS projects, covering required configuration files, script usage, AppDelegate modifications, MethodChannel communication, common pitfalls, debugging tools, performance monitoring, and routing strategies for both static and dynamic navigation.

Mastering Gobox: A Go Lightweight Framework for Seamless HTTP Routing

This article introduces Gobox, a self‑developed lightweight Go framework that treats each module as a reusable box, explains its HTTP request handling architecture—including System, Router, SimpleRouter, ActionContext, and Controller components—provides detailed code snippets, routing rules, and a complete example with graceful server restart support.

Design and Implementation of an SD-WAN Based Network Acceleration Platform

iQIYI’s SD‑WAN‑based Network Acceleration Platform builds an overlay over the existing underlay, separating business control, routing, and data‑forwarding layers to provide automated, policy‑driven acceleration for physical hosts, virtual machines and other services, while offering flexible inter‑node routing, unified management, and fault‑tolerant, QoS‑aware path selection.

Scaling Elasticsearch for Billions of Daily Events: Cluster Planning, Routing & Hot‑Warm Tips

This article explains how to handle a real‑time OLAP monitoring platform processing 10‑12 billion daily events and 400 billion yearly records by optimizing Elasticsearch 5.3.3 through cluster planning, storage strategies, index sharding, compression, hot‑warm architecture, routing, index templates, rollover, and cross‑cluster search, providing concrete configurations and code examples.

In‑Depth Source Code Analysis of React‑Router (v4/v5) and Its Core Components

This article provides a comprehensive walkthrough of React‑Router's internal architecture, detailing the implementation of key components such as Router, Route, Switch, Redirect, Prompt, Link, and withRouter, while explaining how history, matchPath, and path‑to‑regexp work together to enable client‑side routing in modern React applications.

WMRouter: An Android Routing Framework for Componentized Development

WMRouter is an open‑source Android routing framework, originating from Meituan Waimai, that provides flexible URI dispatch and a ServiceLoader inspired by Java SPI, enabling component‑based navigation, dynamic registration, interceptors, singleton management, and decoupled communication for hybrid, multi‑module, and instrumented app architectures.

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