Method of dynamically switching message logging schemes to improve system performance
First Claim
1. A method of dynamically switching message logging schemes to improve performance of a distributed system, the distributed system including a client device and a server device that communicate by sending and receiving messages across a network, the client device capable of executing a client-side message logging scheme and the server device capable of executing a server-side message logging scheme, the method comprising:
- measuring an application response time for an application that executes using said client device and said server device;
measuring a system load for said server device;
measuring a network delay for said messages;
selecting said client-side message logging scheme when said application response time is greater than an application response time threshold and said system load is greater than a system load threshold and said network delay is less than a network delay threshold;
selecting both said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is less than said system load threshold and said network delay is greater than said network delay threshold;
selecting at least one of said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is less than said system load threshold and said network delay is less than said network delay threshold; and
selecting both said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is greater than said system load threshold and said network delay is greater than said network delay threshold.
2 Assignments
0 Petitions
Accused Products
Abstract
In one aspect of the invention, a method of dynamically switching message logging schemes to improve performance of a distributed system is provided. The distributed system includes a client device and a server device that communicate by sending and receiving messages across a network. The method includes measuring a system load for the server and a network delay for the messages transmitted between the client and the server. The method further includes selecting at least one of a client-side message logging scheme and a server-side message logging scheme based on a determination of whether the system load is greater than a system load threshold and whether the network delay is greater than a network delay threshold.
-
Citations
23 Claims
-
1. A method of dynamically switching message logging schemes to improve performance of a distributed system, the distributed system including a client device and a server device that communicate by sending and receiving messages across a network, the client device capable of executing a client-side message logging scheme and the server device capable of executing a server-side message logging scheme, the method comprising:
-
measuring an application response time for an application that executes using said client device and said server device;
measuring a system load for said server device;
measuring a network delay for said messages;
selecting said client-side message logging scheme when said application response time is greater than an application response time threshold and said system load is greater than a system load threshold and said network delay is less than a network delay threshold;
selecting both said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is less than said system load threshold and said network delay is greater than said network delay threshold;
selecting at least one of said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is less than said system load threshold and said network delay is less than said network delay threshold; and
selecting both said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is greater than said system load threshold and said network delay is greater than said network delay threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product embodied on a computer usable medium for dynamically switching message logging schemes to improve performance of a distributed system, the distributed system including a client device and a server device that communicate by sending and receiving messages across a network, the client device capable of executing a client-side message logging scheme and the server device capable of executing a server-side message logging scheme, the computer program product comprising:
-
instructions for measuring an application response time for an application that executes using said client device and said server device;
instructions for measuring a system load for said server device;
instructions for measuring a network delay for said messages;
instructions for selecting said client-side message logging scheme when said application response time is greater than an application response time threshold and said system load is greater than a system load threshold and said network delay is less than a network delay threshold;
instructions for selecting both said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is less than said system load threshold and said network delay is greater than said network delay threshold;
instructions for selecting at least one of said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is less than said system load threshold and said network delay is less than said network delay threshold; and
instructions for selecting both said client-side message logging scheme and said server-side message logging scheme when said application response time is greater than said application response time threshold and said system load is greater than said system load threshold and said network delay is greater than said network delay threshold.
-
-
12. A method of dynamically switching message logging schemes to improve performance of a distributed system, the distributed system including a client device and a server device that communicate by sending and receiving messages across a network, the method comprising:
-
measuring a system load for said server;
measuring a network delay for said messages; and
selecting at least one of a client-side message logging scheme and a server-side message logging scheme based on whether said system load is greater than a system load threshold and whether said network delay is greater than a network delay threshold.
-
-
13. A server device for dynamically switching message logging schemes to improve system performance, the server device capable of communicating with a client device by sending and receiving messages across a network, wherein at least one of said server device and said client device is capable of logging said messages, the server device comprising:
-
a processor configured to execute program instructions;
a memory connected with said processor, said memory configured to store said programs instructions; and
said program instructions including a first set of instructions operative to measure a system load for said server, a second set of instructions operative to measure a network delay for said messages, and a third set of instructions operative to select at least one of a client-side message logging scheme and a server-side message logging scheme based on whether said system load is greater than a system load threshold and whether said network delay is greater than a network delay threshold.
-
-
14. A method of dynamically switching message logging schemes to improve performance of a distributed system, the distributed system including a client device and a server device that communicate by sending and receiving messages across a network, the client device capable of executing a client-side message logging scheme and the server device capable of executing a server-side message logging scheme, the method comprising:
-
measuring a system load for said server device;
measuring a network delay for said messages;
selecting said client-side message logging scheme when said system load is greater than a system load threshold and said network delay is less than a network delay threshold;
maintaining a current message logging scheme when said system load is less than said system load threshold and said network delay is greater than said network delay threshold;
selecting at least one of said client-side message logging scheme and said server-side message logging scheme when said system load is less than said system load threshold and said network delay is less than said network delay threshold; and
selecting said client-side message logging scheme when said system load is greater than said system load threshold and said network delay is greater than said network delay threshold. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer program product embodied on a computer usable medium for dynamically switching message logging schemes to improve performance of a distributed system, the distributed system including a client device and a server device that communicate by sending and receiving messages across a network, the client device capable of executing a client-side message logging scheme and the server device capable of executing a server-side message logging scheme, the computer program product comprising:
-
instructions for measuring a system load for said server device;
instructions for measuring a network delay for said messages;
instructions for selecting said client-side message logging scheme when said system load is greater than a system load threshold and said network delay is less than a network delay threshold;
instructions for maintaining a current message logging scheme when said system load is less than said system load threshold and said network delay is greater than said network delay threshold;
instructions for selecting at least one of said client-side message logging scheme and said server-side message logging scheme when said system load is less than said system load threshold and said network delay is less than said network delay threshold; and
instructions for selecting said client-side message logging scheme when said system load is greater than said system load threshold and said network delay is greater than said network delay threshold.
-
Specification