Hi,
So far how I have understood is that when we create a rocksdb window store;
we specify a window size and retention period.
So windows are created from epoch time based on size, say size if 100 then
windows are:
[0, 100), [100, 200), [200, 300) ...
Windows are retained based on retention period and after which it is
dropped.
Also a window is divided into segments which is implemented using a treemap.
Please confirm if my understanding is correct.
Also looks from all this is that windows are always hopping.
Is there a case of sliding windows that can be created? If yes how?
Example of sliding window would be:
[0, 100), [75, 175), [150, 250) ...
Thanks
Sachin
So far how I have understood is that when we create a rocksdb window store;
we specify a window size and retention period.
So windows are created from epoch time based on size, say size if 100 then
windows are:
[0, 100), [100, 200), [200, 300) ...
Windows are retained based on retention period and after which it is
dropped.
Also a window is divided into segments which is implemented using a treemap.
Please confirm if my understanding is correct.
Also looks from all this is that windows are always hopping.
Is there a case of sliding windows that can be created? If yes how?
Example of sliding window would be:
[0, 100), [75, 175), [150, 250) ...
Thanks
Sachin
Comments
Post a Comment