HigherOrderCO / Bend

A massively parallel, high-level programming language
https://higherorderco.com
Apache License 2.0
16.7k stars 412 forks source link

A key-value store or a database made in Bend #545

Open lveillard opened 1 month ago

lveillard commented 1 month ago

I'm just curious about using Bend to build a database. Wouldnt make it super fast to retrieve complex nested values, or millions of records / keys at once?

Is it feasible?

developedby commented 1 month ago

Relational databases and key-value databases are designed to be stored as a large array with extremely fast random-access lookups. Retrieval is trivially parallelizable.

Other database architectures could possibly benefit from the parallelism of Bend, but I have no experience with those.

Handling the concurrency of transactions and keeping a valid state could also benefit from the features of Bend.

It's definitely feasible.