-
公开(公告)号:US11687462B1
公开(公告)日:2023-06-27
申请号:US17653612
申请日:2022-03-04
Applicant: Amazon Technologies, Inc.
Inventor: Michael Zuzovski , Ofer Naaman , Adi Habusha
IPC: G06F12/08 , G06F12/084 , G06F12/0871 , G06F9/54
CPC classification number: G06F12/084 , G06F9/544 , G06F12/0871
Abstract: Techniques are disclosed for transferring a message between a sender agent and a receiver agent via a shared memory having a main memory and a cache. Feedback data indicative of a number of read messages in the shared memory is generated by the receiver agent. The feedback data is sent from the receiver agent to the sender agent. A number of unread messages in the shared memory is estimated by the sender agent based on the number of read messages. A threshold for implementing a caching policy is set by the sender agent based on the feedback data. The message is designated as cacheable if the number of unread messages is less than the threshold and as non-cacheable if the number of unread messages is greater than the threshold. The message is written to the shared memory based on the designation.
-
公开(公告)号:US11275690B1
公开(公告)日:2022-03-15
申请号:US16995091
申请日:2020-08-17
Applicant: Amazon Technologies, Inc.
Inventor: Michael Zuzovski , Ofer Naaman , Adi Habusha
IPC: G06F12/084 , G06F12/0871 , G06F9/54
Abstract: Techniques are disclosed for transferring a message between a sender agent and a receiver agent via a shared memory having a main memory and a cache. Feedback data indicative of a number of read messages in the shared memory is generated by the receiver agent. The feedback data is sent from the receiver agent to the sender agent. A number of unread messages in the shared memory is estimated by the sender agent based on the number of read messages. A threshold for implementing a caching policy is set by the sender agent based on the feedback data. The message is designated as cacheable if the number of unread messages is less than the threshold and as non-cacheable if the number of unread messages is greater than the threshold. The message is written to the shared memory based on the designation.
-