DFP Rolling Window Module#
This module is responsible for maintaining a rolling window of historical data, acting as a streaming caching and batching system.
Configurable Parameters#
Parameter |
Type |
Description |
Example Value |
Default Value |
---|---|---|---|---|
|
string |
Mode for managing user cache. Setting to |
|
|
|
integer |
Minimum history to trigger a new training event |
|
|
|
integer |
Minimum increment from the last trained to new training event |
|
|
|
string |
Name of the column containing timestamps |
|
|
|
string |
Look back time span for training data in a new training event |
|
|
|
boolean |
Whether or not to cache streaming data to disk |
|
|
|
string |
Directory to use for caching streaming data |
|
|
Example JSON Configuration#
{
"cache_mode": "batch",
"trigger_on_min_history": 1,
"trigger_on_min_increment": 0,
"timestamp_column_name": "timestamp",
"aggregation_span": "60d",
"cache_to_disk": false,
"cache_dir": "./.cache"
}