Service Unit Switching for Real-Time Traffic Distribution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing service networks face challenges in real-time traffic switching due to DNS caching, which affects the stability and efficiency of disaster tolerance and capacity dispatching in service systems.
Innovation Solution
A method and system for service unit switching that involves determining a target service unit and triggering it to publish routing information based on configuration information of a first service unit, allowing the target unit to replace the first unit in providing traffic distribution services for load balancing tasks, thereby bypassing DNS caching limitations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If DNS domain name resolution is used to switch service units, then disaster tolerance switching and capacity dispatching can be implemented, but real-time switching performance deteriorates due to DNS caching
Solution Approach 1:
The patent introduces an intermediary mechanism (routing information publication system) between the service unit and clients, allowing routing changes to be propagated without relying on DNS caching. This intermediary layer enables real-time switching by mediating the communication between service unit status changes and client routing updates.
Solution Approach 2:
The patent changes the parameter being switched from domain names (DNS level) to routing information (network level). By changing routing parameters directly rather than domain name parameters, the system achieves real-time switching performance while maintaining disaster tolerance capabilities.
2Productivity
If DNS caching is used to improve resolution efficiency, then query speed increases, but switching flexibility and real-time performance deteriorate
Solution Approach 1:
The patent introduces an intermediary routing information publication mechanism that sits between the DNS resolution layer and the actual service routing. This intermediary allows DNS caching to maintain its efficiency benefits while enabling real-time switching flexibility through a separate routing information propagation channel.
Solution Approach 2:
The patent segments the domain name resolution function from the service routing function. DNS caching handles the resolution efficiency aspect while a separate routing information publication system handles the switching flexibility aspect, allowing both requirements to be satisfied independently.
Data Source
AI summary
A method, a system, and a device for switching a service unit are provided. The method includes: determining a target service unit; and triggering the target service unit to publish first routing information according to configuration information of a first service unit for a first load balancing task, so as to replace the first service unit to provide a traffic distribution service for the first load balancing task. When the entire service network needs to perform disaster tolerance switching and capacity dispatching, the method provided in the embodiments of this application can effectively improve the real-time performance of traffic switching, and avoid the problem of relatively poor real-time performance of traffic switching caused by the influence of DNS cache in the existing technologies.


