CPC G06F 3/0655 (2013.01) [G06F 3/0604 (2013.01); G06F 3/067 (2013.01)] | 13 Claims |
1. A computer-implemented method for storage optimization for event streaming for multiple consumers, comprising:
providing an entire event stream for storage in a first tier storage;
dynamically determining advance portions of the event stream for at least some of the consumers based on a consumer's position index in the event stream, wherein advance portions are portions of the event stream that will be consumed next by the consumer;
optimizing a size of each advance portion for each consumer or a group of consumers, the size of each advance portion defining a number of events to be stored on an allocated volume of storage, wherein optimizing the size of each advance portion for each consumer or a group of consumers includes analyzing consumer behavior and a number of events a consumer is behind a head of the event stream to increase the size of each advance portion; and
providing the dynamically determined advance portions of the event stream for storage in a second tier storage that has a higher performance than the first tier storage.
|