System, method and computer program product for routing messages to a server
First Claim
Patent Images
1. A computer program product, comprising a non-transitory computer usable medium having a computer readable program code embodied therein, the computer readable program code adapted to be executed by a computer to implement a method for routing messages to a server, the method comprising:
- detecting by a system a request to migrate data of a client of the system from a first server of the system to a second server of the system;
in response to the request, migrating the data of the client from the first server of the system to the second server of the system;
during the migrating;
accessing one or more messages within a messaging element of the system separate from the first server and the second server, the one or more messages including requests to perform one or more tasks on one or more servers of the system;
identifying one or more of the messages queued within the messaging element of the system that include one or more tasks to be performed in association with the client of the system whose data is being migrated;
re-enqueueing the one or more identified messages within the messaging element of the system with a predetermined time delay;
detecting a conclusion to the migrating of the data of the client from the first server to the second server;
routing the one or more messages determined to be associated with the data being migrated from the messaging element to the second server and performing the one or more tasks requested by the one or more messages on the second server, when it is determined that the migrating of the data was successful; and
routing the one or more messages determined to be associated with the data being migrated from the messaging element to the first server and performing the one or more tasks requested by the one or more messages on the first server, when it is determined that the migrating of the data was not successful.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for routing messages to a server. These mechanisms and methods for routing messages to a server can enable dynamic data migration within a system, increased efficiency, improved user experience, avoidance of data loss, etc.
-
Citations
19 Claims
-
1. A computer program product, comprising a non-transitory computer usable medium having a computer readable program code embodied therein, the computer readable program code adapted to be executed by a computer to implement a method for routing messages to a server, the method comprising:
-
detecting by a system a request to migrate data of a client of the system from a first server of the system to a second server of the system; in response to the request, migrating the data of the client from the first server of the system to the second server of the system; during the migrating; accessing one or more messages within a messaging element of the system separate from the first server and the second server, the one or more messages including requests to perform one or more tasks on one or more servers of the system; identifying one or more of the messages queued within the messaging element of the system that include one or more tasks to be performed in association with the client of the system whose data is being migrated; re-enqueueing the one or more identified messages within the messaging element of the system with a predetermined time delay; detecting a conclusion to the migrating of the data of the client from the first server to the second server; routing the one or more messages determined to be associated with the data being migrated from the messaging element to the second server and performing the one or more tasks requested by the one or more messages on the second server, when it is determined that the migrating of the data was successful; and routing the one or more messages determined to be associated with the data being migrated from the messaging element to the first server and performing the one or more tasks requested by the one or more messages on the first server, when it is determined that the migrating of the data was not successful. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method, comprising:
-
detecting by a system a request to migrate data of a client of the system from a first server of the system to a second server of the system; in response to the request, migrating the data of the client from the first server of the system to the second server of the system; during the migrating; accessing one or more messages within a messaging element of the system separate from the first server and the second server, the one or more messages including requests to perform one or more tasks on one or more servers of the system; identifying one or more of the messages queued within the messaging element of the system that include one or more tasks to be performed in association with the client of the system whose data is being migrated; re-enqueueing the one or more identified messages within the messaging element of the system with a predetermined time delay; detecting a conclusion to the migrating of the data of the client from the first server to the second server; routing the one or more messages determined to be associated with the data being migrated from the messaging element to the second server and performing the one or more tasks requested by the one or more messages on the second server, when it is determined that the migrating of the data was successful; and routing the one or more messages determined to be associated with the data being migrated from the messaging element to the first server and performing the one or more tasks requested by the one or more messages on the first server, when it is determined that the migrating of the data was not successful.
-
-
19. A system, comprising:
at least one processor for; detecting by the system a request to migrate data of a client of the system from a first server of the system to a second server of the system; in response to the request, migrating the data of the client from the first server of the system to the second server of the system; during the migrating; accessing one or more messages within a messaging element of the system separate from the first server and the second server, the one or more messages including requests to perform one or more tasks on one or more servers of the system; identifying one or more of the messages queued within the messaging element of the system that include one or more tasks to be performed in association with the client of the system whose data is being migrated; re-enqueueing the one or more identified messages within the messaging element of the system with a predetermined time delay; detecting a conclusion to the migrating of the data of the client from the first server to the second server; routing the one or more messages determined to be associated with the data being migrated from the messaging element to the second server and performing the one or more tasks requested by the one or more messages on the second server, when it is determined that the migrating of the data was successful; and routing the one or more messages determined to be associated with the data being migrated from the messaging element to the first server and performing the one or more tasks requested by the one or more messages on the first server, when it is determined that the migrating of the data was not successful.
Specification