r/DuckDB • u/isaac-harvey • 29d ago
Duckstring - Pull-orchestrated data pipelines on DuckDB
This is Duckstring, an open source data engineering platform, using DuckDB as the engine. I've built it to address some of the main frustrations I've had in my years as a data engineer: modularising logic so that it can grow in complexity over time, methods for upgrading components without breaking everything, and implying the DAG through dependencies so that I don't have to manage it.
I posted recently about DuckDB performance vs some of the big engines (write up here). I'm convinced DuckDB is the only engine needed to cover most real-world data pipelines.
Some specific features of Duckstring:
- Data transformations are treated like software packages, allowing the DAG to be implied by dependencies
- A pull-based orchestration system, throttling every process both upstream and downstream of the bottleneck so that nothing runs if it can't be consumed
- An incremental framework based on DBSP that handles updates and deletes efficiently
- CLI-first, so that you can point your own AI agents at the platform rather than relying on a janky integration
I've made a Playground app to help get a feel for the orchestration method:
You can also just go straight to the project on GitHub:
It's pre-1.0, though has been in active development since January, and is ready to try on real pipelines. I'd love to hear your feedback!
4
u/monsieurus 29d ago
Sounds cool. Some practical challenges. Some data sources take couple hours to finish the load even for incremental loads so if each client pulls the data on demand is the expectation that the user just waits for the data to refresh?