Logging infrastructure with time sustain requirements
AssigneeEMC IP Holding Company LLC
InventorsNimrod Shani, Leron Fliess
Life of this patent
Estimating the term…
Abstract
A method is provided for storing log data in a logging system, comprising: instantiating a plurality of buffers in the logging system, the plurality of buffers including one or more type-1 buffers and one or more type-2 buffers; retrieving a log data item from a temporary storage of the logging system, and identifying a type of the log data item; when the log data item is from a first type: identifying a current type-1 buffer, detecting whether the current type-1 buffer is full, when the current type-1 buffer is not full, storing the log data item in the current type-1 buffer, when the current type-1 buffer is full, designating another buffer as the current type-1 buffer, and storing the log data item in the newly-designated current type-1 buffer.
Claims12
A method for storing log data in a logging system, comprising:
- instantiating a plurality of buffers in the logging system, the plurality of buffers including one or more type-1 buffers and one or more type-2 buffers, each of the type-1 buffers being configured to store log data items from a first type, and each of the type-2 buffers being configured to store log data items from a second type;
- retrieving a log data item from a temporary storage of the logging system, and identifying a type of the log data item;
- when the log data item is from the first type:
- identifying a current type-1 buffer, detecting whether the current type-1 buffer is full, when the current type-1 buffer is not full, storing the log data item in the current type-1 buffer, when the current type-1 buffer is full, designating another buffer as the current type-1 buffer, and storing the log data item in the newly-designated current type-1 buffer,
- wherein the current type-1 buffer includes a buffer where log data items from the first type are being streamed by the logging system, and
- wherein designating another buffer as the current type-1 buffer includes:
- identifying an oldest type-1 buffer among the buffers in the plurality;
- detecting whether the oldest type-1 buffer is expired;
- when the oldest type-1 buffer is expired, designating the oldest type-1 buffer as the current type-1 buffer;
- and when the oldest type-1 buffer is not expired, identifying an oldest type 2 buffer among the buffers in the plurality, and designating the oldest type-2 buffer as the current type-1 buffer.
A method for storing log data in a logging system, comprising:
- instantiating a plurality of buffers in the logging system, the plurality of buffers including one or more type-1 buffers and one or more type-2 buffers, each of the type-1 buffers being configured to store log data items from a first type, and each of the type-2 buffers being configured to store log data items from a second type;
- retrieving a log data item from a temporary storage of the logging system, and identifying a type of the log data item;
- when the log data item is from the first type:
- identifying a current type-1 buffer, detecting whether the current type-1 buffer is full, when the current type-1 buffer is not full, storing the log data item in the current type-1 buffer, when the current type-1 buffer is full, designating another buffer as the current type-1 buffer, and storing the log data item in the newly-designated current type-1 buffer;
- when the log data item is from the second type:
- identifying a current type-2 buffer, detecting whether the current type-2 buffer is full, when the current type-2 buffer is not full, storing the log data item in the current type-2 buffer, when the current type-2 buffer is full, designating another buffer as the current type-2 buffer, and storing the log data item in the newly-designated current type-2 buffer, wherein the current type-2 buffer includes a buffer where log data items from the second type are being streamed by the logging system,
- wherein the current type-1 buffer includes a buffer where log data items from the first type are being streamed by the logging system.
A system for logging data, comprising:
- a memory;
- and
- one or more processors operatively coupled to the memory, the one or more processors being configured to perform the operations of:
- instantiating a plurality of buffers, the plurality of buffers including one or more type-1 buffers and one or more type-2 buffers, each of the type-1 buffers being configured to store log data items from a first type, and each of the type-2 buffers being configured to store log data items from a second type;
- retrieving a log data item from a temporary storage of the logging system, and identifying a type of the log data item;
- when the log data item is from the first type:
- identifying a current type-1 buffer, detecting whether the current type-1 buffer is full, when the current type-1 buffer is not full, storing the log data item in the current type-1 buffer, when the current type-1 buffer is full, designating another buffer as the current type-1 buffer, and storing the log data item in the newly-designated current type-1 buffer,
- wherein the current type-1 buffer includes a buffer where log data items from the first type are being streamed by the logging system, and
- wherein designating another buffer as the current type-1 buffer includes:
- identifying an oldest type-1 buffer among the buffers in the plurality;
- detecting whether the oldest type-1 buffer is expired;
- when the oldest type-1 buffer is expired, designating the oldest type-1 buffer as the current type-1 buffer;
- and when the oldest type-1 buffer is not expired, identifying an oldest type 2 buffer among the buffers in the plurality, and designating the oldest type-2 buffer as the current type-1 buffer.
A system for logging data, comprising:
- a memory;
- and
- one or more processors operatively coupled to the memory, the one or more processors being configured to perform the operations of:
- instantiating a plurality of buffers, the plurality of buffers including one or more type-1 buffers and one or more type-2 buffers, each of the type-1 buffers being configured to store log data items from a first type, and each of the type-2 buffers being configured to store log data items from a second type;
- retrieving a log data item from a temporary storage of the logging system, and identifying a type of the log data item;
- when the log data item is from the first type:
- identifying a current type-1 buffer, detecting whether the current type-1 buffer is full, when the current type-1 buffer is not full, storing the log data item in the current type-1 buffer, when the current type-1 buffer is full, designating another buffer as the current type-1 buffer, and storing the log data item in the newly-designated current type-1 buffer,
- when the log data item is from the second type:
- identifying a current type-2 buffer, detecting whether the current type-2 buffer is full, when the current type-2 buffer is not full, storing the log data item in the current type-2 buffer, when the current type-2 buffer is full, designating another buffer as the current type-2 buffer, and storing the log data item in the newly-designated current type-2 buffer, wherein the current type-2 buffer includes a buffer where log data items from the second type are being streamed by the logging system,
- wherein the current type-1 buffer includes a buffer where log data items from the first type are being streamed by the logging system.
Dependencies are inferred from the claim text.