cscotta / deschutes Goto Github PK
View Code? Open in Web Editor NEWStreaming OLAP Filtering and Aggregation
License: Apache License 2.0
Streaming OLAP Filtering and Aggregation
License: Apache License 2.0
I've been messing around with this library (awesome stuff, btw) and I'm a little confused as to whether event timestamps should be in seconds or milliseconds.
You mention milliseconds here - https://github.com/cscotta/deschutes/blob/master/src/main/java/com/cscotta/deschutes/api/Event.java#L7
But then is the windowLength
in the OLAPAggregator
in seconds, milliseconds, or "positions"? - https://github.com/cscotta/deschutes/blob/master/src/main/java/com/cscotta/deschutes/aggregation/OLAPAggregator.java#L42
Because down here - https://github.com/cscotta/deschutes/blob/master/src/main/java/com/cscotta/deschutes/aggregation/OLAPAggregator.java#L79 we multiply the windowLength
by 1000
which makes me wonder if expired
variable contains all of the events outside of a second-resolution window.
But to determine if an event has expired, we're just subtracting windowLength
from currentTs
- https://github.com/cscotta/deschutes/blob/master/src/main/java/com/cscotta/deschutes/aggregation/OLAPAggregator.java#L79
Also, when you are generating sample data, you generate whatever EPS, but they all have the same second-level time resolution - https://github.com/cscotta/deschutes/blob/master/src/main/java/com/cscotta/deschutes/example/source/GenerateData.java#L45 and https://github.com/cscotta/deschutes/blob/master/src/main/java/com/cscotta/deschutes/example/source/SyntheticProtobufs.java#L34
I was wondering why that was the case.
Any help would be appreciated. Thanks again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.