Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
HIGHLY AVAILABLE MESSAGE QUEUE
Document Type and Number:
WIPO Patent Application WO/2020/136393
Kind Code:
A2
Inventors:
SHARMA PRATIK (IN)
Application Number:
PCT/IB2018/060570
Publication Date:
July 02, 2020
Filing Date:
December 24, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SHARMA PRATIK (IN)
International Classes:
G06F15/16
Download PDF:
Claims:
Claims

Following is the claim for this invention:-

1. In this invention we have a highly available message queue where a shadow copy of the queue is maintained on another host machine(secondary host machine) different than the primary host machine hosting the queueing service. An enqueue request is received first by the queueing service running on the primary host machine and the message is enqueued, after which a copy of that enqueue request or the message is pushed to the secondary host machine for enqueueing where a process maintains a shadow copy of the queue on the primary host machine. Similarly for dequeueing message the queueing service on the primary host machine performs the dequeue operation and then pushes the dequeue request to the process on the secondary host machine maintaining the shadow copy of the queue on the primary host machine. Also for dequeueing operation the queueing service can keep a count of number of messages dequeued in a fixed time window and periodically push that count to the process on the secondary host machine maintaining the shadow copy of queue on primary host machine to dequeue that count of messages adhering to First-In-First- Out(FIFO) policy. The secondary host machine maintaining the shadow copy of the queue on the primary host machine, can be used for read requests for performing queries on the message queue or maintaining a log of messages processed by the consumers by pushing dequeued messages to persistent memory on the secondary host machine. The above novel technique of maintaining a highly available message queue is the claim for this invention.

Description:
Highly Available Message Queue

In this invention we have a highly available message queue where a shadow copy of the queue is maintained on another host machine(secondary host machine) different than the primary host machine hosting the queueing service. An enqueue request is received first by the queueing service running on the primary host machine and the message is enqueued, after which a copy of that enqueue request or the message is pushed to the secondary host machine for enqueueing where a process maintains a shadow copy of the queue on the primary host machine. Similarly for dequeueing message the queueing service on the primary host machine performs the dequeue operation and then pushes the dequeue request to the process on the secondary host machine maintaining the shadow copy of the queue on the primary host machine. Also for dequeueing operation the queueing service can keep a count of number of messages dequeued in a fixed time window and periodically push that count to the process on the secondary host machine maintaining the shadow copy of queue on primary host machine to dequeue that count of messages adhering to First-In-First-Out(FIFO) policy. The secondary host machine maintaining the shadow copy of the queue on the primary host machine, can be used for read requests for performing queries on the message queue or maintaining a log of messages processed by the consumers by pushing dequeued messages to persistent memory on the secondary host machine.