Company
Date Published
Author
Paul Dix
Word count
1622
Language
English
Hacker News points
None

Summary

Flux is a data scripting language designed to make querying and analyzing time series and other kinds of data quick and easy, working with data from various sources including InfluxDB, Prometheus, relational databases, CSV files, S3, and any other API or data source. The language's learning curve is comparable to that of learning an API, and its syntax is designed to be familiar for users who have experience with JavaScript. Flux has four main boundaries of functions: input functions for reading from sources, combining tables in the resulting stream, splitting them apart, applying to each table aggregates, selectors, and sorting, and finally output functions for sending results to data sinks. The language aims to reduce cognitive load for developers when working with data, making it readable and understandable even for newcomers, with a design goal of making it look like other popular languages. Early builds of Flux will be released in the coming months, including an alpha version of InfluxDB 2.0 and a separate flux executable.