tursodatabase/turso

Incremental computation

Open

#2,350 建立於 2025年7月30日

在 GitHub 查看
 (0 留言) (2 反應) (0 負責人)Rust (1,001 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (19,103 star)
PR 合併指標
 (PR 指標待抓取)

描述

I did a proof of concept of using DBSP for incremental view maintenance:

https://github.com/penberg/limbo/tree/incremental

However, we can apply DBSP much more broadly than that. For example, we could do query subscriptions:

conn.observe("SELECT * FROM users WHERE active = 1", |row| {
    let id: i32 = row.get("id").unwrap();
    let name: String = row.get("name").unwrap();
    println!("User {} with id {}", name, id);
});

but also probably triggers.

Although I wrote everything from scratch, we should probably just use the https://crates.io/crates/dbsp crate.

貢獻者指南