Foundation DB Record Layer SQL API

foundationdb.github.io

131 points by fidotron 2 days ago


fabianlindfors - a day ago

Really cool although quite an undertaking to build an entire SQL engine! I have been working on something pretty similar but using Postgres instead. Basically extending Postgres to run stateless on top of FoundationDB, which would achieve the same thing but with all the Postgres features one would expect (and without some quirks you might not want, like vacuuming).

Working with FoundationDB is a real pleasure as many people have noted already, a very intuitive abstraction to build databases on top of.

bognition - 2 days ago

I remember learning about FoundationDB a decade ago and being deeply impressed with what they built. Then it was acquired by Apple and went silent. Since then we've seen an explosion in new database storage layers. I'm curious is FoundationDB still the new hotness or has it been replaced by newer better technologies?

mastabadtomm - a day ago

There is one more project that aims to build a MongoDB-like query engine and uses Redis wire protocol. It's Kronotop: https://github.com/kronotop/kronotop

Kronotop uses FoundationDB as a metadata store for document indexes and the other stuff. It stores the document bodies on the local disk and supports primary-follower replication.

It also works as a RESP3/RESP2 proxy for FoundationDB API.

conradev - 19 hours ago

My favorite FoundationDB layer is per-user SQLite databases: https://github.com/losfair/mvsqlite

It's hard to tell if it's running in production, but the author works at Deno!

amazingamazing - a day ago

At some point someone will reimplement the dynamodb api on top of foundation db. That’ll be nice because then you have an effectively cheap hosted version available then.

anhldbk - 2 days ago

At last Foundationdb has SQL Layer. AFAIK the initial discussion was in 2018 [1]

[1] SQL layer in FoundationDB, https://forums.foundationdb.org/t/sql-layer-in-foundationdb/...

yencabulator - a day ago

So how will this round improve on the previous design that was quite slow?

> FDB-SQL was less than half as fast as MySQL on a single machine.

https://www.voltactivedata.com/blog/2015/04/foundationdbs-le...

tehlike - a day ago

I really really want nodejs bindings for foundationdb record layer. I tried using node java bridge, and it could be made to work but it'd be quiet an effort to maintain I guess...

computerfan494 - a day ago

FoundationDB is very cool, but I wish it didn't require linking in their C library to talk to it. The client story is not good.

yencabulator - a day ago

Java source at https://github.com/FoundationDB/fdb-record-layer

gitroom - a day ago

been watching foundationdb for ages and it's kinda crazy it's still holding up while new stuff keeps dropping. always makes me wonder what it takes to keep something useful for so long

pstuart - a day ago

There's an intriguing project which puts SQLite on top of FoundationDB that is quite intriguing, unfortunately the dev seems to have moved on from that effort:

https://github.com/losfair/mvsqlite

rapsey - a day ago

If you are storing rows as records in FDB I am very skeptical about the performance. It seems to me it would be quite poor, because of the latency. You are talking to the network to get every row.

I guess it would be scalable. You could execute lots of concurrent queries, but the actual performance of every non trivial query would be poor compared to a regular SQL DB.

curtisszmania - a day ago

[dead]