Skip to content

fichtnerma/streamingSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“œ Minimal Streaming SQL Service

πŸš€ A Streaming SQL Service built with Rust and Differential Dataflow


πŸ“Œ Table of Contents


πŸ“– About the Project

This project is part of my Master’s Thesis, where I designed and implemented a minimal Streaming SQL Service using Rust and Differential Dataflow. The system processes continuous data streams, executes SQL-like queries in real-time, and leverages incremental computation for efficient updates.

πŸ”Ή Why Streaming SQL?
Traditional SQL databases struggle with real-time stream processing, requiring specialized solutions like Flink or Materialize. This project explores an alternative minimal approach using Rust’s powerful dataflow libraries.

πŸ”Ή Goals of the Project:
βœ… Implement a lightweight SQL-like interface for continuous queries
βœ… Utilize Differential Dataflow for efficient incremental computation
βœ… Provide a low-latency, high-throughput streaming processing engine


🌟 Key Features

βœ… Streaming SQL Query Execution – Run continuous queries on real-time data streams (limited to JOINs and WHERE) βœ… Incremental Computation – Uses Differential Dataflow for efficient updates
βœ… Minimal & Lightweight – Focuses on core functionality without unnecessary complexity
βœ… Rust-Powered Performance – Memory-safe, efficient, and highly concurrent


πŸ›  Tech Stack

πŸš€ Core Technologies:

  • Rust – Memory safety, concurrency, and performance
  • Differential Dataflow – Incremental computation framework
  • Timely Dataflow – Stream processing model for parallel computation

πŸ”— Additional Components:

  • Serde & JSON – For efficient serialization & deserialization
  • Tokio – Asynchronous runtime for handling concurrent streams
  • PostgreSQL – For query persistence

πŸ“œ License

This project is licensed under the MIT License – see the LICENSE file for details.


⭐ If you found this project helpful, consider giving it a star! πŸš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published