Invention Grant
- Patent Title: Message cache sizing
-
Application No.: US15685270Application Date: 2017-08-24
-
Publication No.: US10540217B2Publication Date: 2020-01-21
- Inventor: Mukesh Jaiswal , Shubha Bose , James W. Stamos , Alan R. Downing
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Becker Bingham LLP
- Main IPC: G06F9/54
- IPC: G06F9/54 ; G06F12/0811

Abstract:
A method and apparatus for message cache sizing are provided. A plurality of messages from one or more enqueuers are enqueued in a queue comprising at least one shard. Each shard includes one or more subshards. A message cache configured to store a plurality of cached subshards is maintained in memory. The plurality of messages is dequeued from the message cache by one or more dequeuers. An estimated enqueue rate is determined for each shard. An estimated dequeue rate is determined for each dequeuer-shard pair. Estimated restore overhead data is determined over a range of candidate message cache sizes based on the estimated enqueue rate for each shard and the estimated dequeue rate for each dequeuer-shard pair. A preferred message cache size is determined based on the estimated restore overhead data.
Public/Granted literature
- US20180081745A1 MESSAGE CACHE SIZING Public/Granted day:2018-03-22
Information query