G - Physics – 06 – F
Patent
G - Physics
06
F
G06F 11/14 (2006.01) H04L 12/16 (2006.01) G06Q 30/00 (2006.01)
Patent
CA 2395282
Techniques are provided for executing an operation in which a client invokes a replicated object. According to one technique, a primary replica of a replicated object receives a first request from a client, wherein the first request includes a request identifier. Rather than immediately attempting to process the request, the primary replica determines whether a record exists that corresponds to the request identifier. If a record exists that corresponds to the request identifier, then the primary replica responds to the first request with a reply associated with the record. If no record exists that corresponds to the request identifier, then the primary replica performs the steps of: starting a transaction; as part of the transaction, processing the request; as part of the transaction, storing a record associated with the request identifier and a reply to the request; committing the transaction; and delivering the reply to the client. The client may itself be a replicated object. If the client is nondeterministic, then the transaction initiated by the primary replica may be a nested transaction relative to a transaction executed by the client, or be executed as part of the same transaction as the client. If the transaction executed by the primary replica is executed as part of the same transaction as the client, then a savepoint may be established before the primary replica processes the request, so that a failure will not necessarily require all processing performed by the client to be rolled back.
On décrit des techniques qui permettent d'exécuter une opération dans laquelle un client appelle un objet dupliqué. Selon une technique, une première réplique d'un objet dupliqué reçoit une première requête émanant d'un client, cette première requête comprenant un identificateur de requête. Plutôt que de tenter de traiter immédiatement la requête, la première réplique détermine s'il existe un enregistrement qui correspond à l'identificateur de requête. S'il existe un enregistrement correspondant à l'identificateur de requête, la première réplique répond alors à la première requête avec une réponse associée à l'enregistrement. S'il n'existe aucun enregistrement correspondant à l'identificateur de requête, la première réplique exécute les étapes suivantes: le commencement d'une transaction; dans le cadre de la transaction, le traitement de la requête; dans le cadre de la transaction, la mise en mémoire d'un enregistrement associé à l'identificateur de requête et une réponse à la requête; la validation de la transaction; et l'envoi de la réponse au client. Le client peut lui-même être un objet dupliqué. Si le client est non déterministe, la transaction lancée par la première réplique peut être une transaction nichée relativement à une transaction exécutée par le client, ou peut être exécutée dans le cadre de la même transaction que celle du client, un point de sauvegarde peut ensuite être établi avant que la première réplique traite la requête, de sorte qu'une défaillance n'impliquera pas nécessairement que la totalité du traitement effectué par le client soit renvoyée au point de contrôle.
Felber Pascal
Hallmark Gary
Oracle International Corporation
Smiths Ip
LandOfFree
Preserving consistency of passively-replicated... does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Preserving consistency of passively-replicated..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Preserving consistency of passively-replicated... will most certainly appreciate the feedback.
Profile ID: LFCA-PAI-O-1909009