Invention Application
- Patent Title: IN-MEMORY BUFFER SERVICE
- Patent Title (中): 内存缓冲服务
-
Application No.: US14705750Application Date: 2015-05-06
-
Publication No.: US20160077798A1Publication Date: 2016-03-17
- Inventor: Aakash Pradeep , Adam Torman , Alex Warshavsky , Samarpan Jain , Soumen Bandyopadhyay , Thomas William D'Silva , Abhishek Bangalore Sreenivasa
- Applicant: salesforce.com, inc.
- Main IPC: G06F5/14
- IPC: G06F5/14

Abstract:
A capture service running on an application server receives events from a client application running on an application server to be stored in a data store and stores the events in an in-memory bounded buffer on the application server, the in-memory bounded buffer comprising a plurality of single-threaded segments, the capture service to write events to each segment in parallel. The in-memory bounded buffer provides a notification to a buffer flush regulator when a number of events stored in the in-memory bounded buffer reaches a predefined limit. The in-memory bounded buffer receive a request to flush the events in the in-memory bounded buffer from a consumer executor service. The consumer executor service consumes the events in the in-memory bounded buffer using a dynamically sized thread pool of consumer threads to read the segments of the bounded buffer in parallel, wherein consuming the events comprises writing the events directly to the data store.
Public/Granted literature
- US09417840B2 In-memory buffer service Public/Granted day:2016-08-16
Information query