flare-db/flare-db
Sobre
Apache Beam native streaming database built in Rust
Dados e análiseCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalFlareDB is a streaming database for building and running batch and streaming data pipelines. It uses Apache Beam as its programming interface. Beam provides a rich programming model for writing batch and streaming data pipelines in Java, Python, Go and SQL, while FlareDB provides a Rust based runtime to execute pipelines written with Beam SDKs.
Its based on a unified streams-and-tables architecture. Streams represent data in motion, while tables represent that same data as materialized state. FlareDB brings these concepts together in a single engine. As pipelines execute, PCollections transition naturally between streams and materialized table state, allowing FlareDB to unify data processing and storage within a single system.
Learn more about the architecture
For a deeper dive into FlareDB's design and execution model, check out this post: https://www.flare-db.com/blog/flaredb-initial-version.
⭐ New streaming systems don't come along that often. If you're curious to see where this project goes, consider starring the repository, it helps you keep track of updates and helps others discover it too.
Getting Started
1. Install the FlareDB CLI
If you are on Linux or macOS, please run the following command to install the CLI:
curl -sSL https://install.flare-db.com | bash
The script automatically detects your platform, downloads and installs the latest version of CLI, If you are on Windows use WSL.
2. Initialize FlareDB
After installing the CLI, run:
flare init
This command performs the initial setup by creating the required local directories and downloading the FlareDB binary and Apache Beam worker JAR.
The initialization only needs to be completed once. After that, you can use the flare up and flare down commands to manage the instance.
3. Start a FlareDB Instance
Start a local FlareDB instance with:
flare up
Once the instance is running, FlareDB is ready to accept pipeline jobs.
4. Configure Your Beam Pipeline
To run an Apache Beam pipeline on FlareDB, add the FlareDB Runner SDK as a dependency to your Beam project. The runner sdk submits the pipeline to the FlareDB instance as a Job.
Check out the WordCount example under example/wordcount for a complete reference. All Java modules (runner, I/O, examples, benchmarks) live in a single Gradle build defined at the repository root.
5. Run the Example
With FlareDB running, execute the WordCount example:
# compile the wordcount pipeline
./gradlew :wordcount:shadowJar
# run the example
./gradlew :wordcount:run
The run task executes com.flaredb.example.WordCount, which submits the pipeline to the local FlareDB instance, where it is executed by the engine. shadowJar additionally produces a self-contained wordcount-0.1.0-all.jar under example/wordcount/build/libs/. Execution logs and pipeline output can be found in the logging directory created during startup.
6. Stop FlareDB instance
After executing pipelines, run this command to stop FlareDB instance
flare down
Current Status
For details on supported features, see the Apache Beam Capability Matrix and refer to the FlareDB section.
Roadmap
Upcoming releases will focus on expanding FlareDB's streaming execution capabilities:
- Unbounded Sources - Support for watermarks, event-time processing, windowing, and triggers.
- Splittable DoFns - Parallel work execution for I/Os.
- Stateful Processing - Implementation of the Apache Beam State API.
- Native Transforms - Additional runner-native implementations for element-wise, aggregation, and composite transforms.
- Materialized Views - Persist Beam
PCollectionsas queryable table state for serving and analytics.
License
FlareDB is licensed under the Apache License 2.0
Explore projetos relacionados
Carregando…