Earlier quoted context omitted.
I'm Derek, one of the co-founders--that's an interesting way to frame it, I think that makes a lot of sense at a high level. We're in contact with the TSDB founders (awesome and super smart guys!) and are in the early stages of figuring out an integration that makes sense. That's most likely going to happen. To anyone interested: we'd love to hear and consider your ideas re: TSDB integration. Feel free to open an iss…
Can you guys join forces and convince AWS to make both of those products available on RDS? :)
PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
21–30 of 64 posts
Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#22Earlier quoted context omitted.
Can you guys join forces and convince AWS to make both of those products available on RDS? :)
So basically AWS will monetize something they have spent 0 resources building and will likely cannibalise the only viable monetization option?
Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#23Are they solving the same problem in different ways or are they complementary projects? If it's the latter, what would that look like?
Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#24Looking over this cursorily, looks super cool. INSERT INTO events_stream (ts, value) VALUES (now(), '0ef346ac'); > As soon as the continuous view reads new incoming events and the distinct count is updated the reflect new information, the raw events will be discarded. So you create a table, insert into it, and it's always empty. Is that right? Does this work for any table in pg? How does pg know that the insert shoul…
This only applies to continuous views, not all PG tables. Think of continuous views in PipelineDB as very high throughput, incrementally updated materialized views. Raw data hits continuous queries in PipelineDB (continuous views) and only the output of the continuous queries is stored. So 1 billion events ingested could be distilled down into a single row that incrementally counts up from 1 => 1 billion as each data…
Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#25Earlier quoted context omitted.
This only applies to continuous views, not all PG tables. Think of continuous views in PipelineDB as very high throughput, incrementally updated materialized views. Raw data hits continuous queries in PipelineDB (continuous views) and only the output of the continuous queries is stored. So 1 billion events ingested could be distilled down into a single row that incrementally counts up from 1 => 1 billion as each data…
You can't really do that with distinct, as if you have 1 billion distint entries, you essentially have to store all of them to dedup.
Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#26Earlier quoted context omitted.
This only applies to continuous views, not all PG tables. Think of continuous views in PipelineDB as very high throughput, incrementally updated materialized views. Raw data hits continuous queries in PipelineDB (continuous views) and only the output of the continuous queries is stored. So 1 billion events ingested could be distilled down into a single row that incrementally counts up from 1 => 1 billion as each data…
You can't really do that with distinct, as if you have 1 billion distint entries, you essentially have to store all of them to dedup.
Furthermore, PipelineDB has a special combine [1] aggregate that allows you to combine data structures such as HLL across multiple rows with no loss of information. A simpler example would be average: to get the actual average of multiple averages you obviously can't simply take the average of all the averages. Their weights must be taken into account, and combine handles that.
The capability to combine aggregate values in this way generalizes to all aggregates in PipelineDB.
[0] http://docs.pipelinedb.com/aggregates.html#hyperloglog-aggre...
Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#27Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#28Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#29Is most of the intermediate processing done in memory, or is it limited by hd write speed?
The former. PipelineDB performs aggregations in memory on microbatches of events, and only merges the aggregate output of each microbatch with what's on disk. This is really the core idea behind why PipelineDB is so performant for continuous time-series aggregation. Microbatch size is configurable: http://docs.pipelinedb.com/conf.html.
Re: PipelineDB 1.0 – High-Performance Time-Series Aggregation for PostgreSQL
#30Is most of the intermediate processing done in memory, or is it limited by hd write speed?
I'm Derek, one of the co-founders--excellent question! The former. PipelineDB performs aggregations in memory on microbatches of events, and only merges the aggregate output of each microbatch with what's on disk. This is really the core idea behind why PipelineDB is so performant for continuous time-series aggregation. Microbatch size is configurable: http://docs.pipelinedb.com/conf.html .