mit-pdos / noria

Fast web applications through dynamic, partially-stateful dataflow
Apache License 2.0
4.97k stars 241 forks source link

SQLite support #183

Closed vjpr closed 3 years ago

vjpr commented 3 years ago

Such an approach would be great to have in the browser or on mobile.

I'm thinking of the UI state as a bunch of materialized views of sql which stream changes on updates to the db.

Could the SQL-to-data flow algorithm/component be modularized for such a use case?

Could you point me in the right place to look in the code?

jonhoo commented 3 years ago

Hi! There's nothing in Noria itself that actually ties it to any particular database. The research prototype I built does all of its own data storage, and its only relation to MySQL is that there is an external shim application that translates between the MySQL protocol and the Noria API: https://github.com/mit-pdos/noria-mysql :)