[Elixir and Time Series] #2 - Aggregation, or doing stuff with ingested data

[Elixir and Time Series] #2 - Aggregation, or doing stuff with ingested data

How we aggregate time series data

Outline

  • Aggregation of time series data, two ways to do this
    • The naive crude, simple minded way of just-in-time querying of the time series data
    • Actually thinking about architecture, problem space, requirements and doing something better
  • How does one create such architecture? The pieces
  • How would you do it in Elixir?
    • Simplify via good use of GenServer - split the logic from the time strategies
  • Two well known implementations of Time Series Data I used
  • Broadway to the Rescue, or is it?

Ideas from a smarter person, or excerpts from https://pragprog.com/titles/sgdpelixir/concurrent-data-processing-in-elixir/