-
公开(公告)号:US11334405B2
公开(公告)日:2022-05-17
申请号:US16711953
申请日:2019-12-12
Applicant: VMware, Inc.
Inventor: Sundar Sridharan , Maithem Munshed , Srinivas Neginhal , Medhavi Dhawan , Pavan kumar Anumula
IPC: G06F16/00 , G06F9/54 , G06F16/182 , H04L67/1097 , G06F16/18
Abstract: Disclosed are a method and system for implementing a distributed persistent queue. To implement the queue, an API is defined that includes a command to enqueue an object onto the queue, to obtain the ordering of all objects in the queue and to remove any item from the queue. Enqueuing an object includes obtaining a unique ID for the object from a generator and then storing the object in a persistent shared log, which provides persistent storage for the queue. Obtaining an ordering of all objects in the persistent queue includes receiving for each object stored in the queue a pair of values, the first being the unique ID and the second being a sequence number from the persistent shared log. Regardless of the host computer system making the request for the ordering of objects in the queue the ordering provided to each host computer system is the same.