CN110069337A - A kind of method and apparatus that disaster tolerance degrades - Google Patents

A kind of method and apparatus that disaster tolerance degrades Download PDF

Info

Publication number
CN110069337A
CN110069337A CN201810067212.XA CN201810067212A CN110069337A CN 110069337 A CN110069337 A CN 110069337A CN 201810067212 A CN201810067212 A CN 201810067212A CN 110069337 A CN110069337 A CN 110069337A
Authority
CN
China
Prior art keywords
time
thread
service
disaster tolerance
thread pool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810067212.XA
Other languages
Chinese (zh)
Inventor
杜广东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810067212.XA priority Critical patent/CN110069337A/en
Publication of CN110069337A publication Critical patent/CN110069337A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses the method and apparatus that a kind of disaster tolerance degrades, and are related to field of computer technology.One specific embodiment of this method includes: the call request received to service is relied on, the identification information of thread pool corresponding with the service of dependence is obtained, to determine thread pool;The recalls information in current predetermined amount of time to thread in thread pool is obtained, when recalls information meets predetermined degraded conditions, is degraded based on scheduled degraded mode to service execution disaster tolerance is relied on.The embodiment relies on thread pool isolation mech isolation test, improve the redundancy ability of system, it avoids because single dependence service is unavailable, the case where caused whole system is unavailable or even delay machine, in addition, ensure that the automatic processing of system based on the automatic disaster tolerance mechanism to degrade and elasticity is restored to the service that relies on, the quick-reaction capability of system is improved, while reducing human intervention.

Description

A kind of method and apparatus that disaster tolerance degrades
Technical field
The present invention relates to the method and apparatus that field of computer technology more particularly to a kind of disaster tolerance degrade.
Background technique
With the high speed development of internet, more and more systems use distributed structure/architecture.In distributed structure/architecture, rely on There are two types of: system between the dependence of some Common Components (such as mysql, ES, Redis, MQ etc.), system and system according to Rely, these stability relied on are affected to system operation.When not available situation, such as network occur in component or service Connection is slow, resource is busy, may cause the not available situation of system.Therefore, how to avoid relying on component or service is unavailable Cause to improve the redundancy ability of system under the influence to system, especially high concurrent scene, just seem increasingly important.
In the prior art, used disaster tolerance degradation schemes mainly include:
(1) artificial adjustment: when the component or unavailable service that discovery system is relied on, disaster tolerance switch is opened manually, returns Default value is returned to realize to rely on and degrade;When artificial discovery, which relies on service, can be used, artificial closing disaster tolerance switch is still relied on;
(2) it eliminates abnormal: occurring abnormal situation when calling external service return value, system would generally destroy automatically The exception, and return to default value and realize service degradation;
(3) it is arranged that time-out time, service availability, number of concurrent realizes that system degrades automatically in the unit time.
In the implementation of the present invention, at least there are the following problems for inventor's discovery prior art:
(1) for artificial adjustment mode, disaster tolerance processing depends on manpower, and efficiency is lower;In addition, in the feelings of high concurrent Under condition, may cause Thread Count moment for being waited for increases severely, and system service pressure is excessive or even the not available feelings of system Condition;
(2) for the mode of calling external service exception, exist and capture external service exception but still it is called The case where, the system of may cause calls service time-out and occupies a large amount of thread resources, and then influences the concurrency of whole system And response speed, it may cause system failure situation when serious;
(3) for setting time-out time, service availability, in the unit time number of concurrent mode, and be not implemented system money The isolation in source, thus when one of service is there are when high concurrent access, possible moment takes system resource, and then influences other The normal operation of service may cause system unavailable or even delay machine situation when serious because of resource contention;
(4) all of above mode, cannot achieve the automatic detection and automatic recovery of disaster tolerance degradation, thus need enterprise Higher human cost or maintenance cost are put into, Enterprise Resources Planning is unfavorable for.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus that disaster tolerance degrades, it is at least able to solve existing skill The resource that service is relied in art is not independent, causes system disaster tolerance ability small, and cannot achieve automatic degrade and show with what is restored automatically As.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of method that disaster tolerance degrades, packet are provided It includes: receiving the call request to service is relied on, the identification information of thread pool corresponding with the dependence service is obtained, to determine State thread pool;The recalls information in current predetermined amount of time to thread in the thread pool is obtained, when the recalls information meets When predetermined degraded conditions, degraded based on scheduled degraded mode to the dependence service execution disaster tolerance.
Optionally, the recalls information obtained in current predetermined amount of time to thread in the thread pool, when the tune It include: to obtain to dependence service execution disaster tolerance degradation based on scheduled degraded mode when meeting predetermined degraded conditions with information The calling amount in the current predetermined amount of time to thread in the thread pool is taken, is seted the tone in advance when the calling amount is greater than or equal to When dosage threshold value, degraded based on scheduled concurrency degraded mode to the dependence service execution disaster tolerance.
Optionally, the recalls information obtained in current predetermined amount of time to thread in the thread pool, when the tune It include: to obtain to dependence service execution disaster tolerance degradation based on scheduled degraded mode when meeting predetermined degraded conditions with information The calling availability in the current predetermined amount of time to thread in the thread pool is taken, is made a reservation for when the calling availability is less than When availability threshold value, degraded based on scheduled availability degraded mode to the dependence service execution disaster tolerance.
It optionally, include: building to the recalls information of thread in the thread pool in the current predetermined amount of time of statistics Time pane counts the recalls information in the time pane to thread in the thread pool, determines the current predetermined time The quantity of the time pane in section, obtains the recalls information in the current predetermined amount of time to thread in the thread pool.
Optionally, after being degraded based on scheduled degraded mode to the dependence service execution disaster tolerance, further includes: work as inspection It measures and degrades the time when reaching predetermined degradation time threshold, terminate the disaster tolerance and degrade, dependences is called to service.
To achieve the above object, according to another aspect of an embodiment of the present invention, a kind of device that disaster tolerance degrades, packet are provided Include: request receiving module obtains thread pool corresponding with the dependence service for receiving the call request to service is relied on Identification information, with the determination thread pool;Degradation execution module, for obtaining in current predetermined amount of time in the thread pool The recalls information of thread, when the recalls information meets predetermined degraded conditions, based on scheduled degraded mode to the dependence Service execution disaster tolerance degrades.
Optionally, the degradation execution module, is used for: obtaining in the current predetermined amount of time to the thread pool interior lines The calling amount of journey is based on scheduled concurrency degraded mode pair when the calling amount is greater than or equal to predetermined calling amount threshold value The dependence service execution disaster tolerance degrades.
Optionally, the degradation execution module, is used for: obtaining in the current predetermined amount of time to the thread pool threads Calling availability, when the calling availability be less than predetermined availability threshold value when, be based on scheduled availability degraded mode pair The dependence service execution disaster tolerance degrades.
Optionally, the degradation execution module, is used for: building time pane counts in the time pane to the line The recalls information of thread in Cheng Chi determines the quantity of the time pane in the current predetermined amount of time, obtains described current To the recalls information of thread in the thread pool in predetermined amount of time.
Optionally, further include service calling module, be used for: when detect degrade the time reach predetermined degradation time threshold When, terminate the disaster tolerance and degrade, calls the dependence service.
To achieve the above object, according to an embodiment of the present invention to be set in another aspect, providing the electronics that a kind of disaster tolerance degrades It is standby.
The electronic equipment of the embodiment of the present invention includes: one or more processors;Storage device, for storing one or more A program, when one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the method that any of the above-described disaster tolerance degrades.
To achieve the above object, according to an embodiment of the present invention in another aspect, provide a kind of computer-readable medium, On be stored with computer program, the method that any of the above-described disaster tolerance degrades is realized when described program is executed by processor.
The scheme of the offer according to the present invention, one embodiment in foregoing invention have the following advantages that or beneficial to effects Fruit: relying on thread pool isolation mech isolation test, improve the redundancy ability of system, avoids because single dependence service is unavailable, is led The case where causing unavailable whole system or even delay machine, in addition, based on the automatic disaster tolerance to degrade and elasticity is restored to the service that relies on Mechanism ensure that the automatic processing of system, improve the quick-reaction capability of system, while reduce human intervention.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment With explanation.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the main flow schematic diagram for the method that a kind of disaster tolerance according to an embodiment of the present invention degrades;
Fig. 2 is a specific flow diagram for calling the service of dependence;
Fig. 3 is the flow diagram for the method that a kind of optional disaster tolerance according to an embodiment of the present invention degrades;
Fig. 4 is the flow diagram for the method that another optional disaster tolerance according to an embodiment of the present invention degrades;
Fig. 5 is the flow diagram for the method that another optional disaster tolerance according to an embodiment of the present invention degrades;
Fig. 6 is the flow diagram for the method that another optional disaster tolerance according to an embodiment of the present invention degrades;
Fig. 7 is the setting schematic diagram of time window as unit of time pane, over time;
Fig. 8 is the flow diagram for the method that another optional disaster tolerance according to an embodiment of the present invention degrades;
Fig. 9 is the flow diagram for the method that according to an embodiment of the present invention one disaster tolerance specifically degrades;
Figure 10 is the main modular schematic diagram for the device that a kind of disaster tolerance according to an embodiment of the present invention degrades;
Figure 11 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Figure 12 is adapted for for realizing that the mobile device of the embodiment of the present invention or the structure of the computer system of server are shown It is intended to.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
It should be noted that the embodiment of the present invention is applicable to distributed structure/architecture, can be applicable between other systems Or the case where there are software view dependences between serviced component.For convenient for Unify legislation, for the service relied on, example Such as there is the called system for calling dependence, called component, the present invention is described to rely on service.
In addition, provided disaster tolerance refers to for computer field in strange land relatively far apart, establish two sets or It is cover identical IT (Information Technology, the information technology) system of function more, healthy shape can be carried out from each other State monitoring and function switch, when system stops working because of unexpected (such as fire, earthquake) at one, whole system application can be cut Another place is changed to, the system function is allowed to continue to work normally.
Referring to Fig. 1, thus it is shown that a kind of broad flow diagram for the method that disaster tolerance degrades provided in an embodiment of the present invention, including Following steps:
S101: receiving the call request to service is relied on, and obtains the identification information of thread pool corresponding with the service of dependence, with Determine thread pool.
S102: obtaining the recalls information in current predetermined amount of time to thread in thread pool, when recalls information meet it is predetermined When degraded conditions, degraded based on scheduled degraded mode to service execution disaster tolerance is relied on.
In above embodiment, for step S101, to reduce influences of the different dependences for system, avoid because some according to Bad exception causes whole system unavailable, can for it is each rely on distribute corresponding thread pool (position of storage thread, wherein Thread thread is the minimum unit that operating system is able to carry out operation scheduling) so that relying on distributed line for different It is isolated in Cheng Chicong resource, i.e. realization thread pool resource isolation.In addition, the size of the thread pool can be fixed, It can be and corresponding configuration is carried out according to the operating pressure for the service that relies on.
For thread pool, its parameter can be configured to initialize building thread pool, the parameter include but is not limited to be thread Thread Count, the thread pool in pond correspond to queue size, thread pool Key, thread pool grouping.Specifically, can by upstream (for example, Configuration system) it is configured, with initial configuration parameter object.
Further, thread pool can be stored in Concurrent Hash Map (storage in the form of key-value Data structure) in, to be managed by way of Map key-value pair (key-value) to all thread pools, wherein key assignments is line The unique identification information of Cheng Chi key and thread pool, for distinguishing thread pool corresponding to different dependences.
Due to each dependence service have corresponding thread pool, when receive to rely on service business tune When with request, thread pool corresponding with the service of dependence can be obtained from Map object according to the unique identification information of thread pool.
In addition, relying on the corresponding relationship of service with thread pool, one-to-one, i.e., one dependence service one line of distribution can be Cheng Chi, such as rely on service A --- thread pool 1;A thread pools can also be distributed with many-one, i.e., multiple dependence services, such as It relying on service B, relies on service C --- thread pool 2, can also be many-one, i.e., one dependence service is assigned multiple thread pools, But a thread pool can only once be used by relying on service, for example, relying on service D --- thread pool 3, thread pool 4, only thread pool 3 completely it is unavailable when, thread pool 4 could be used.
For step S102, after determining thread pool, when thread pool has available thread, line can be distributed by thread pool Journey is to execute to the calling for relying on service;But when meeting predetermined degraded conditions for the recalls information of the dependence service, lead to line When Cheng Chiwu can distribute thread, for reduce call the service time-out influence system response time the case where, at this time can to this according to Rely service execution disaster tolerance to degrade tactful, realizes service degradation.
Wherein, recalls information include but is not limited to be calling amount, call availability, can also be and call exception information etc.; Corresponding degraded mode include but is not limited to be to reduce calling amount, close partial service function, it is abnormal to be also based on calling Rate the data targets such as rejects the service request and is extended.
In addition, can specifically be set by system using either synchronously or asynchronously calling to the method for calling for the service that relies on It is fixed, it can also be configured according to user's use habit etc..Wherein, the tune for referring to that two or more are changed over time is synchronized Keep certain relativeness in change procedure, such as service A just can be with only after the operation result for receiving service B Operation;Asynchronous to refer to after asynchronous procedure call issues, calling system is not immediately available as a result, for example, service A can be with The operation result of service B is received in the process of running, and the operation result for servicing B is added in operating parameter to continue to transport Row.This relies on the component serviced after processing is completed to actual treatment, can notify to rely on clothes by state, notice and readjustment Business.While calling, the resource isolation based on thread pool can be separated service logic with main thread is called.
It is specifically described below, shown in Figure 2:
(1) synchronization call Redis is serviced: the calling encapsulation serviced Redis is realized relying on code section, using thread Resource isolation is realized in pond, realizes that main thread is isolated with access Redis service thread.
(2) asynchronous call customer center service: rely on user service calling logic code, using thread pool realize resource every From realization main thread and the thread for accessing customer center service are isolated.
(3) synchronization call order placement service: system service relies on order placement service and can use when order placement service is unavailable Time-out time configuration, availability configuration, calling sum configuration etc., quickly return to malloc failure malloc information to user terminal.
Method provided by above-described embodiment provides a kind of thinking of resource isolation, by different dependence distribution Different thread pools is to realize the isolation for relying on and servicing.Due to distributing corresponding thread pool for each dependence service, thus i.e. When making that thread pool is without available thread under high concurrent scene, based on set resource isolation scheme, other clothes will not be seized The thread resources of business realize being independent of each other for the service of dependence, improve the redundancy ability of system.
Referring to Fig. 3, the method flow schematic diagram that a kind of optional disaster tolerance according to an embodiment of the present invention degrades, packet are shown Include following steps:
S301: receiving the call request to service is relied on, and obtains the identification information of thread pool corresponding with the service of dependence, with Determine thread pool.
S302: obtaining the calling amount in current predetermined amount of time to thread in thread pool, when calling amount is greater than or equal in advance When dosage threshold value of setting the tone, degraded based on scheduled concurrency degraded mode to service execution disaster tolerance is relied on.
In above embodiment, step is the description that S301 can be found in step S101 shown in Fig. 1, and details are not described herein.
In above embodiment, for step S302, the number of threads in per thread pond is fixed, that is, is indicated for the dependence There is the calling of service certain number of concurrent to limit;Wherein, number of concurrent indicates the same time for relying on the access number serviced Or call quantity.
When the dependence service is not in abnormality, call operation can be executed.It is called for each, result has tune With failure and successful situation is called, for convenient for subsequent query, these call result situations have preservation, is convenient for subsequent disaster tolerance Downgrade processing.
It can be based on current calling to learn whether the service of dependence can be used for currently received call request Situation judged, specifically, total calling amount, wherein the successful amount+malloc failure malloc amount of calling amount=calling.If calling amount Less than scheduled calling amount (i.e. concurrency) threshold value, then allow to continue the calling to the dependence service;Otherwise, call default and Hair amount down method returns to default value, for example, returning to network failure information.
For example, the service for relying on A is called, and the highest concurrency that A is supported is 100, therefore, when calling amount is more than 100 When, the system where may cause A goes wrong, and needs to be arranged concurrency degradation at this time, is reached with the calling as service A It when the maximum concurrency, does not allow for receiving new call request, or be not processed after receiving new call request, to this Secondary call request executes down method.
Method provided by above-described embodiment provides a kind of concrete thought to degrade to dependence service execution disaster tolerance, leads to The current calling amount that obtains is crossed, is degraded according to concurrency degraded mode to service execution disaster tolerance is relied on, realizes that disaster tolerance degradation strategy can Configuration feature.
Referring to fig. 4, the method flow schematic diagram that another optional disaster tolerance according to an embodiment of the present invention degrades is shown, Include the following steps:
S401: receiving the call request to service is relied on, and obtains the identification information of thread pool corresponding with the service of dependence, with Determine thread pool.
S402: obtaining the calling availability in current predetermined amount of time to thread in thread pool, when calling availability is less than When predetermined availability threshold value, degraded based on scheduled availability degraded mode to service execution disaster tolerance is relied on.
In above embodiment, step is the description that S401 can be found in step S101 shown in Fig. 1, and details are not described herein.
In above embodiment, for step S402, for relying on the case where calling serviced has unsuccessfully, lost when calling When losing, corresponding thread is in idle available state, and receives the next call request of processing.Above-mentioned concurrency is removed as a result, Outside degraded mode, the calling availability in current predetermined amount of time to thread pool threads can also be obtained, to dependence service execution Disaster tolerance degrades, wherein calls availability=(calling number of success/calling amount) * 100%.
Specifically, for acquired calling availability, if it is greater than or equal to the availability threshold value that is configured, then it represents that There is available thread in thread pool;Otherwise, then it represents that there is part thread to be in the state that can not be worked in thread pool, after avoiding Continuous malloc failure malloc causes the situation of system congestion, can execute the mode of availability degradation at this time, for example, can be used as service B When rate reaches 80%, just no longer receive new call request, to reduce system service pressure, avoids system crash, or to line Journey is adjusted accordingly, is modified, so that its availability reaches predetermined availability threshold value, meets subsequent calls demand.
For example, calling the service for relying on B, can preset the available highest availability of B institute is 95%, i.e. has in 100 threads 95 are called successfully, remaining 5 malloc failure mallocs.Therefore, if current calling rate only has 80%, that is, thread corresponding with B is indicated 20 threads of Chi Zhongyou are in the state that can not work, to avoid systemic breakdown, at this time can to this 20 unavailable threads into Row amendment operation.
Method provided by above-described embodiment provides another concrete thought to degrade to dependence service execution disaster tolerance, It is obtained by statistics calling amount and calls availability, degraded according to availability degraded mode to service execution disaster tolerance is relied on, realize and hold The tactful configurable functionality of calamity degradation.
Referring to Fig. 5, the method flow schematic diagram that another optional disaster tolerance according to an embodiment of the present invention degrades is shown, Include the following steps:
S501: receiving the call request to service is relied on, and obtains the identification information of thread pool corresponding with the service of dependence, with Determine thread pool.
S502: the recalls information in current predetermined amount of time to thread in thread pool is counted;Wherein, recalls information is at least wrapped It includes calling amount and calls availability.
S503: when calling amount be greater than or equal to predetermined calling amount threshold value when, based on scheduled concurrency degraded mode to according to Service execution disaster tolerance is relied to degrade.
S503 ': when calling availability to be less than predetermined availability threshold value, based on scheduled availability degraded mode to dependence Service execution disaster tolerance degrades.
In above embodiment, step is the description that S501 can be found in step S101 shown in Fig. 1, and step S502 can be found in figure The description of step S402 shown in step S302 shown in 3 and Fig. 4, step S503 can be found in the description of step S302 shown in Fig. 3, walk Rapid S503 ' can be found in the description of step S402 shown in Fig. 4, and details are not described herein.
Above-mentioned concurrency degraded mode and availability degraded mode, can use simultaneously, can also preset using excellent First grade, uses according to priority orders, for example, concurrency degraded mode > availability degraded mode, thus, it is only required to obtain calling Amount holds disaster tolerance degradation to the service of dependence by concurrency degraded mode, but when institute's concurrency degraded mode is unavailable, at this time Based on disaster tolerance degraded mode be availability degrade.
Method provided by above-described embodiment provides a kind of concrete thought to degrade to dependence service execution disaster tolerance, leads to Cross statistics calling amount obtain call availability, according to concurrency degraded mode, availability degraded mode combination or preferentially make With sequence, degrade to service execution disaster tolerance is relied on, realizes the tactful configurable functionality of disaster tolerance degradation.
Referring to Fig. 6, the method flow schematic diagram that another optional disaster tolerance according to an embodiment of the present invention degrades is shown, Include the following steps:
S601: receiving the call request to service is relied on, and obtains the identification information of thread pool corresponding with the service of dependence, with Determine thread pool.
S602: building time pane, the interior recalls information to thread in thread pool of statistical time pane determine current predetermined The quantity of time pane in period obtains the recalls information in current predetermined amount of time to thread in thread pool;Wherein, it calls Information includes at least calling amount and calls availability.
S603: when calling amount be greater than or equal to predetermined calling amount threshold value when, based on scheduled concurrency degraded mode to according to Service execution disaster tolerance is relied to degrade.
S603 ': when calling availability to be less than predetermined availability threshold value, based on scheduled availability degraded mode to dependence Service execution disaster tolerance degrades.
In above embodiment, the description of step S101 shown in Fig. 1 can be found in for step S601, step S603 can be found in The description of step S302 shown in Fig. 3, step S603 ' can be found in the description of step S402 shown in Fig. 4, and details are not described herein.
In above embodiment, for step S602, (for example, 30s) in predetermined amount of time services the dependence The acquisition modes of recalls information can be obtained based on scheduled time window or time pane.Time window can according to when Between axis move about, each time window is made of the time pane of fixed quantity, each time pane include two indices: adjust With successful information and malloc failure malloc information.
In addition, the size and unit of time pane are configurable, for example, see shown in Fig. 7, time window includes 6 time windows Lattice, time pane is 1s, if time window is 6s.It is specifically described by taking Fig. 7 as an example below:
(1) when relying on service starting (default is the 1st second this moment), system can create size as unit of time pane For 6 time window 1, as shown in t1~t6 in figure.Each time pane represents the time as 1s, as unit of time pane, unites It counts to the calling number of success and malloc failure malloc number of the service that relies in this 1s time, to count calling amount, determines that calling can With rate;
(2) over time, when proceeding to 6s, all time panes in the time window 1 are filled, at this time Can calculate the time window 1 (herein in 6s) for the calling number of success of the dependence service, malloc failure malloc number and Corresponding calling amount calls availability;
(3) it elapses as time go on, when proceeding to 7s, time window can abandon t1 time pane as shown in the figure, And creation time pane t7, with calling number of success, the malloc failure malloc number in statistical time window 2 again for relying on service And corresponding availability, later and so on.
It should be noted that the calling amount counted, is that there is no time-out and other abnormal calling for the dependence service Amount.It for the statistical of calling amount, can be carried out by way of configuring customized, it can with single time pane for singly Position determines the quantity of time pane, counts the calling amount of respective numbers time pane;It is also possible to multiple time panes be single Position is counted, and time standard can carry out customized according to setting demand.
Method provided by above-described embodiment provides a kind of method for relying on service call situation statistics, specifically As unit of time pane, number of success, the frequency of failure and availability are called in statistics predetermined amount of time, convenient for system to it It counted, calculated and is managed.
Referring to Fig. 8, the method flow schematic diagram that another optional disaster tolerance according to an embodiment of the present invention degrades is shown, Include the following steps:
S801: receiving the call request to service is relied on, and obtains the identification information of thread pool corresponding with the service of dependence, with Determine thread pool.
S802: obtaining the recalls information in current predetermined amount of time to thread in thread pool, when recalls information meet it is predetermined When degraded conditions, degraded based on scheduled degraded mode to service execution disaster tolerance is relied on.
S803: when detecting that the time that degrades reaches predetermined degradation time threshold, terminate disaster tolerance and degrade, call and rely on clothes Business.
In above embodiment, the description of step S101 shown in Fig. 1 can be found in for step S801, step S802 can be found in Description shown in step S102, Fig. 3 shown in Fig. 1~Fig. 6, details are not described herein.
In above embodiment, for step S803, if having corresponding disaster tolerance degradation strategy to service configuration is relied on, when full When sufficient degraded conditions (for example, concurrency shown in Fig. 3~Fig. 6 degrades, availability degrades), corresponding down method is executed, and hold The row time is configurable.
But the service of dependence needs to provide service to associated system or component, because without being constantly in degrading state, Degradation time threshold (for example, degradation dormancy time) can be set, to set disaster tolerance degradation limited time.
For example, how long can attempt to call the dependence service after configuring degradation: in the degradation when using the system In time, system can call always down method, will not attempt to call the dependence service;When reaching degradation dormancy time, system It can again attempt to call the service of dependence, rely on service if calling and successfully decontroling all request calls, otherwise continue to this Rely on service execution down method.In addition, but when no longer meeting degraded conditions, system restores the tune to the dependence service automatically With.
Method provided by above-described embodiment provides after a kind of disaster tolerance degrades and restores the thinking called automatically, works as degradation When time reaches degradation time threshold, the automatic calling executed to the dependence service solves dependence and services unavailable for a long time lead The problem of causing system failure, realizes the automatic processing of system, reduces human intervention and human input.
Referring to Fig. 9, according to an embodiment of the present invention one method flow schematic diagram that specifically disaster tolerance degrades is shown, including Following steps:
S901: receiving the call request to service is relied on, and obtains the identification information of thread pool corresponding with the service of dependence, with Determine thread pool.
S902: building time pane, the interior recalls information to thread in thread pool of statistical time pane determine current predetermined The quantity of time pane in period obtains the recalls information in current predetermined amount of time to thread in thread pool;Wherein, it calls Information includes at least calling amount and calls availability.
S903: when calling amount be greater than or equal to predetermined calling amount threshold value when, based on scheduled concurrency degraded mode to according to Rely service execution disaster tolerance drop.
S903 ': when calling availability to be less than predetermined availability threshold value, based on scheduled availability degraded mode to dependence Service execution disaster tolerance degrades.
S904: when detecting that the time that degrades reaches predetermined degradation time threshold, terminate disaster tolerance and degrade, call and rely on clothes Business.
In above embodiment, the description of step S101 shown in Fig. 1 can be found in for step S901, step S902 can be found in Description, step S903 shown in step S102, Fig. 3 shown in Fig. 1~Fig. 6 can be found in the description of step S302 shown in Fig. 3, step S903 ' can be found in the description of step S402 shown in Fig. 4, and step S904 can be found in the description of step S803 shown in Fig. 8, herein no longer It repeats.
Shown in being described in detail below:
(1) after user issues to the call request for relying on service, third party's calling logic can be triggered, judges that the dependence takes Whether current business is that degrading state has executed down method automatically, do not processed to the call request if having degraded;Otherwise, It performs the next step rapid;
(2) thread can be distributed by judging whether the thread pool has, and if there is that can distribute thread, then be had to the calling service execution Body service call;Otherwise, then to the dependence service execution disaster tolerance down method;
(3) when to the dependence service execution specific malloc failure malloc, count right under each time pane in current slot In the calling amount of the dependence service, corresponding calling availability is determined;
(4) when calling amount is greater than or equal to predetermined calling amount threshold value, the corresponding concurrency of the dependence service execution is dropped Grade mode;And/or
When availability is less than predetermined availability threshold value, to the corresponding availability degraded mode of the dependence service execution;
(5) when the time that degrades reaching user configuration time (predetermined degradation time threshold), system can attempt access and rely on Service, if failure if continue to execute down method, otherwise restore rely on service calling, and by all indexs reset again into Row statistics.
It should be noted that for thread pool identification information according to the present invention, concurrency threshold value, availability threshold value, The information that predetermined degradation time threshold etc. needs to configure can be configured according to scheduled configuration mode.Configuration mode includes But it is not limited to interface form configuration, AOP (Aspect Oriented Programming, towards tangent plane programming) configuration, In, by way of AOP is configured, some statistic logics are added when actually calling and relying on service, to each of service logic Part is isolated, so that the degree of coupling between service logic each section reduces, improves the availability of program, while improving exploitation Efficiency;By way of interface, it is one of customized degradation strategy that a kind of code for being considered as AOP, which is realized,.
Degrade for used disaster tolerance tactful, in addition to above-mentioned calling amount, availability, it is abnormal to be also based on calling Rate the data targets such as rejects the service request and is extended.User can be degraded the priority of strategy with customized disaster tolerance, can also be by System is according to the customized degradation strategy of provided index.
In addition, being directed to thread pool, associated waiting list can also be set, the received call request to cache. And the size of the waiting list can voluntarily be configured by user, it can also be with system default.For example, the size of waiting list is 10, I.e. when thread pool, which is, to distribute thread, 10 call requests can be received again, to cache and wait dependence to be called to service.
Method provided by the present embodiment, rely on thread pool isolation mech isolation test, improve the redundancy ability of system, avoid because It is unavailable individually to rely on service, the case where caused whole system is unavailable or even delay machine, in addition, based on to relying on service The automatic disaster tolerance mechanism to degrade and elasticity is restored, ensure that the automatic processing of system, improves the quick-reaction capability of system, Human intervention is reduced simultaneously.
Referring to Figure 10, the main modular signal for the device 1000 that a kind of disaster tolerance provided in an embodiment of the present invention degrades is shown Figure, comprising:
Request receiving module 1001 obtains corresponding to the dependence service for receiving the call request to service is relied on Thread pool identification information, with the determination thread pool;
Degradation execution module 1002 believes the calling of thread in the thread pool for obtaining in current predetermined amount of time Breath, when the recalls information meets predetermined degraded conditions, based on scheduled degraded mode to the dependence service execution disaster tolerance Degrade.
In implementing device of the present invention, the degradation execution module 1002 is used for: it is right in the current predetermined amount of time to obtain The calling amount of thread in the thread pool, when the calling amount be greater than or equal to predetermined calling amount threshold value when, based on it is scheduled simultaneously Hair amount degraded mode degrades to the dependence service execution disaster tolerance.
In implementing device of the present invention, the degradation execution module 1002 is used for: it is right in the current predetermined amount of time to obtain The calling availability of thread in the thread pool, when the calling availability is less than predetermined availability threshold value, based on scheduled Availability degraded mode degrades to the dependence service execution disaster tolerance.
In implementing device of the present invention, the degradation execution module 1002 is used for: building time pane counts the time To the recalls information of thread in the thread pool in pane, the number of the time pane in the current predetermined amount of time is determined Amount obtains the recalls information in the current predetermined amount of time to thread in the thread pool.
Implementing device of the present invention further includes service calling module 1003, is used for: when detect degrade the time reach predetermined drop When grade time threshold, terminate the disaster tolerance and degrade, calls the dependence service.
Device provided by the embodiment of the present invention relies on thread pool isolation mech isolation test, improves the redundancy ability of system, avoid The case where to rely on service unavailable because single, and caused whole system is unavailable or even delay machine, in addition, based on taking to relying on The automatic disaster tolerance mechanism to degrade and elasticity is restored of business, ensure that the automatic processing of system, improves the fast reaction of system Ability, while reducing human intervention.
In addition, the specific implementation content of the disaster tolerance demotion apparatus described in embodiments of the present invention, disaster tolerance described above It has been described in detail in down method, therefore has no longer illustrated in this duplicate contents.
Showing referring to Figure 11 can be using the disaster tolerance down method of the embodiment of the present invention or the example of disaster tolerance demotion apparatus Property system architecture 1100.
As shown in figure 11, system architecture 1100 may include terminal device 1101,1102,1103, network 1104 and service Device 1105.Network 1104 between terminal device 1101,1102,1103 and server 1105 to provide Jie of communication link Matter.Network 1104 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 1101,1102,1103 and be interacted by network 1104 with server 1105, to receive Or send message etc..Various telecommunication customer end applications, such as shopping class can be installed on terminal device 1101,1102,1103 (only show using, web browser applications, searching class application, instant messaging tools, mailbox client, social intercourse system software etc. Example).
Terminal device 1101,1102,1103 can be the various electronic equipments with display screen and supported web page browsing, Including but not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 1105 can be to provide the server of various services, for example, to user using terminal device 1101,1102, The 1103 shopping class websites browsed provide the back-stage management server (merely illustrative) supported.Back-stage management server can be right The data such as the information query request received analyze etc. processing, and by processing result (such as target push information, production Product information -- merely illustrative) feed back to terminal device.
It should be noted that object method is arranged provided by the embodiment of the present invention in lists generally by server 1105 It executes, correspondingly, arranges object apparatus in lists and be generally positioned in server 1105.
It should be understood that the number of terminal device, network and server in Figure 11 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Referring to Figure 12, it illustrates the computer systems 1200 for the terminal device for being suitable for being used to realize the embodiment of the present invention Structural schematic diagram.Terminal device shown in Figure 12 is only an example, function to the embodiment of the present invention and should not use model Shroud carrys out any restrictions.
As shown in figure 12, computer system 1200 include central processing unit (CPU) 1201, can according to be stored in only It reads the program in memory (ROM) 1202 or is loaded into random access storage device (RAM) 1203 from storage section 1208 Program and execute various movements appropriate and processing.In RAM 1203, also it is stored with system 1200 and operates required various journeys Sequence and data.CPU 1201, ROM 1202 and RAM 1203 are connected with each other by bus 1204.Typing/output (I/O) interface 1205 are also connected to bus 1204.
I/O interface 1205 is connected to lower component: the typing part 1206 including keyboard, mouse etc.;Including such as cathode The output par, c 1207 of ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section including hard disk etc. 1208;And the communications portion 1209 of the network interface card including LAN card, modem etc..Communications portion 1209 passes through Communication process is executed by the network of such as internet.Driver 1210 is also connected to I/O interface 1205 as needed.It is detachable to be situated between Matter 1211, such as disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 1210, so as to In being mounted into storage section 1208 as needed from the computer program read thereon.
Particularly, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present invention Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computer Computer program on readable medium, the computer program include the program code for method shown in execution flow chart.? In such embodiment, which can be downloaded and installed from network by communications portion 1209, and/or from can Medium 1211 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 1201, executes and of the invention be The above-mentioned function of being limited in system.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor packet Include request receiving module, degradation execution module.Wherein, the title of these modules is not constituted under certain conditions to the module sheet The restriction of body, for example, degradation execution module is also described as " disaster tolerance degradation execution module ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes Obtaining the equipment includes:
The call request to service is relied on is received, the identification information of thread pool corresponding with the dependence service is obtained, with Determine the thread pool;
Obtain the recalls information in current predetermined amount of time to thread in the thread pool, when the recalls information meet it is pre- When determining degraded conditions, degraded based on scheduled degraded mode to the dependence service execution disaster tolerance.
Technical solution according to an embodiment of the present invention relies on thread pool isolation mech isolation test, improves the redundancy ability of system, keep away Exempt from because of single the case where to rely on service unavailable, and caused whole system is unavailable or even delay machine, in addition, based on to dependence The automatic disaster tolerance mechanism to degrade and elasticity is restored of service, ensure that the automatic processing of system, improve the quick anti-of system Should be able to power, while reducing human intervention.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention Within.

Claims (12)

1. a kind of disaster tolerance down method characterized by comprising
The call request to service is relied on is received, the identification information of thread pool corresponding with the dependence service is obtained, with determination The thread pool;
The recalls information in current predetermined amount of time to thread in the thread pool is obtained, when the recalls information meets predetermined drop When grade condition, degraded based on scheduled degraded mode to the dependence service execution disaster tolerance.
2. the method according to claim 1, wherein described obtain in current predetermined amount of time to the thread pool The recalls information of interior thread, when the recalls information meets predetermined degraded conditions, based on scheduled degraded mode to it is described according to Bad service execution disaster tolerance, which degrades, includes:
The calling amount in the current predetermined amount of time to thread in the thread pool is obtained, when the calling amount is greater than or equal to When predetermined calling amount threshold value, degraded based on scheduled concurrency degraded mode to the dependence service execution disaster tolerance.
3. the method according to claim 1, wherein described obtain in current predetermined amount of time to the thread pool The recalls information of interior thread, when the recalls information meets predetermined degraded conditions, based on scheduled degraded mode to it is described according to Bad service execution disaster tolerance, which degrades, includes:
The calling availability in the current predetermined amount of time to thread in the thread pool is obtained, when the calling availability is small When predetermined availability threshold value, degraded based on scheduled availability degraded mode to the dependence service execution disaster tolerance.
4. the method according to claim 1, wherein to the thread pool in the current predetermined amount of time of statistics The recalls information of interior thread includes:
Time pane is constructed, the recalls information in the time pane to thread in the thread pool is counted, is determined described current The quantity of the time pane in predetermined amount of time obtains the tune in the current predetermined amount of time to thread in the thread pool Use information.
5. method according to any of claims 1-4, which is characterized in that be based on scheduled degraded mode to described After dependence service execution disaster tolerance degrades, further includes:
When detecting that the time that degrades reaches predetermined degradation time threshold, terminate the disaster tolerance and degrade, calls the dependence service.
6. a kind of disaster tolerance demotion apparatus characterized by comprising
Request receiving module obtains thread pool corresponding with the dependence service for receiving the call request to service is relied on Identification information, with the determination thread pool;
Degradation execution module, for obtaining to the recalls information of thread in the thread pool in current predetermined amount of time, when described When recalls information meets predetermined degraded conditions, degraded based on scheduled degraded mode to the dependence service execution disaster tolerance.
7. device according to claim 6, which is characterized in that the degradation execution module is used for:
The calling amount in the current predetermined amount of time to thread in the thread pool is obtained, when the calling amount is greater than or equal to When predetermined calling amount threshold value, degraded based on scheduled concurrency degraded mode to the dependence service execution disaster tolerance.
8. device according to claim 7, which is characterized in that the degradation execution module is used for:
The calling availability in the current predetermined amount of time to thread in the thread pool is obtained, when the calling availability is small When predetermined availability threshold value, degraded based on scheduled availability degraded mode to the dependence service execution disaster tolerance.
9. device according to claim 7, which is characterized in that the degradation execution module is used for:
Time pane is constructed, the recalls information in the time pane to thread in the thread pool is counted, is determined described current The quantity of the time pane in predetermined amount of time obtains the tune in the current predetermined amount of time to thread in the thread pool Use information.
10. the device according to any one of claim 6-9, which is characterized in that further include service calling module, be used for:
When detecting that the time that degrades reaches predetermined degradation time threshold, terminate the disaster tolerance and degrade, calls the dependence service.
11. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor Such as method as claimed in any one of claims 1 to 5 is realized when row.
CN201810067212.XA 2018-01-24 2018-01-24 A kind of method and apparatus that disaster tolerance degrades Pending CN110069337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810067212.XA CN110069337A (en) 2018-01-24 2018-01-24 A kind of method and apparatus that disaster tolerance degrades

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810067212.XA CN110069337A (en) 2018-01-24 2018-01-24 A kind of method and apparatus that disaster tolerance degrades

Publications (1)

Publication Number Publication Date
CN110069337A true CN110069337A (en) 2019-07-30

Family

ID=67365478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810067212.XA Pending CN110069337A (en) 2018-01-24 2018-01-24 A kind of method and apparatus that disaster tolerance degrades

Country Status (1)

Country Link
CN (1) CN110069337A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971680A (en) * 2019-11-22 2020-04-07 拉扎斯网络科技(上海)有限公司 Communication method, device, system, electronic equipment and readable storage medium
CN112887109A (en) * 2019-11-29 2021-06-01 北京百度网讯科技有限公司 Disaster recovery processing method, device, equipment and readable medium for infrastructure area
CN114338816A (en) * 2021-12-22 2022-04-12 阿里巴巴(中国)有限公司 Concurrency control method, device, equipment and storage medium under server-free architecture
WO2022135158A1 (en) * 2020-12-22 2022-06-30 网联清算有限公司 Transaction request processing method and apparatus, and transaction transfer system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272280A (en) * 2008-04-02 2008-09-24 北京邮电大学 Method and system for Web service management
US20100114928A1 (en) * 2008-11-06 2010-05-06 Yahoo! Inc. Diverse query recommendations using weighted set cover methodology
CN102595518A (en) * 2011-01-14 2012-07-18 中兴通讯股份有限公司 Method and system for ensuring user service quality of household base station
CN103023938A (en) * 2011-09-26 2013-04-03 阿里巴巴集团控股有限公司 Service capability control method and system of server cluster
CN105656962A (en) * 2014-11-11 2016-06-08 阿里巴巴集团控股有限公司 Service calling method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272280A (en) * 2008-04-02 2008-09-24 北京邮电大学 Method and system for Web service management
US20100114928A1 (en) * 2008-11-06 2010-05-06 Yahoo! Inc. Diverse query recommendations using weighted set cover methodology
CN102595518A (en) * 2011-01-14 2012-07-18 中兴通讯股份有限公司 Method and system for ensuring user service quality of household base station
CN103023938A (en) * 2011-09-26 2013-04-03 阿里巴巴集团控股有限公司 Service capability control method and system of server cluster
CN105656962A (en) * 2014-11-11 2016-06-08 阿里巴巴集团控股有限公司 Service calling method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971680A (en) * 2019-11-22 2020-04-07 拉扎斯网络科技(上海)有限公司 Communication method, device, system, electronic equipment and readable storage medium
CN110971680B (en) * 2019-11-22 2022-01-28 拉扎斯网络科技(上海)有限公司 Communication method, device, system, electronic equipment and readable storage medium
CN112887109A (en) * 2019-11-29 2021-06-01 北京百度网讯科技有限公司 Disaster recovery processing method, device, equipment and readable medium for infrastructure area
US11362885B2 (en) 2019-11-29 2022-06-14 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus, device and readable medium for disaster recovery processing for infrastructure areas
CN112887109B (en) * 2019-11-29 2023-01-06 北京百度网讯科技有限公司 Disaster recovery processing method, device, equipment and readable medium for infrastructure area
WO2022135158A1 (en) * 2020-12-22 2022-06-30 网联清算有限公司 Transaction request processing method and apparatus, and transaction transfer system
CN114338816A (en) * 2021-12-22 2022-04-12 阿里巴巴(中国)有限公司 Concurrency control method, device, equipment and storage medium under server-free architecture

Similar Documents

Publication Publication Date Title
CN109684358B (en) Data query method and device
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
CN110069337A (en) A kind of method and apparatus that disaster tolerance degrades
CN111950988B (en) Distributed workflow scheduling method and device, storage medium and electronic equipment
EP2426871B1 (en) Method and device for scheduling data communication input ports
CN109879126B (en) Elevator reservation method and system
CN111813573B (en) Communication method of management platform and robot software and related equipment thereof
CN113422842B (en) Distributed power utilization information data acquisition system considering network load
CN108897854A (en) A kind of monitoring method and device of overtime task
CN109309736A (en) The generation method and generating means of globally unique ID
CN109413125A (en) The method and apparatus of dynamic regulation distributed system resource
CN112100034A (en) Service monitoring method and device
CN109597810A (en) A kind of task cutting method, device, medium and electronic equipment
CN110321252B (en) Skill service resource scheduling method and device
CN109388655A (en) A kind of method and apparatus of dynamic control of data access
CN116414534A (en) Task scheduling method, device, integrated circuit, network equipment and storage medium
CN114742000A (en) SoC chip verification system, verification method and device based on FPGA cluster
CN103139925A (en) Upstream data dispatch method used for local thermodynamic equilibrium (LTE) system and device
CN116089049B (en) Asynchronous parallel I/O request-based process synchronous scheduling method, device and equipment
CN110071952A (en) The control method and device of service call amount
CN113760522A (en) Task processing method and device
CN109284177B (en) Data updating method and device
CN115525411A (en) Method, device, electronic equipment and computer readable medium for processing service request
US20240118933A1 (en) Transaction Method and Apparatus with Fixed Execution Order
US11494239B2 (en) Method for allocating computing resources, electronic device, and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination