US20040205373A1 - Method for dynamically switching fault tolerance schemes - Google Patents

Method for dynamically switching fault tolerance schemes Download PDF

Info

Publication number
US20040205373A1
US20040205373A1 US10/817,112 US81711204A US2004205373A1 US 20040205373 A1 US20040205373 A1 US 20040205373A1 US 81711204 A US81711204 A US 81711204A US 2004205373 A1 US2004205373 A1 US 2004205373A1
Authority
US
United States
Prior art keywords
fault tolerance
time
mean
wait time
schemes
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.)
Granted
Application number
US10/817,112
Other versions
US7243263B2 (en
Inventor
Shahid Shoaib
Nayeem Islam
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.)
NTT Docomo Inc
Original Assignee
Shahid Shoaib
Nayeem Islam
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 Shahid Shoaib, Nayeem Islam filed Critical Shahid Shoaib
Priority to US10/817,112 priority Critical patent/US7243263B2/en
Publication of US20040205373A1 publication Critical patent/US20040205373A1/en
Assigned to NTT DOCOMO, INC. reassignment NTT DOCOMO, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: DOCOMO COMMUNICATIONS LABORATORIES USA, INC.
Application granted granted Critical
Publication of US7243263B2 publication Critical patent/US7243263B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications

Definitions

  • the present invention relates generally to fault tolerant distributed computing systems, and in particular, to a method for dynamically switching fault tolerance schemes in a distributed system based on wait times of user interface events.
  • Fault tolerance is a key technology in distributed systems for ensuring reliability of operations for user critical applications such as e-commerce, database transactions and B2B, etc.
  • a distributed system is a group of computing devices interconnected with a communication network which function together to implement an application.
  • Fault tolerance provides reliability of operation from the user's perspective by masking failures in critical system components.
  • Known fault tolerant mechanisms for distributed systems can use different fault tolerance schemes, including different fault detection and recovery means, to handle various types of failures, such as device and network failures.
  • fault tolerance schemes may have different fault tolerance and performance trade-offs.
  • fault tolerance schemes can have an adverse effect on the time that a user has to wait for a system response once the user interacts with the system, particularly in mobile computing environments. This delay can affect user perception of the performance of a system, which is significant because users are known to give up on applications if their requests are not met within certain time limits. Accordingly, it is desirable to limit detrimental trade-offs between fault tolerance and perceived system performance.
  • a method of dynamically switching among a plurality of fault tolerance schemes is provided.
  • the fault tolerance schemes are associated with a fault tolerance mechanism that executes in a distributed system.
  • the method comprises obtaining a wait time of at least one user interface event occurring in the distributed system.
  • the wait time includes at least one of a communications time, a service time and a fault tolerance time.
  • the method further comprises determining whether a mean of the wait time is greater than a predetermined mean wait time threshold.
  • the method also comprises determining whether the communications time, the service time and the fault tolerance time are mutually independent when the mean of the wait time is greater than the predetermined mean wait time threshold.
  • the method comprises determining whether the mean of the wait time can be improved by reducing a mean of the fault tolerance time when the communications time, the service time and the fault tolerance time are mutually independent.
  • the method also comprises switching from a first fault tolerance scheme to a second fault tolerance scheme when the wait time can be improved by reducing the mean of the fault tolerance time.
  • a fault tolerant distributed system capable of dynamically switching among a plurality of fault tolerance schemes associated with a fault tolerance mechanism.
  • the system comprises a means for obtaining a wait time of at least one user interface event occurring in the distributed system.
  • the wait time includes at least one of a communications time, a service time and a fault tolerance time.
  • the system further comprises a means for determining whether a mean of the wait time is greater than a predetermined mean wait time threshold.
  • the system also comprises a means for determining whether the communications time, the service time and the fault tolerance time are mutually independent when the mean of the wait time is greater than the predetermined mean wait time threshold.
  • the system comprises a means for determining whether the mean of the wait time can be improved by reducing a mean of the fault tolerance time when the communications time, the service time and the fault tolerance time are mutually independent.
  • the system also comprises a means for switching from a first fault tolerance scheme to a second fault tolerance scheme when the wait time can be improved by reducing the mean of the fault tolerance time.
  • FIG. 1 is a block diagram of a model distributed system for implementing a method for dynamically switching fault tolerance schemes according to the present invention
  • FIG. 2 is a block diagram showing events associated with the message logging schemes of the reliable messaging system of FIG. 1;
  • FIG. 3 is a block diagram showing a timeline of user interface events in the distributed system of FIG. 1;
  • FIG. 4 is a flowchart for a method for dynamically switching fault tolerance schemes according to the present invention.
  • a reliable messaging system is a fault tolerant message based communication mechanism for use in distributed systems with applications that require a high degree of reliability, such as web services, remote procedure calls, e-commerce transactions, etc.
  • a reliable messaging system that supports asynchronous operation using point to point messaging or a centralized messaging or queuing server, i.e. imposes no limit on the time it 10 takes to send or receive messages over a network, allows interconnected devices to communicate with each other even if one of the devices is temporarily unavailable.
  • Such a reliable messaging system can also reliably deliver messages according to application specified delivery semantics, such as at most once or at least once, in the presence of device and network failures.
  • a reliable messaging system can implement different types of message logging schemes that affect the type and extent of fault tolerance possible as well as the system performance.
  • both clients and servers in a distributed system have multiple options as to the direction of logging, including for outgoing messages only, for incoming messages only or for both directions.
  • a client may perform message logging before sending an outgoing message, after sending an outgoing message or asynchronously.
  • a server may log messages before or after delivering an incoming message to the application or asynchronously.
  • the direction and timing specified by different message logging schemes also affect the processing overhead incurred and the complexity involved in the recovery itself, which in turn affect the system performance.
  • a model distributed system 10 that includes a network 12 connected to a client device 14 and a server device 16 , which communicate with each other across the network using a reliable messaging system 18 .
  • the reliable messaging system 18 includes a client module 18 a executing on the client 14 and a server module 18 b executing on the server 16 .
  • a client application 20 that executes on the client 14 and a server application 22 that executes on the server 16 are components of a distributed application 24 .
  • the client and server applications 20 and 22 use message passing via the reliable messaging system 18 to coordinate distributed processing for the application 24 .
  • the server application 22 may be a database engine that manages data storage and retrieval on the server 16
  • the client application 20 may be a web browser responsible for presenting the data on the client 14 .
  • the server and client application would form one distributed database application 24 from the user's perspective for the purpose of dynamically switching fault tolerance schemes according to the present invention.
  • model distributed system 10 of. FIG. 1 illustrates a client-server architecture
  • this architecture is meant to be illustrative, rather than limiting.
  • Other types of distributed computing systems could also be used for dynamically switching fault tolerance schemes according to the present invention, and in particular the message logging schemes described further below.
  • multiple client devices may communicate to each other via the reliable messaging system 18 in a peer-to-peer or adhoc networking mode and multiple server devices also may communicate to each other via the reliable messaging system for back end processing.
  • messages can be logged to a persistent storage 26 on the client 14 and to a persistent storage 28 on the server 16 .
  • the client/server message logging schemes listed in Table 1 are identified by a sequence of events. Specifically, a scheme “xyz” refers to an assumption that event x takes place before event y which takes place before event z. Similarly, a scheme “x yz ” means that event x takes place first followed by events y and z, which take place asynchronously.
  • the client application 20 generates an outgoing message, identified by the numeral “1”; the client 14 logs an outgoing message to a client persistent storage 26 , identified by the numeral “2”; the client 14 sends an outgoing message or the server 16 receives an incoming message, identified by the numeral “3”; the server 16 logs an incoming message to a server persistent storage 28 , identified by the numeral “4”; and the server 16 delivers an incoming message to a server application 22 , identified by the numeral “5”.
  • These events are illustrated graphically in FIG. 2.
  • CD means that the client device is recoverable
  • SD means that the server device is recoverable
  • NT means that the network is recoverable
  • ⁇ X means that entity X (CD, SD or NT) is not recoverable
  • X (out) means that entity X (CD, SD or NT) may recover outgoing messages only
  • X (in) means that entity X (CD, SD or NT) may recover incoming messages only X if Y means that entity X (CD, SD or NT) may be recovered only if entity Y (CD, SD or NT) is available at time of recovery.
  • the client/server message logging schemes listed in Table 1 provide a relatively high level of fault tolerance for the model distributed system 10 of FIG. 1. But these schemes also incur a relatively high performance overhead since all incoming and outgoing messages on both the server 16 and the client 14 are logged. Client/server logging may be useful for applications that require highest degree of fault tolerance e.g. e-commerce transactions.
  • the model distributed system 10 shown in FIG. 1 may log messages to the persistent storage 26 on the client 14 only.
  • client side logging schemes are possible, as shown below Table 2.
  • TABLE 2 Combination Recoverable Properties 1235 CD(out); Easy recovery, performance overhead at client, -CD(in); NT; longer delay for server app, s (in) recovery may -SD (out); require sync and extra message exchange, SD(in) if CD, reduce overall performance overhead by 75% NT 1325 CD(out); Easy recovery, performance overhead at client, -CD(in); NT; least delay for application, small window of -SD(out); unrecoverable failures, s (in) recovery requires SD(in) if CD, sync & msg exchange, reduce overall NT performance overhead by 75% 1235 CD(out); Complicated recovery, performance overhead at -CD(in); NT; client, less delay for app, small window of -SD(out); unrecoverable failures, s (in) recovery requires SD(
  • Client side logging schemes are useful in situations where the server 16 is overloaded or is unable to log messages and the client 14 has sufficient processing capabilities to perform message logging operations. These schemes may also be useful if client fault tolerance is more valuable than server fault tolerance to the recovery of an application in the presence of a fault. For example, if it is known that a server system is highly reliable while a client system (e.g. mobile terminal) is unreliable and suffers frequent transient failures, then client side logging schemes may be more important.
  • the model distributed system 10 of FIG. 1 may log messages to the persistent storage 28 on the server 16 only, as shown below in Table 3.
  • TABLE 3 Combination Recoverable Properties 5431 SD(out); Easy recovery, performance overhead at server, -SD(in); NT; longer delay for client app, c (in) recovery may -CD(out); require sync and extra message exchange, CD(in) if SD, reduce overall performance overhead by 75% NT 5341 SD(out); Easy recovery, performance overhead at server, -SD(in); NT; least delay for client app, small window of -CD(out); unrecoverable failures, c (in) recovery requires CD(in) if SD, sync & msg exchange, reduce overall NT performance overhead by 75% 5431 SD(out); Complicated recovery, performance overhead at -SD(in); NT; server, less delay for client app, small window of -CD(out); unrecoverable failures, c (in) recovery requires CD(in) if SD, sync
  • the class of server side logging schemes is useful in situations where the client 14 is overloaded or is unable to log messages and the server 16 has adquate processing capabilities to perform message logging operations.
  • the server 16 may have specialized processing capabilities for logging messages, including dedicated hardware resources that reduce the burden on the server's main processor, which services user requests from the client.
  • Server side logging schemes may also be appropriate if server fault tolerance is more useful than client fault tolerance in order to tolerate failures, such as with a transaction server.
  • the fault tolerance properties provided by server side logging schemes are symmetric to those of client side logging schemes, but the performance properties of server side logging may be different from client side logging because server and client devices typically have different hardware resources.
  • FIG. 3 a timeline for user interactions with an application is shown in FIG. 3.
  • a user moves through alternate think times TT and wait times W while interacting with an application.
  • the user sends a request to the application and waits for a reply.
  • This is referred to as a user interface event.
  • users can request information from the application using a web browser by posting web page forms or by clicking on Uniform Resource Locator (“URL”) link to get a web page.
  • URL Uniform Resource Locator
  • the application typically waits in a loop for requests from the user. On receiving a request, the application may perform computations and access data to fulfill the user's request. It will then send back a reply to the user.
  • the wait time W of a user interface event is the time associated with processing a user request for the event. It is known that the mean and variance of the wait times affect a user's perception of the performance of a system. As described in greater detail further below, a fault tolerance switching algorithm according to the present invention can switch fault tolerance schemes based on measured wait times in order to improve the user perceived system performance.
  • a user can operate the client application 20 to send a request to the server application 22 via the reliable messaging system 18 .
  • the wait time W of user interface event for the distributed application 24 can be broken down into 1 ) the total time spent in communications between the client 14 and server 16 , 2 ) the total service time to fulfill the user request, including the time spent in computation and data input/output operations by the requested server application 22 , and 3 ) the total time spent in fault tolerance, including the time spent in fault tolerance on the client 14 and the server 16 .
  • W is the wait time
  • C is the total time spent in communications and it is the sum of communication times in both directions, C 1 and C 2 ;
  • S is the total service time and it is the sum of time spent in computation plus data I/O time
  • FT is the total time spent in fault tolerance and it is the sum of the total fault tolerance time on the server, FT 2 and FT 3 , and the total fault tolerance time on the client, FT 1 and FT 4 .
  • m(W) is the mean of the wait time
  • m(C) is the mean of the total time spent in communications
  • m(S) is the mean of the total service time
  • m(FT) is the mean of the total time spent in fault tolerance; Moreover, if the parameters C, S and FT are also mutually independent, then the following relationship holds for their variances:
  • v(W) is the variance of the wait time
  • v(C) is the variance of the total time spent in communications
  • v(S) is the variance of the total service time
  • v(FT) is the variance of the total time spent in fault tolerance.
  • the time spent in communications (C) is generally independent of the service time (S).
  • the service time (S) at any given instant can depend on the current load on the server 16 or device processing the user request. In other words, the load on the server may be so great that the server is computationally too busy to timely process additional user requests.
  • the server load itself is dependant on the number of messages (N) being passed between the server 16 and the client 14 .
  • the service time (S) can be dependent on the number of messages (N).
  • the time spent in communications (C) can also depend on the number of messages (N) broadcast over the network 12 because network bandwidth can limit the amount of traffic carried by the network.
  • the service time (S) may increase because of the increased load on the server and the time spent in network communication (C) may increase because of network congestion. Therefore, there is an indirect relationship between the service time (S) and the time spent in communications (C) because of their mutual dependence on the number of messages (N).
  • the time spent in communications(C) is generally independent of the time spent in fault tolerance (FT).
  • the time spent in fault tolerance (FT) which includes the fault tolerance times on the client 14 and the server 16 , can also depend at any given instant on the load on the server and the client. Therefore, the time spent in fault tolerance (FT) can depend on the number of messages (N) being passed between the client 14 and the server 16 .
  • N the number of messages
  • FIG. 4 An implementation of an algorithm 30 for dynamically switching fault tolerance schemes based on wait times according to the present invention is illustrated using a decision tree in FIG. 4. This implementation is described in reference to the model distributed system of FIG. 1, for which wait times (W) are associated with user requests from the client application 20 to the server application 22 .
  • the switching algorithm 30 can execute continuously on the client 14 and the server 16 in order to switch message logging schemes for the reliable messaging system 18 . Therefore, the switching algorithm may switch message logging schemes when the server application 22 is first requested or dynamically during its execution.
  • any conflict between the two devices regarding the desired fault tolerance scheme can be resolved using a handshake protocol.
  • the handshake protocol would allow the client 14 and the server 16 to exchange messages that enable them to agree on the fault tolerance scheme to be used.
  • the switching algorithm 30 obtains values of measured wait times W and calculates a value of the mean wait time (m(W))for an application.
  • the client 14 and server 16 in the distributed system of FIG. 1 can use timestamps for actions associated with user interface events of the distributed application 24 in order to measure wait times (W).
  • an HTML based client 14 can intercept all HTTP “GET” and “POST” requests from a web browser type client application 20 to the server application 22 . When a “GET” or “POST” request is issued, the client 14 takes a first timestamp.
  • the measured wait time (W) in this case is the difference between the second and first timestamps.
  • the mean wait time (m(W) then is calculated from a plurality of measured values for wait times (W) using known statistical methods.
  • the switching algorithm 30 can obtain previously measured wait times W or a mean wait time (m(W)) from past runs of the distributed application. Once the distributed application 24 is executing, the switching algorithm 30 can calculate the mean wait time (m(W)) using current values of wait times W measured during the run in progress.
  • the switching algorithm 30 determines whether the mean wait time (m(W)) is greater than a predetermined mean wait time threshold (T(W)) at block 34 .
  • the mean wait time threshold value (T(W)) can be set, for example, by a developer of the distributed application 24 , a user interacting with the client 14 , or a system administrator maintaining the server 16 .
  • the mean wait time threshold value (T(W)) will be the same for each component of the distributed application 24 .
  • priority can be assigned in the following order (highest to lowest): user preferences, system administrator, and application developer. Accordingly, the application developer may provide an initial value for the mean wait time threshold value (T(W)), which can be changed by the system administrator or the user. Once a mean wait time threshold is changed, the new threshold value is communicated to all devices executing the distributed application 24 .
  • T(W) mean wait time threshold
  • an application developer may select a mean wait time threshold value for an application based on the type of application. Accordingly, an interactive real-time network game may have a smaller mean wait time threshold, for example about 3 to 6 milliseconds, than a database application accessible via a web browsing application, which may have a mean wait time threshold of about 1 to 3 seconds.
  • user preferences for higher performance or more reliability may prompt a user to select a different value for the mean wait time threshold (T(W)) than the value selected by the application developer.
  • the system administrator may change the mean wait time threshold (T(W)) in order to increase the server capacity.
  • the application developer, the user and the system administrator can provide a separate mean wait time threshold (T(W)) for different classes of user interface events of the application. In the latter case, wait times (W) could be measured for each class of user interface events associated with the application.
  • the switching algorithm 30 then can determine whether the mean wait time for a particular class of user interface events is greater than a predetermined threshold and perform the functions described below in connection with different classes of user interface events rather than per application.
  • the user can override the mean wait time threshold(T(W)) set by the application developer at any time and ask for smaller wait times, possibly at the cost of less reliability, or more reliability, possibly at the cost of higher wait times.
  • the mean wait time threshold (T(W)) can be set based on a user profile. Specifically, a first user may find a given amount of wait time acceptable whereas a second user may find the same mean wait time threshold unacceptable, even for the same application. Therefore, a user profile that includes a mean wait time threshold value may be created based on a user's own perception of system performance.
  • the user profile may specify the mean wait time threshold value on a per application basis.
  • the user profile also may specify a mean wait time threshold value on a per application type basis, i.e., for different classes of related applications.
  • the user profile may specify a value for the mean wait time threshold on a per device basis, such that the same mean wait time threshold is used by the algorithm when executing on a device regardless of the application requested.
  • the switching algorithm 30 also could calculate the variance of the measured wait times (W). The switching algorithm could then compare the variance wait time (v(W)), rather than the mean wait time (m(W)), with a predetermined variance wait time threshold.
  • the switching algorithm 30 determines that the mean wait time threshold (T(W)) has been exceeded at block 34 , then the algorithm obtains values for the time spent in communications (C), the service time (S) and the time spent in fault tolerance (FT) at block 36 .
  • the parameters C, S and FT can be measured using timestamps for actions associated with the communication process, the processing of a user request, and the fault tolerance mechanism respectively.
  • the client 14 and server 16 in the distributed system of FIG. 1 can calculate the time spent in fault tolerance (FT) for the reliable messaging system 18 by using timestamps at the start and end of a message logging operation.
  • the switching algorithm 30 will determine whether these parameters are mutually independent of each other at block 38 .
  • the determination of mutual independence for C, S and FT is dependant on the execution environment of the distributed application 24 , the hardware resources, processing power, memory resources of the client 14 and the server 16 .
  • the parameters C, S and FT will be mutually independent up to a predetermined threshold value (T(N)) for the number of messages (N), as described above. Once the number of messages (N) exceeds the message threshold T(N), the parameters C, S, and FT are no longer treated as mutually independent.
  • T(N) may be determined experimentally for a distributed application 24 in combination with different execution environments. That value then could be used for future execution of the distributed application 24 in similar environments.
  • the switching algorithm 30 will determine whether the mean wait time (m(W)) can be improved by reducing the mean time spent in fault tolerance (m(FT)) at block 40 .
  • the algorithm will determine whether the value of the mean time spent in fault tolerance (m(FT)) as a percentage of the mean wait time (m(W)) exceeds a predetermined threshold for fault tolerance (T(FT)).
  • T(FT) a predetermined threshold for fault tolerance
  • a value for the fault tolerance threshold (T(FT)) can be specified by a system administrator or the distributed application 24 , for example.
  • the switching algorithm 30 may switch fault tolerance schemes at block 42 .
  • the criteria for selecting a different fault tolerance scheme can include a set of predetermined requirements provided by the distributed application 24 .
  • the distributed application may specify that a specific predetermined fault tolerance scheme is to be utilized whenever the fault tolerance threshold (T(FT)) is exceeded.
  • a handshake protocol can ensure that the server and client are in agreement on the desired fault tolerance scheme that is to replace the existing scheme.
  • the criteria for selecting a fault tolerance scheme can be based on the implementation costs of different fault tolerance schemes.
  • the implementation cost of a fault tolerance scheme is defined by the sum of the service time (S) and the time spent in fault tolerance (FT). The communication time (C) is ignored in these calculations.
  • Implementation costs can be determined using timestamps to measure the service time (S) and the time spent in fault tolerance (FT).
  • Devices forming part of a distributed system can then store and share implementation costs for various fault tolerance schemes. Implementation costs can be measured for individual fault tolerance schemes or for a class of fault tolerance schemes.
  • the switching algorithm can use these implementation costs for different fault tolerance schemes to determine which of the schemes to select once the fault tolerance threshold (T(FT)) is exceeded. Accordingly, a new fault tolerance scheme that has a lower implementation cost than the current fault tolerance scheme may be selected in order to improve the mean wait time (m(W)).
  • the reliable messaging system 18 may be using a message logging scheme in which the client 14 and the server 16 both log messages in both directions, i.e. incoming and outgoing messages.
  • This scheme provides a relatively high level of fault tolerance as it allows recovery from failures of the client 14 , server 16 and network 12 .
  • it also has a relatively high implementation cost because it requires multiple writes to persistent storage for storing messages and therefore requires more time spent in fault tolerance.
  • a scheme in which message logging is only performed while sending messages allows for complete recovery of any outgoing messages at the server 16 and client 14 , but will recover received (incoming) messages at either the server or client only if the other entity is running and the network is available at the time of recovery.
  • this scheme will have relatively lower implementation costs because it has one half the overhead of the previous scheme, which logged messages in both directions. Therefore, the switching algorithm may switch from the former to the latter message logging scheme in order to improve wait times if the fault tolerance threshold is exceeded.
  • Switching fault tolerance schemes may result in changing the reliability guarantees of the system.
  • the switching algorithm 30 may consider for switching only those fault tolerance schemes that provide the same level of reliability as the scheme in use at the time that the determination is made.
  • the algorithm allows the distributed application 24 or a user to specify otherwise. For example, an application may direct the algorithm to select fault tolerance schemes that will improve the mean wait time (m(W)) even though the chosen scheme provides less reliability than the fault tolerance scheme in use at the time of the determination. If the algorithm switches fault tolerance schemes at block 42 , it will notify the distributed application 24 , including the client application 20 and the server application 22 , of any changes in reliability guarantees as well as any performance ramifications associated with the new fault tolerance scheme at block 44 .
  • the switching algorithm will determine the cost of fault tolerance for the fault tolerance scheme in use at block 46 .
  • the switching algorithm will need to determine the effect that the time spent in fault tolerance (FT) is having on the time spent in communication (C), the time spent in service (S) and ultimately the wait time (W).
  • the algorithm may switch the current fault tolerance scheme at block 50 and notify the distributed application 24 , including the client application 20 and the server application 22 , of any changes in reliability guarantees as well as any performance ramifications at block 52 .
  • the criteria for selecting a fault tolerance scheme at block 50 can be provided by the distributed application 24 or may be based on the implementation costs of different fault tolerance schemes, as described above. Otherwise, if the switching algorithm determines that the current fault tolerance scheme is not responsible for the unacceptable wait time at block 48 , it will not switch fault tolerance schemes.
  • Significant impact is defined as an effect of a fault tolerance scheme on the time spent in communication (C) and the time spent in service (S) that raises the values of these parameters such that the mean wait time (m(W)) increases beyond the mean wait time threshold (T(W)), even if the time spent in fault tolerance (FT) may be comparably less than the time spent in communication (C) and the time spent in service (S).
  • the switching algorithm 30 obtains two sets of values for wait times W from past runs of the distributed application 24 for a given number of messages (N) that is sufficiently large to make the parameters C, S and FT mutually dependant.
  • the first set of wait time values corresponds to a past run of the distributed application 24 in combination with the current fault tolerance scheme.
  • the second set of wait time values corresponds to a past run of the distributed application 24 without a fault tolerance scheme in place.
  • the switching algorithm 1 can measure and store wait times values for the distributed application 24 in a non-volatile, machine readable medium that can be accessed by the switching algorithm, such as the persistent storage 26 or the persistent storage 28 , for different types of message logging schemes of the reliable message logging system 18 and various values of the number of messages (N).
  • the switching algorithm then calculates the mean wait time with the fault tolerance scheme in place (m(W_FT)) and the mean wait time without the fault tolerance scheme (m(W_noFT)).
  • m(W_noFT) is less than the mean wait time threshold (T(W)) and the difference between m(W_FT) and m(W_noFT) is greater than a predetermined percentage amount, for 10 example about 20%, of m(W_FT), then the algorithm determines that the current fault tolerance scheme has a significant impact on the time spent in communication (C) and the time spent in service (S) and attempts to switch fault tolerance schemes. It should be understood that the value of 20% is meant to be illustrative, rather than limiting, and that other values could work also.
  • the switching algorithm will determine whether the user or the distributed application 24 requires more reliability than what the current fault tolerance scheme can provide at block 54 .
  • the client application 20 in FIG. 1 may request a fault tolerance scheme that is more reliable than the fault tolerance scheme currently in use.
  • the server application 22 in the model distributed system 10 of FIG. 1 may have requested a client/server logging scheme when it began execution.
  • the switching algorithm 30 may have subsequently switched to a client side logging scheme if the mean wait time (m(W)) increased above the predetermined mean wait time threshold (T(W)). At some time thereafter, the mean wait time could fall below the predetermined mean wait time threshold. The switching algorithm would then determine whether to switch back to the client/server logging scheme initially requested by the server application 22 .
  • the switching algorithm 30 will determine whether the desired fault tolerance scheme can meet the mean wait time threshold (T(W)) at block 56 .
  • the algorithm determines whether switching fault tolerance schemes will cause the mean wait time (m(W)) to rise above the mean wait time threshold value (T(W)) by a predetermined delta amount (d(W)).
  • the switching algorithm can calculate the expected mean wait time for the desired fault tolerance scheme using past measurements of wait times associated with that fault tolerance scheme. If more than one fault tolerance scheme is available to choose from, the selection criteria can be based on the implementation costs of the different fault tolerance schemes or may be provided by the distributed application 24 , as described above.
  • the algorithm will switch fault tolerance schemes at block 58 and notify the distributed application 24 of any changes in reliability guarantees as well as any performance ramifications at block 60 .

Abstract

In one aspect of the invention, a method of dynamically switching among a plurality of fault tolerance schemes is provided. The fault tolerance schemes are associated with a fault tolerance mechanism that executes in a distributed system. The method comprises obtaining a wait time of at least one user interface event occurring in the distributed system. The wait time includes at least one of a communications time, a service time and a fault tolerance time. The method further comprises determining whether a mean of the wait time is greater than a predetermined mean wait time threshold. The method also comprises determining whether the communications time, the service time and the fault tolerance time are mutually independent when the mean of the wait time is greater than the predetermined mean wait time threshold. In addition, the method comprises determining whether the mean of the wait time can be improved by reducing a mean of the fault tolerance time when the communications time, the service time and the fault tolerance time are mutually independent. The method also comprises switching from a first fault tolerance scheme to a second fault tolerance scheme when the wait time can be improved by reducing the mean of the fault tolerance time.

Description

    BACKGROUND OF THE INVENTION
  • The present invention relates generally to fault tolerant distributed computing systems, and in particular, to a method for dynamically switching fault tolerance schemes in a distributed system based on wait times of user interface events. [0001]
  • Fault tolerance is a key technology in distributed systems for ensuring reliability of operations for user critical applications such as e-commerce, database transactions and B2B, etc. A distributed system is a group of computing devices interconnected with a communication network which function together to implement an application. Fault tolerance provides reliability of operation from the user's perspective by masking failures in critical system components. Known fault tolerant mechanisms for distributed systems can use different fault tolerance schemes, including different fault detection and recovery means, to handle various types of failures, such as device and network failures. [0002]
  • However, it is known that fault tolerance schemes may have different fault tolerance and performance trade-offs. In the context of interactive applications, fault tolerance schemes can have an adverse effect on the time that a user has to wait for a system response once the user interacts with the system, particularly in mobile computing environments. This delay can affect user perception of the performance of a system, which is significant because users are known to give up on applications if their requests are not met within certain time limits. Accordingly, it is desirable to limit detrimental trade-offs between fault tolerance and perceived system performance. [0003]
  • Furthermore, different applications may have different requirements for fault tolerance and performance. In addition, these requirements may change over the course of execution of the same application. It may be that no particular implementation of a fault tolerance mechanism will perform well for all applications. In this context, it is important to know when to switch fault tolerance schemes and which scheme to dynamically select. [0004]
  • Therefore, there is a need for a method of dynamically switching fault tolerance schemes that can improve the user perceived performance of a system while taking into account the desired level of fault tolerance. [0005]
  • SUMMARY
  • In one aspect of the invention, a method of dynamically switching among a plurality of fault tolerance schemes is provided. The fault tolerance schemes are associated with a fault tolerance mechanism that executes in a distributed system. The method comprises obtaining a wait time of at least one user interface event occurring in the distributed system. The wait time includes at least one of a communications time, a service time and a fault tolerance time. The method further comprises determining whether a mean of the wait time is greater than a predetermined mean wait time threshold. The method also comprises determining whether the communications time, the service time and the fault tolerance time are mutually independent when the mean of the wait time is greater than the predetermined mean wait time threshold. In addition, the method comprises determining whether the mean of the wait time can be improved by reducing a mean of the fault tolerance time when the communications time, the service time and the fault tolerance time are mutually independent. The method also comprises switching from a first fault tolerance scheme to a second fault tolerance scheme when the wait time can be improved by reducing the mean of the fault tolerance time. [0006]
  • In another aspect of the invention, a fault tolerant distributed system capable of dynamically switching among a plurality of fault tolerance schemes associated with a fault tolerance mechanism is provided. The system comprises a means for obtaining a wait time of at least one user interface event occurring in the distributed system. The wait time includes at least one of a communications time, a service time and a fault tolerance time. The system further comprises a means for determining whether a mean of the wait time is greater than a predetermined mean wait time threshold. The system also comprises a means for determining whether the communications time, the service time and the fault tolerance time are mutually independent when the mean of the wait time is greater than the predetermined mean wait time threshold. In addition, the system comprises a means for determining whether the mean of the wait time can be improved by reducing a mean of the fault tolerance time when the communications time, the service time and the fault tolerance time are mutually independent. The system also comprises a means for switching from a first fault tolerance scheme to a second fault tolerance scheme when the wait time can be improved by reducing the mean of the fault tolerance time. [0007]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram of a model distributed system for implementing a method for dynamically switching fault tolerance schemes according to the present invention; [0008]
  • FIG. 2 is a block diagram showing events associated with the message logging schemes of the reliable messaging system of FIG. 1; [0009]
  • FIG. 3 is a block diagram showing a timeline of user interface events in the distributed system of FIG. 1; and [0010]
  • FIG. 4 is a flowchart for a method for dynamically switching fault tolerance schemes according to the present invention.[0011]
  • DETAILED DESCRIPTION OF THE DISCLOSED EMBODIMENTS
  • Reference will now be made in detail to an implementation of the present invention as illustrated in the accompanying drawings. The disclosed embodiments of the present invention are described below using a reliable messaging system as an exemplary fault tolerance mechanism having multiple fault tolerance schemes with different performance trade-offs. However, it should be readily understood that a reliable messaging system is not the only vehicle for implementing the present invention, and the present invention may be implemented in a distributed system using other types of fault tolerance mechanisms. For example, any checkpoint-based rollback-recovery techniques for a message passing distributed system, including uncoordinated, coordinated, or communication induced checkpointing, would work. [0012]
  • Computing devices connected to a network in a distributed system, server and client devices, can communicate with each other by sending and receiving messages across the network via a reliable messaging system. A reliable messaging system is a fault tolerant message based communication mechanism for use in distributed systems with applications that require a high degree of reliability, such as web services, remote procedure calls, e-commerce transactions, etc. For example, a reliable messaging system that supports asynchronous operation using point to point messaging or a centralized messaging or queuing server, i.e. imposes no limit on the time it [0013] 10 takes to send or receive messages over a network, allows interconnected devices to communicate with each other even if one of the devices is temporarily unavailable. Such a reliable messaging system can also reliably deliver messages according to application specified delivery semantics, such as at most once or at least once, in the presence of device and network failures.
  • In particular, a reliable messaging system can implement different types of message logging schemes that affect the type and extent of fault tolerance possible as well as the system performance. For example, both clients and servers in a distributed system have multiple options as to the direction of logging, including for outgoing messages only, for incoming messages only or for both directions. In addition, a client may perform message logging before sending an outgoing message, after sending an outgoing message or asynchronously. Likewise, a server may log messages before or after delivering an incoming message to the application or asynchronously. In addition to the types and extent of failures that can be tolerated, the direction and timing specified by different message logging schemes also affect the processing overhead incurred and the complexity involved in the recovery itself, which in turn affect the system performance. [0014]
  • Referring to FIG. 1, there is shown a model [0015] distributed system 10 that includes a network 12 connected to a client device 14 and a server device 16, which communicate with each other across the network using a reliable messaging system 18. The reliable messaging system 18 includes a client module 18a executing on the client 14 and a server module 18b executing on the server 16. In particular, a client application 20 that executes on the client 14 and a server application 22 that executes on the server 16 are components of a distributed application 24. The client and server applications 20 and 22 use message passing via the reliable messaging system 18 to coordinate distributed processing for the application 24. For example, the server application 22 may be a database engine that manages data storage and retrieval on the server 16, while the client application 20 may be a web browser responsible for presenting the data on the client 14. Together, the server and client application would form one distributed database application 24 from the user's perspective for the purpose of dynamically switching fault tolerance schemes according to the present invention.
  • While the model distributed [0016] system 10 of. FIG. 1 illustrates a client-server architecture, it should be understood that this architecture is meant to be illustrative, rather than limiting. Other types of distributed computing systems could also be used for dynamically switching fault tolerance schemes according to the present invention, and in particular the message logging schemes described further below. For example, multiple client devices may communicate to each other via the reliable messaging system 18 in a peer-to-peer or adhoc networking mode and multiple server devices also may communicate to each other via the reliable messaging system for back end processing.
  • According to one class of message logging schemes for the [0017] reliable messaging system 18, shown below in Table 1, messages can be logged to a persistent storage 26 on the client 14 and to a persistent storage 28 on the server 16. The client/server message logging schemes listed in Table 1 are identified by a sequence of events. Specifically, a scheme “xyz” refers to an assumption that event x takes place before event y which takes place before event z. Similarly, a scheme “xyz” means that event x takes place first followed by events y and z, which take place asynchronously. The following list of events are considered: the client application 20 generates an outgoing message, identified by the numeral “1”; the client 14 logs an outgoing message to a client persistent storage 26, identified by the numeral “2”; the client 14 sends an outgoing message or the server 16 receives an incoming message, identified by the numeral “3”; the server 16 logs an incoming message to a server persistent storage 28, identified by the numeral “4”; and the server 16 delivers an incoming message to a server application 22, identified by the numeral “5”. These events are illustrated graphically in FIG. 2.
  • The following shorthand notation is used to refer to entities that may be recovered due to failures: CD means that the client device is recoverable, SD means that the server device is recoverable, NT means that the network is recoverable, −X means that entity X (CD, SD or NT) is not recoverable, X (out) means that entity X (CD, SD or NT) may recover outgoing messages only, and X (in) means that entity X (CD, SD or NT) may recover incoming messages only X if Y means that entity X (CD, SD or NT) may be recovered only if entity Y (CD, SD or NT) is available at time of recovery. [0018]
    TABLE 1
    Scheme Recoverable Properties
    12345/54321 CD; SD; NT Easy recovery, performance overhead, more
    delay for application
    13254/53412 CD; SD; NT Easy recovery, performance overhead, least
    delay for application, small window of
    unrecoverable failures
    12345/54321 CD; SD; NT Complicated recovery, performance overhead,
    (asynchronous) less delay for application, small window of
    unrecoverable failures
    Senders Only NT; CD(out); Complicated recovery, recovery requires sync
    (process that CD(in) if SD, and extra message exchange, reduced
    sends/generates NT; SD(out); performance overhead (by half), slow down fast
    messages) SD(in) if CD, senders, small window of failure depending on
    1235/5431 NT synchrony and order
    1325/5341
    1235/5431
    Receiver Only NT; CD(in); Complicated recovery, recovery requires sync
    (process that CD(out) if and extra message exchange, reduced
    receives SD, NT; performance overhead (by half), receiver
    messages) SD(in); further slowed down, small window of failure
    1345/5321 SD(out) if depending on synchrony and order
    1345/5321 CD, NT
    1354/5312
    Both Sender, NT; CD(out); Complicated recovery, recovery may require
    One Receiver SD(out); sync, reduce performance overhead by 25%.
    12345/5431 CD or SD(in) Slow down fast senders, small window of
    1235/54321 failure depending on order/synchrony
    Both Receiver, NT; CD(in); Complicated recovery, recovery may require
    One Sender SD(in); CD sync, reduce performance overhead by 25%.
    12345/5321 or SD(out) Receiver further slowed, small failure window
    1345/54321 depending on synchrony/order
  • The client/server message logging schemes listed in Table 1 provide a relatively high level of fault tolerance for the model distributed [0019] system 10 of FIG. 1. But these schemes also incur a relatively high performance overhead since all incoming and outgoing messages on both the server 16 and the client 14 are logged. Client/server logging may be useful for applications that require highest degree of fault tolerance e.g. e-commerce transactions.
  • Alternatively, the model distributed [0020] system 10 shown in FIG. 1 may log messages to the persistent storage 26 on the client 14 only. Several client side logging schemes are possible, as shown below Table 2.
    TABLE 2
    Combination Recoverable Properties
    1235 CD(out); Easy recovery, performance overhead at client,
    -CD(in); NT; longer delay for server app, s (in) recovery may
    -SD (out); require sync and extra message exchange,
    SD(in) if CD, reduce overall performance overhead by 75%
    NT
    1325 CD(out); Easy recovery, performance overhead at client,
    -CD(in); NT; least delay for application, small window of
    -SD(out); unrecoverable failures, s (in) recovery requires
    SD(in) if CD, sync & msg exchange, reduce overall
    NT performance overhead by 75%
    1235 CD(out); Complicated recovery, performance overhead at
    -CD(in); NT; client, less delay for app, small window of
    -SD(out); unrecoverable failures, s (in) recovery requires
    SD(in) if CD, sync & msg exchange, reduce overall
    NT performance overhead by 75%
    5312 -CD(out); Complicated recovery for async, further slow
    5321 CD(in); NT; down receivers, small window of failure
    5312 -SD depending on synchrony and order, reduce
    overall performance overhead by 75%
    Both CD; NT; Complicated recovery, server recovery requires
    directions SD(in) if CD, sync and extra message exchange, reduce
    1235/5321 NT overall performance overhead (by half), small
    1235/5321 window of failure depending on synchrony and
    order
  • Client side logging schemes are useful in situations where the [0021] server 16 is overloaded or is unable to log messages and the client 14 has sufficient processing capabilities to perform message logging operations. These schemes may also be useful if client fault tolerance is more valuable than server fault tolerance to the recovery of an application in the presence of a fault. For example, if it is known that a server system is highly reliable while a client system (e.g. mobile terminal) is unreliable and suffers frequent transient failures, then client side logging schemes may be more important.
  • Likewise, the model distributed [0022] system 10 of FIG. 1 may log messages to the persistent storage 28 on the server 16 only, as shown below in Table 3.
    TABLE 3
    Combination Recoverable Properties
    5431 SD(out); Easy recovery, performance overhead at server,
    -SD(in); NT; longer delay for client app, c (in) recovery may
    -CD(out); require sync and extra message exchange,
    CD(in) if SD, reduce overall performance overhead by 75%
    NT
    5341 SD(out); Easy recovery, performance overhead at server,
    -SD(in); NT; least delay for client app, small window of
    -CD(out); unrecoverable failures, c (in) recovery requires
    CD(in) if SD, sync & msg exchange, reduce overall
    NT performance overhead by 75%
    5431 SD(out); Complicated recovery, performance overhead at
    -SD(in); NT; server, less delay for client app, small window of
    -CD(out); unrecoverable failures, c (in) recovery requires
    CD(in) if SD, sync & msg exchange, reduce overall
    NT performance overhead by 75%
    1345 -SD(out); Complicated recovery for async, further slow
    1354 SD(in); NT; down receivers, small window of failure
    1345 -CD depending on synchrony and order, reduce
    overall performance overhead by 75%
    Both SD; NT; Complicated recovery, client recovery requires
    directions CD(in) if SD, sync and extra message exchange, reduce
    5431/1345 NT overall performance overhead (by half), small
    5431/1345 window of failure depending on synchrony and
    order
  • The class of server side logging schemes is useful in situations where the [0023] client 14 is overloaded or is unable to log messages and the server 16 has adquate processing capabilities to perform message logging operations. In addition, the server 16 may have specialized processing capabilities for logging messages, including dedicated hardware resources that reduce the burden on the server's main processor, which services user requests from the client. Server side logging schemes may also be appropriate if server fault tolerance is more useful than client fault tolerance in order to tolerate failures, such as with a transaction server. The fault tolerance properties provided by server side logging schemes are symmetric to those of client side logging schemes, but the performance properties of server side logging may be different from client side logging because server and client devices typically have different hardware resources.
  • In order to explain the performance improvements made possible by switching fault tolerance schemes according to the present invention, a timeline for user interactions with an application is shown in FIG. 3. A user moves through alternate think times TT and wait times W while interacting with an application. At the end of each think time, the user sends a request to the application and waits for a reply. This is referred to as a user interface event. For example, users can request information from the application using a web browser by posting web page forms or by clicking on Uniform Resource Locator (“URL”) link to get a web page. These actions are referred to as user interface events. The application typically waits in a loop for requests from the user. On receiving a request, the application may perform computations and access data to fulfill the user's request. It will then send back a reply to the user. [0024]
  • The wait time W of a user interface event is the time associated with processing a user request for the event. It is known that the mean and variance of the wait times affect a user's perception of the performance of a system. As described in greater detail further below, a fault tolerance switching algorithm according to the present invention can switch fault tolerance schemes based on measured wait times in order to improve the user perceived system performance. [0025]
  • Referring again to the model distributed [0026] system 10 of FIG. 1, a user can operate the client application 20 to send a request to the server application 22 via the reliable messaging system 18. In this case, the wait time W of user interface event for the distributed application 24 can be broken down into 1) the total time spent in communications between the client 14 and server 16, 2) the total service time to fulfill the user request, including the time spent in computation and data input/output operations by the requested server application 22, and 3) the total time spent in fault tolerance, including the time spent in fault tolerance on the client 14 and the server 16.
  • Accordingly, the following calculation can be made:[0027]
  • W=C+S+FT  (1)
  • Where: [0028]
  • W is the wait time; [0029]
  • C is the total time spent in communications and it is the sum of communication times in both directions, C[0030] 1 and C2;
  • S is the total service time and it is the sum of time spent in computation plus data I/O time; and [0031]
  • FT is the total time spent in fault tolerance and it is the sum of the total fault tolerance time on the server, FT[0032] 2 and FT3, and the total fault tolerance time on the client, FT1 and FT4.
  • If the parameters C, S and FT are continuous random variables, then the following relationships hold for their means:[0033]
  • m(W)=m(C)+m(S)+m(FT)  (2)
  • Where: [0034]
  • m(W) is the mean of the wait time; [0035]
  • m(C) is the mean of the total time spent in communications; [0036]
  • m(S) is the mean of the total service time; and [0037]
  • m(FT) is the mean of the total time spent in fault tolerance; Moreover, if the parameters C, S and FT are also mutually independent, then the following relationship holds for their variances:[0038]
  • v(W )= v(C)+v(S)+v(FT)  (3)
  • Where: [0039]
  • v(W) is the variance of the wait time; [0040]
  • v(C) is the variance of the total time spent in communications; [0041]
  • v(S) is the variance of the total service time; and [0042]
  • v(FT) is the variance of the total time spent in fault tolerance. [0043]
  • However, those skilled in the art will recognize that these calculations are equally applicable to other configurations of the distributed [0044] application 24 in the model distributed system 10 of FIG. 1, such as when a user operates one client to request an application that will execute remotely on another client.
  • The significance of the restriction of mutual independence on the parameters C, S, and FT is that it allows each of their means, and also each of their variances, to be optimized independently of each other according to Equation (2) and Equation (3). We treat the parameters C, S and FT as mutually independent up to certain thresholds, after which the condition no longer holds, based on the following observations. [0045]
  • First, the time spent in communications (C) is generally independent of the service time (S). However, the service time (S) at any given instant can depend on the current load on the [0046] server 16 or device processing the user request. In other words, the load on the server may be so great that the server is computationally too busy to timely process additional user requests. But the server load itself is dependant on the number of messages (N) being passed between the server 16 and the client 14. As a result, the service time (S) can be dependent on the number of messages (N). Similarly, the time spent in communications (C) can also depend on the number of messages (N) broadcast over the network 12 because network bandwidth can limit the amount of traffic carried by the network. Accordingly, when the number of messages (N) increases above a certain threshold, the service time (S) may increase because of the increased load on the server and the time spent in network communication (C) may increase because of network congestion. Therefore, there is an indirect relationship between the service time (S) and the time spent in communications (C) because of their mutual dependence on the number of messages (N).
  • Second, the time spent in communications(C) is generally independent of the time spent in fault tolerance (FT). However, the time spent in fault tolerance (FT), which includes the fault tolerance times on the [0047] client 14 and the server 16, can also depend at any given instant on the load on the server and the client. Therefore, the time spent in fault tolerance (FT) can depend on the number of messages (N) being passed between the client 14 and the server 16. As a result, there is an indirect relationship between the time spent in communications(C) and the time spent in fault tolerance (FT) because of their mutual dependence on the number of messages (N).
  • Third, while the time spent in fault tolerance (FT) is generally independent of the service time (S), again there is an indirect relationship between the parameters FT and S because of their mutual dependence on the number of messages (N). [0048]
  • These observations lead to the assumption that the parameters C, S and FT are mutually independent up to a certain threshold of the number of messages (N), after which they may become mutually dependant. The implication of this assumption is that it is possible to optimize the mean wait time (m(W)) by switching fault tolerance schemes to reduce any one of the parameters m(C), m(S) and m(FT) as long as the parameters C, S and FT are mutually independent. As soon as the mutual independence condition no longer holds, it becomes necessary to take into account the effect of switching fault tolerance schemes on each of the parameters m(C), m(S) and m(FT) in order to determine the overall effect on the mean wait time (m(W)) and the perceived system performance. [0049]
  • An implementation of an [0050] algorithm 30 for dynamically switching fault tolerance schemes based on wait times according to the present invention is illustrated using a decision tree in FIG. 4. This implementation is described in reference to the model distributed system of FIG. 1, for which wait times (W) are associated with user requests from the client application 20 to the server application 22. The switching algorithm 30 can execute continuously on the client 14 and the server 16 in order to switch message logging schemes for the reliable messaging system 18. Therefore, the switching algorithm may switch message logging schemes when the server application 22 is first requested or dynamically during its execution. When the switching algorithm 30 executes simultaneously on the client 14 and the server 16, any conflict between the two devices regarding the desired fault tolerance scheme can be resolved using a handshake protocol. The handshake protocol would allow the client 14 and the server 16 to exchange messages that enable them to agree on the fault tolerance scheme to be used.
  • As a [0051] first block 32, the switching algorithm 30 obtains values of measured wait times W and calculates a value of the mean wait time (m(W))for an application. For example, the client 14 and server 16 in the distributed system of FIG. 1 can use timestamps for actions associated with user interface events of the distributed application 24 in order to measure wait times (W). Specifically, an HTML based client 14 can intercept all HTTP “GET” and “POST” requests from a web browser type client application 20 to the server application 22. When a “GET” or “POST” request is issued, the client 14 takes a first timestamp. When the “GET” or “POST” request returns and the reply generated by the server application is displayed using the browser, a second timestamp is taken by the client 14. The measured wait time (W) in this case is the difference between the second and first timestamps. The mean wait time (m(W) then is calculated from a plurality of measured values for wait times (W) using known statistical methods.
  • When the distributed [0052] application 24 begins execution, the switching algorithm 30 can obtain previously measured wait times W or a mean wait time (m(W)) from past runs of the distributed application. Once the distributed application 24 is executing, the switching algorithm 30 can calculate the mean wait time (m(W)) using current values of wait times W measured during the run in progress.
  • Next, the switching [0053] algorithm 30 determines whether the mean wait time (m(W)) is greater than a predetermined mean wait time threshold (T(W)) at block 34. The mean wait time threshold value (T(W)) can be set, for example, by a developer of the distributed application 24, a user interacting with the client 14, or a system administrator maintaining the server 16. Generally, the mean wait time threshold value (T(W)) will be the same for each component of the distributed application 24. However, priority can be assigned in the following order (highest to lowest): user preferences, system administrator, and application developer. Accordingly, the application developer may provide an initial value for the mean wait time threshold value (T(W)), which can be changed by the system administrator or the user. Once a mean wait time threshold is changed, the new threshold value is communicated to all devices executing the distributed application 24.
  • Several factors may influence the choice of a particular value for the mean wait time threshold (T(W)). For example, an application developer may select a mean wait time threshold value for an application based on the type of application. Accordingly, an interactive real-time network game may have a smaller mean wait time threshold, for example about 3 to 6 milliseconds, than a database application accessible via a web browsing application, which may have a mean wait time threshold of about 1 to 3 seconds. Also, user preferences for higher performance or more reliability may prompt a user to select a different value for the mean wait time threshold (T(W)) than the value selected by the application developer. Furthermore, the system administrator, for example, may change the mean wait time threshold (T(W)) in order to increase the server capacity. [0054]
  • In addition to providing the mean wait time threshold (T(W)) on a per application basis, the application developer, the user and the system administrator can provide a separate mean wait time threshold (T(W)) for different classes of user interface events of the application. In the latter case, wait times (W) could be measured for each class of user interface events associated with the application. The [0055] switching algorithm 30 then can determine whether the mean wait time for a particular class of user interface events is greater than a predetermined threshold and perform the functions described below in connection with different classes of user interface events rather than per application. Moreover, the user can override the mean wait time threshold(T(W)) set by the application developer at any time and ask for smaller wait times, possibly at the cost of less reliability, or more reliability, possibly at the cost of higher wait times.
  • Alternatively, the mean wait time threshold (T(W)) can be set based on a user profile. Specifically, a first user may find a given amount of wait time acceptable whereas a second user may find the same mean wait time threshold unacceptable, even for the same application. Therefore, a user profile that includes a mean wait time threshold value may be created based on a user's own perception of system performance. The user profile may specify the mean wait time threshold value on a per application basis. The user profile also may specify a mean wait time threshold value on a per application type basis, i.e., for different classes of related applications. Alternatively, the user profile may specify a value for the mean wait time threshold on a per device basis, such that the same mean wait time threshold is used by the algorithm when executing on a device regardless of the application requested. [0056]
  • It should be understood that the [0057] switching algorithm 30 also could calculate the variance of the measured wait times (W). The switching algorithm could then compare the variance wait time (v(W)), rather than the mean wait time (m(W)), with a predetermined variance wait time threshold.
  • Wait Time Threshold Exceeded
  • If the [0058] switching algorithm 30 determines that the mean wait time threshold (T(W)) has been exceeded at block 34, then the algorithm obtains values for the time spent in communications (C), the service time (S) and the time spent in fault tolerance (FT) at block 36. Those skilled in the art will recognize that, similar to the measurement of wait times W described above, the parameters C, S and FT can be measured using timestamps for actions associated with the communication process, the processing of a user request, and the fault tolerance mechanism respectively. For example, the client 14 and server 16 in the distributed system of FIG. 1 can calculate the time spent in fault tolerance (FT) for the reliable messaging system 18 by using timestamps at the start and end of a message logging operation.
  • Based on the measured values of the time spent in communications (C), the service time (S) and the time spent in fault tolerance (FT), the switching [0059] algorithm 30 will determine whether these parameters are mutually independent of each other at block 38. The determination of mutual independence for C, S and FT is dependant on the execution environment of the distributed application 24, the hardware resources, processing power, memory resources of the client 14 and the server 16. For a given execution environment, the parameters C, S and FT will be mutually independent up to a predetermined threshold value (T(N)) for the number of messages (N), as described above. Once the number of messages (N) exceeds the message threshold T(N), the parameters C, S, and FT are no longer treated as mutually independent. The value for the message threshold T(N) may be determined experimentally for a distributed application 24 in combination with different execution environments. That value then could be used for future execution of the distributed application 24 in similar environments.
  • If the parameters C, S and FT are mutually independent of each other, then the [0060] switching algorithm 30 will determine whether the mean wait time (m(W)) can be improved by reducing the mean time spent in fault tolerance (m(FT)) at block 40. In particular, the algorithm will determine whether the value of the mean time spent in fault tolerance (m(FT)) as a percentage of the mean wait time (m(W)) exceeds a predetermined threshold for fault tolerance (T(FT)). A value for the fault tolerance threshold (T(FT)) can be specified by a system administrator or the distributed application 24, for example.
  • If the fault tolerance threshold (T(FT)) for the current fault tolerance scheme is exceeded at [0061] block 40, then the switching algorithm 30 may switch fault tolerance schemes at block 42. The criteria for selecting a different fault tolerance scheme can include a set of predetermined requirements provided by the distributed application 24. For example, the distributed application may specify that a specific predetermined fault tolerance scheme is to be utilized whenever the fault tolerance threshold (T(FT)) is exceeded. A handshake protocol can ensure that the server and client are in agreement on the desired fault tolerance scheme that is to replace the existing scheme.
  • In addition, the criteria for selecting a fault tolerance scheme can be based on the implementation costs of different fault tolerance schemes. The implementation cost of a fault tolerance scheme is defined by the sum of the service time (S) and the time spent in fault tolerance (FT). The communication time (C) is ignored in these calculations. Implementation costs can be determined using timestamps to measure the service time (S) and the time spent in fault tolerance (FT). Devices forming part of a distributed system can then store and share implementation costs for various fault tolerance schemes. Implementation costs can be measured for individual fault tolerance schemes or for a class of fault tolerance schemes. The switching algorithm can use these implementation costs for different fault tolerance schemes to determine which of the schemes to select once the fault tolerance threshold (T(FT)) is exceeded. Accordingly, a new fault tolerance scheme that has a lower implementation cost than the current fault tolerance scheme may be selected in order to improve the mean wait time (m(W)). [0062]
  • For example, the [0063] reliable messaging system 18 may be using a message logging scheme in which the client 14 and the server 16 both log messages in both directions, i.e. incoming and outgoing messages. This scheme provides a relatively high level of fault tolerance as it allows recovery from failures of the client 14, server 16 and network 12. However, it also has a relatively high implementation cost because it requires multiple writes to persistent storage for storing messages and therefore requires more time spent in fault tolerance. In contrast, a scheme in which message logging is only performed while sending messages allows for complete recovery of any outgoing messages at the server 16 and client 14, but will recover received (incoming) messages at either the server or client only if the other entity is running and the network is available at the time of recovery. But, this scheme will have relatively lower implementation costs because it has one half the overhead of the previous scheme, which logged messages in both directions. Therefore, the switching algorithm may switch from the former to the latter message logging scheme in order to improve wait times if the fault tolerance threshold is exceeded.
  • Switching fault tolerance schemes may result in changing the reliability guarantees of the system. The [0064] switching algorithm 30 may consider for switching only those fault tolerance schemes that provide the same level of reliability as the scheme in use at the time that the determination is made. However, the algorithm allows the distributed application 24 or a user to specify otherwise. For example, an application may direct the algorithm to select fault tolerance schemes that will improve the mean wait time (m(W)) even though the chosen scheme provides less reliability than the fault tolerance scheme in use at the time of the determination. If the algorithm switches fault tolerance schemes at block 42, it will notify the distributed application 24, including the client application 20 and the server application 22, of any changes in reliability guarantees as well as any performance ramifications associated with the new fault tolerance scheme at block 44.
  • If the values of the parameters C, S and FT are determined to be mutually dependant on each other at [0065] block 38, than the switching algorithm will determine the cost of fault tolerance for the fault tolerance scheme in use at block 46. In other words, the switching algorithm will need to determine the effect that the time spent in fault tolerance (FT) is having on the time spent in communication (C), the time spent in service (S) and ultimately the wait time (W). If the algorithm determines that the current fault tolerance scheme has a significant impact, which is described in greater detail below, on the time spent in communication (C) and the time spent in service (S) at block 48, then the algorithm may switch the current fault tolerance scheme at block 50 and notify the distributed application 24, including the client application 20 and the server application 22, of any changes in reliability guarantees as well as any performance ramifications at block 52. The criteria for selecting a fault tolerance scheme at block 50 can be provided by the distributed application 24 or may be based on the implementation costs of different fault tolerance schemes, as described above. Otherwise, if the switching algorithm determines that the current fault tolerance scheme is not responsible for the unacceptable wait time at block 48, it will not switch fault tolerance schemes.
  • Significant impact is defined as an effect of a fault tolerance scheme on the time spent in communication (C) and the time spent in service (S) that raises the values of these parameters such that the mean wait time (m(W)) increases beyond the mean wait time threshold (T(W)), even if the time spent in fault tolerance (FT) may be comparably less than the time spent in communication (C) and the time spent in service (S). [0066]
  • In order to determine whether the current fault tolerance scheme is having a significant impact on the time spent in communication (C) and the time spent in service (S) at block [0067] 48, the switching algorithm 30 obtains two sets of values for wait times W from past runs of the distributed application 24 for a given number of messages (N) that is sufficiently large to make the parameters C, S and FT mutually dependant. The first set of wait time values corresponds to a past run of the distributed application 24 in combination with the current fault tolerance scheme. The second set of wait time values corresponds to a past run of the distributed application 24 without a fault tolerance scheme in place. For example, the client 14 and server 16 in the distributed system of FIG. 1 can measure and store wait times values for the distributed application 24 in a non-volatile, machine readable medium that can be accessed by the switching algorithm, such as the persistent storage 26 or the persistent storage 28, for different types of message logging schemes of the reliable message logging system 18 and various values of the number of messages (N). The switching algorithm then calculates the mean wait time with the fault tolerance scheme in place (m(W_FT)) and the mean wait time without the fault tolerance scheme (m(W_noFT)). If m(W_noFT) is less than the mean wait time threshold (T(W)) and the difference between m(W_FT) and m(W_noFT) is greater than a predetermined percentage amount, for 10 example about 20%, of m(W_FT), then the algorithm determines that the current fault tolerance scheme has a significant impact on the time spent in communication (C) and the time spent in service (S) and attempts to switch fault tolerance schemes. It should be understood that the value of 20% is meant to be illustrative, rather than limiting, and that other values could work also.
  • Wait Time Threshold Not Exceeded
  • If the mean wait time (m(W)) is less than the predetermined wait time threshold (T(W)) at [0068] block 34, then the switching algorithm will determine whether the user or the distributed application 24 requires more reliability than what the current fault tolerance scheme can provide at block 54.
  • For example, the [0069] client application 20 in FIG. 1 may request a fault tolerance scheme that is more reliable than the fault tolerance scheme currently in use. Alternatively, the server application 22 in the model distributed system 10 of FIG. 1 may have requested a client/server logging scheme when it began execution. However, in order to improve wait times, the switching algorithm 30 may have subsequently switched to a client side logging scheme if the mean wait time (m(W)) increased above the predetermined mean wait time threshold (T(W)). At some time thereafter, the mean wait time could fall below the predetermined mean wait time threshold. The switching algorithm would then determine whether to switch back to the client/server logging scheme initially requested by the server application 22.
  • If a more reliable fault tolerance scheme is desired, the switching [0070] algorithm 30 will determine whether the desired fault tolerance scheme can meet the mean wait time threshold (T(W)) at block 56. In particular, the algorithm determines whether switching fault tolerance schemes will cause the mean wait time (m(W)) to rise above the mean wait time threshold value (T(W)) by a predetermined delta amount (d(W)). The switching algorithm can calculate the expected mean wait time for the desired fault tolerance scheme using past measurements of wait times associated with that fault tolerance scheme. If more than one fault tolerance scheme is available to choose from, the selection criteria can be based on the implementation costs of the different fault tolerance schemes or may be provided by the distributed application 24, as described above.
  • If it is determined that the switching to the more reliable fault tolerance scheme will not exceed the mean wait time threshold by more than the predetermined delta amount (d(W)), then the algorithm will switch fault tolerance schemes at [0071] block 58 and notify the distributed application 24 of any changes in reliability guarantees as well as any performance ramifications at block 60.
  • Although the invention has been described and illustrated with reference to specific illustrative embodiments thereof, it is not intended that the invention be limited to those illustrative embodiments. Those skilled in the art will recognize that variations and modifications can be made without departing from the true scope and spirit of the invention as defined by the claims that follow. It is therefore intended to include within the invention all such variations and modifications as fall within the scope of the appended claims and equivalents thereof. [0072]

Claims (18)

We claim:
1. A method of dynamically switching among a plurality of fault tolerance schemes associated with a fault tolerance mechanism that executes in a distributed system, the method comprising:
obtaining a wait time of at least one user interface event occurring in said distributed system, said wait time including at least one of a communications time, a service time and a fault tolerance time;
determining whether a mean of said wait time is greater than a predetermined mean wait time threshold;
determining whether said communications time, said service time and said fault tolerance time are mutually independent when said mean of said wait time is greater than said predetermined mean wait time threshold;
determining whether said mean of said wait time can be improved by reducing a mean of said fault tolerance time when said communications time, said service time and said fault tolerance time are mutually independent; and
switching from a first of said plurality of fault tolerance schemes to a second of said plurality of fault tolerance schemes when said wait time can be improved by reducing said mean of said fault tolerance time.
2. The method of claim 1 wherein said mean wait time threshold is set by an application associated with said at least one user interface event.
3. The method of claim 2 wherein said application specifies said mean wait time threshold per class of user interface events associated with said application.
4. The method of claim 2 wherein said mean wait time threshold set by said application can be changed by a user of said application.
5. The method of claim 1 wherein said mean wait time threshold is set using a profile of a user of an application associated with said at least one user interface event.
6. The method of claim 5 wherein said mean wait time threshold is set using said user profile on a per device basis.
7. The method of claim 1 wherein said determining whether said communications time, said service time and said fault tolerance time are mutually independent includes determining whether a number of messages being passed between devices executing an application associated with said at least one user interface event exceeds a predetermined message threshold.
8. The method of claim 1 wherein said determining whether said mean of said wait time can be improved by reducing a mean of said fault tolerance time includes determining whether said mean of said fault tolerance time as a percentage of said mean of said wait time is greater than a predetermined fault tolerance threshold.
9. The method of claim 1 wherein said switching from a first of said plurality of fault tolerance schemes to a second of said plurality of fault tolerance schemes further includes selecting said second fault tolerance scheme based on a set of requirements specified by an application associated with said at least one user interface event.
10. The method of claim 1 wherein said switching from a first of said plurality of fault tolerance schemes to a second of said plurality of fault tolerance schemes further includes selecting said second fault tolerance scheme based on implementation costs associated with at least one of said first and second fault tolerance schemes.
11. The method of claim 1 further comprising:
determining a cost for said first fault tolerance scheme when said communications time, said service time and said fault tolerance time are not mutually independent;
determining whether said first fault tolerance scheme has a significant impact on said communication time and said service time; and
switching from said first fault tolerance schemes to a third of said plurality of fault tolerance schemes when said significant impact is determined.
12. The method of claim 11 wherein said significant impact is defined as an effect on said communications time and service time that causes said mean wait time to, increase above said mean wait time threshold.
13. The method of claim 11 further comprising:
determining whether an application associated with said at least one user interface event requires an increased level of fault tolerance when said mean of said wait time is not greater than a predetermined mean wait time threshold;
determining whether at least one fault tolerance scheme having said increased level of fault tolerance can meet said mean wait time threshold; and
switching from said first fault tolerance schemes to select one of said at least one fault tolerance scheme having said increased level of fault tolerance.
14. The method of claim 13 further comprising notifying an application associated with said at least one user interface event of a decision to switch fault tolerance schemes.
15. A fault tolerant distributed system capable of dynamically switching among a plurality of fault tolerance schemes associated with a fault tolerance mechanism, the system comprising:
means for obtaining a wait time of at least one user interface event occurring in said distributed system, said wait time including a communications time, a service time and a fault tolerance time;
means for determining whether a mean of said wait time is greater than a predetermined mean wait time threshold;
means for determining whether said communications time, said service time and said fault tolerance time are mutually independent when said mean of said wait time is greater than said predetermined mean wait time threshold;
means for determining whether said mean of said wait time can be improved by reducing a mean of said fault tolerance time when said communications time, said service time and said fault tolerance time are mutually independent; and
means for switching from a first of said plurality of fault tolerance schemes to a second of said plurality of fault tolerance schemes when said wait time can be improved by reducing said mean of said fault tolerance time.
16. The system of claim 15 further comprising:
means for determining a cost for said first fault tolerance scheme when said communications time, said service time and said fault tolerance time are not mutually independent;
means for determining whether said first fault tolerance scheme has a significant impact on said communication time and said service time; and
means for switching from said first fault tolerance schemes to a third of said plurality of fault tolerance schemes when said significant impact is determined.
17. The system of claim 16 further comprising:
means for determining whether an application associated with said at least one user interface event requires an increased level of fault tolerance when said mean of said wait time is not greater than a predetermined mean wait time threshold;
means for determining whether at least one fault tolerance scheme having said increased level of fault tolerance can meet said mean wait time threshold; and
means for switching from said first fault tolerance schemes to select one of said at least one fault tolerance scheme having said increased level of fault tolerance.
18. The system of claim 17 further comprising means for notifying an application associated with said at least one user interface event of a decision to switch fault tolerance schemes.
US10/817,112 2002-09-13 2004-04-01 Method for dynamically switching fault tolerance schemes Expired - Lifetime US7243263B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/817,112 US7243263B2 (en) 2002-09-13 2004-04-01 Method for dynamically switching fault tolerance schemes

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/243,083 US6745339B2 (en) 2002-09-13 2002-09-13 Method for dynamically switching fault tolerance schemes
US10/817,112 US7243263B2 (en) 2002-09-13 2004-04-01 Method for dynamically switching fault tolerance schemes

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/243,083 Continuation US6745339B2 (en) 2002-09-13 2002-09-13 Method for dynamically switching fault tolerance schemes

Publications (2)

Publication Number Publication Date
US20040205373A1 true US20040205373A1 (en) 2004-10-14
US7243263B2 US7243263B2 (en) 2007-07-10

Family

ID=31991545

Family Applications (2)

Application Number Title Priority Date Filing Date
US10/243,083 Expired - Lifetime US6745339B2 (en) 2002-09-13 2002-09-13 Method for dynamically switching fault tolerance schemes
US10/817,112 Expired - Lifetime US7243263B2 (en) 2002-09-13 2004-04-01 Method for dynamically switching fault tolerance schemes

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/243,083 Expired - Lifetime US6745339B2 (en) 2002-09-13 2002-09-13 Method for dynamically switching fault tolerance schemes

Country Status (4)

Country Link
US (2) US6745339B2 (en)
JP (1) JP4515262B2 (en)
AU (1) AU2003272325A1 (en)
WO (1) WO2004025890A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112136A1 (en) * 2004-11-24 2006-05-25 Hewlett-Packard Development Company, L.P. Method and apparatus for managing data transfer in a computer memory
US7702739B1 (en) * 2002-10-01 2010-04-20 Bao Tran Efficient transactional messaging between loosely coupled client and server over multiple intermittent networks with policy based routing
US20120324033A1 (en) * 2011-06-15 2012-12-20 Electronics And Telecommunications Research Institute Apparatus and method of performing discovery based on priority level in distributed network, and method of determining discovery back-off time
US8949653B1 (en) * 2012-08-03 2015-02-03 Symantec Corporation Evaluating high-availability configuration

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118686A1 (en) * 2001-02-26 2002-08-29 Sudeep Gupta Multi-homing proxy apparatus, and associated method, for digital communication network
US6745339B2 (en) * 2002-09-13 2004-06-01 Docomo Communications Laboratories Usa, Inc. Method for dynamically switching fault tolerance schemes
US7693952B2 (en) * 2003-03-27 2010-04-06 Microsoft Corporation Availability and scalability in a messaging system in a manner transparent to the application
ATE373913T1 (en) * 2003-06-24 2007-10-15 Research In Motion Ltd SERIALIZATION OF A DISTRIBUTED APPLICATION OF A ROUTER
US7440553B2 (en) * 2004-02-04 2008-10-21 Samsung Electronics Co., Ltd. Apparatus and method for checkpointing a half-call model in redundant call application nodes
US7885182B2 (en) * 2004-05-14 2011-02-08 Arris Group, Inc. Method for fast recovery from ring protection switches on DOCSIS networks
US10409353B2 (en) * 2013-04-17 2019-09-10 Qualcomm Incorporated Dynamic clock voltage scaling (DCVS) based on application performance in a system-on-a-chip (SOC), and related methods and processor-based systems
RU170236U1 (en) * 2016-09-19 2017-04-18 Федеральное государственное бюджетное образовательное учреждение высшего образования "Томский государственный университет систем управления и радиоэлектроники" (ТУСУР) RESERVED MULTI-CHANNEL COMPUTER SYSTEM

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5367668A (en) * 1993-02-26 1994-11-22 Stratus Computer, Inc. Method and apparatus for fault-detection
US6446218B1 (en) * 1999-06-30 2002-09-03 B-Hub, Inc. Techniques for maintaining fault tolerance for software programs in a clustered computer system
US6453468B1 (en) * 1999-06-30 2002-09-17 B-Hub, Inc. Methods for improving reliability while upgrading software programs in a clustered computer system
US6745339B2 (en) * 2002-09-13 2004-06-01 Docomo Communications Laboratories Usa, Inc. Method for dynamically switching fault tolerance schemes
US20040111510A1 (en) * 2002-12-06 2004-06-10 Shahid Shoaib Method of dynamically switching message logging schemes to improve system performance

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5280607A (en) * 1991-06-28 1994-01-18 International Business Machines Corporation Method and apparatus for tolerating faults in mesh architectures
US5828847A (en) * 1996-04-19 1998-10-27 Storage Technology Corporation Dynamic server switching for maximum server availability and load balancing
US5963540A (en) * 1997-12-19 1999-10-05 Holontech Corporation Router pooling in a network flowswitch
US6195680B1 (en) * 1998-07-23 2001-02-27 International Business Machines Corporation Client-based dynamic switching of streaming servers for fault-tolerance and load balancing
DE19835216B4 (en) * 1998-08-05 2005-10-27 Systemonic Ag Processor and method for parallel data processing
US6674713B1 (en) * 1999-02-23 2004-01-06 Cisco Technology, Inc. Method and apparatus for providing continuous voice and call communications between a data network and a telephony network
RU2262202C2 (en) * 1999-11-29 2005-10-10 Самсунг Электроникс Ко., Лтд. Device and method for assigning common packet channel in mobile communications system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5367668A (en) * 1993-02-26 1994-11-22 Stratus Computer, Inc. Method and apparatus for fault-detection
US6446218B1 (en) * 1999-06-30 2002-09-03 B-Hub, Inc. Techniques for maintaining fault tolerance for software programs in a clustered computer system
US6453468B1 (en) * 1999-06-30 2002-09-17 B-Hub, Inc. Methods for improving reliability while upgrading software programs in a clustered computer system
US6745339B2 (en) * 2002-09-13 2004-06-01 Docomo Communications Laboratories Usa, Inc. Method for dynamically switching fault tolerance schemes
US20040111510A1 (en) * 2002-12-06 2004-06-10 Shahid Shoaib Method of dynamically switching message logging schemes to improve system performance

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702739B1 (en) * 2002-10-01 2010-04-20 Bao Tran Efficient transactional messaging between loosely coupled client and server over multiple intermittent networks with policy based routing
US20060112136A1 (en) * 2004-11-24 2006-05-25 Hewlett-Packard Development Company, L.P. Method and apparatus for managing data transfer in a computer memory
US8108560B2 (en) * 2004-11-24 2012-01-31 Hewlett-Packard Development Company, L.P. Method and apparatus for managing data transfer in a computer memory
US20120324033A1 (en) * 2011-06-15 2012-12-20 Electronics And Telecommunications Research Institute Apparatus and method of performing discovery based on priority level in distributed network, and method of determining discovery back-off time
US9009248B2 (en) * 2011-06-15 2015-04-14 Electronics And Telecommunications Research Institute Apparatus and method of performing discovery based on priority level in distributed network, and method of determining discovery back-off time
US8949653B1 (en) * 2012-08-03 2015-02-03 Symantec Corporation Evaluating high-availability configuration

Also Published As

Publication number Publication date
US6745339B2 (en) 2004-06-01
JP4515262B2 (en) 2010-07-28
AU2003272325A1 (en) 2004-04-30
JP2005539312A (en) 2005-12-22
US20040054942A1 (en) 2004-03-18
US7243263B2 (en) 2007-07-10
WO2004025890A1 (en) 2004-03-25

Similar Documents

Publication Publication Date Title
US20040103194A1 (en) Method and system for server load balancing
EP3503503B1 (en) Health status monitoring for services provided by computing devices
US6330605B1 (en) Proxy cache cluster
Fetzer et al. On the possibility of consensus in asynchronous systems with finite average response times
US7152180B2 (en) Configurable reliable messaging system
Dolev et al. Early delivery totally ordered multicast in asynchronous environments
Birman et al. Bimodal multicast
Meng et al. State monitoring in cloud datacenters
US7581006B1 (en) Web service
US6745339B2 (en) Method for dynamically switching fault tolerance schemes
US7266607B2 (en) Quasi-high availability hosted applications
JPH11102299A (en) Method and system for highly reliable remote object reference management
EP1762069B1 (en) Method of selecting one server out of a server set
US20040111510A1 (en) Method of dynamically switching message logging schemes to improve system performance
Urbán et al. Comparison of failure detectors and group membership: Performance study of two atomic broadcast algorithms
WO2015120489A1 (en) Methods and systems for providing failover and failback in a multi-network router
Chawathe et al. System support for scalable and fault tolerant internet services
Aghdaie et al. CoRAL: A transparent fault-tolerant web service
Friedman et al. Using group communication technology to implement a reliable and scalable distributed in coprocessor
Balakrishnan et al. Slingshot: Time-CriticalMulticast for Clustered Applications
Dolev et al. Total ordering of messages in broadcast domains
Paris et al. A high performance erlang TCP/IP stack
Le Lann et al. How to maximize computing systems coverage
Sens et al. Stab-FD: a cooperative and adaptive failure detector for wide area networks
Friedman et al. Using group communication technology to implement a reliable andscalable distributed in coprocessor

Legal Events

Date Code Title Description
AS Assignment

Owner name: NTT DOCOMO, INC., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:DOCOMO COMMUNICATIONS LABORATORIES USA, INC.;REEL/FRAME:017228/0787

Effective date: 20051107

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12