Creating and removing application server partitions in a server cluster based on client request contexts
First Claim
1. A method comprising:
- determining an application server partition based on a request context associated with a request from a client, wherein the request requests an operation, wherein the determining further comprises determining the application server partition based on a type of the operation and a location of the client, wherein the application server partition comprises an application state and application resources that customizes an application for the client;
determining whether the application server partition exists based on global server partition information, wherein an on-demand system performs the determining whether the application server partition exists;
if the application server partition exists, sending the request to the application server partition;
if the application server partition does not exist, determining whether the request context is valid based on a validation rule, wherein the determining further comprises comparing the request context to the validation rule, wherein the on-demand system performs the determining whether the request context is valid;
if the request context is valid, creating the application server partition in a server cluster based on a creation rule and sending the request to the application server partition; and
if the request context is not valid, sending an exception to the client.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus, system, and signal-bearing medium that, in an embodiment, determine an application server partition based on the context of a request from a client, and send the request to the application server partition if the application server partition exists. If the application server partition does not exist, the application server partition is created based on a creation rule, and the request is then sent to the application server partition if the request context is valid, as determined by a validation rule. Periodically, a remove rule is compared to a condition of the application server partition, and if the remove rule is met, the application server partition is removed. The condition may include, in various embodiments, the usage time and frequency of use of the application server partition or performance criteria. In an embodiment, the validation rule, the creation rule, and the remove rule may change over time. In this way, application server partitions may be dynamically created and removed based on the context of client requests and rules.
-
Citations
14 Claims
-
1. A method comprising:
-
determining an application server partition based on a request context associated with a request from a client, wherein the request requests an operation, wherein the determining further comprises determining the application server partition based on a type of the operation and a location of the client, wherein the application server partition comprises an application state and application resources that customizes an application for the client; determining whether the application server partition exists based on global server partition information, wherein an on-demand system performs the determining whether the application server partition exists; if the application server partition exists, sending the request to the application server partition; if the application server partition does not exist, determining whether the request context is valid based on a validation rule, wherein the determining further comprises comparing the request context to the validation rule, wherein the on-demand system performs the determining whether the request context is valid; if the request context is valid, creating the application server partition in a server cluster based on a creation rule and sending the request to the application server partition; and if the request context is not valid, sending an exception to the client. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for configuring a computer, comprising:
-
configuring the computer to determine an application server partition based on a request context associated with a request from a client, wherein the request requests an operation, wherein the configuring the computer to determine further comprises configuring the computer to determine the application server partition based on a type of the operation and a location of the client, wherein the application server partition comprises an application state and application resources that customize an application for the client, wherein the computer is different than the client; configuring the computer to determine whether the application server partition exists based on global server partition information, wherein an on-demand system in the computer determines whether the application server partition exists; configuring the computer to send the request to the application server partition if the application server partition exists; configuring the computer to determine whether the request context is valid based on a validation rule if the application server partition does not exist, wherein the configuring the computer to determine further comprises configuring the computer to compare the request context to the validation rule, wherein the on-demand system determines whether the request context is valid; configuring the computer to create the application server partition in a server cluster based on a creation rule and send the request to the application server partition if the request context is valid; and configuring the computer to send an exception to the client if the request context is not valid. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification