Thursday, March 30, 2023
Show HN: Kaskada – modern, open-source event processing https://ift.tt/wqbuvho
Show HN: Kaskada – modern, open-source event processing We recently open-sourced Kaskada – an event-processing engine built on Rust and Apache Arrow. It features a high-level, declarative query language designed specifically for reasoning about events in bulk and in real time. Unlike SQL, an aggregation over events produces a timeline indicating the value at each point in time over the events that have occurred up to that point in time. The query language provides composable, expression oriented syntax, including the ability to nest aggregations. Due to the focus on events and temporal queries, it provides capabilities to shift events forward (not backward, to avoid "leaking" information about the future into past values), ticks that create new times (allowing you to observe the current value of an aggregation every day, for instance) and joins that operate "at the current time". Example query: # Purchases up to a point in time let purchases_now = count(purchase) # Shift that *forward* one day (so the value now is from 1 day ago) let purchases_yesterday = purchases_now | shift_by(days(1)) # Compute the difference (purchases since yesterday) in purchases_now - purchases_yesterday More on the history of Kaskada is available in this blog post https://ift.tt/lmjnOER . More information on the project (and documentation) is available at https://kaskada.io . https://ift.tt/tsepczN March 30, 2023 at 11:57PM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment