Making Postgres Distributed with FoundationDB

fabianlindfors.se

28 points by emptysea 12 hours ago


atombender - 2 hours ago

This is a fun project.

From what I can tell, this doesn't replace the lower level page heap storage, but instead actually provides new implementation of table and indexes through a plugin mechanism called table access methods and index access methods, respectively. This looks very similar to the virtual table mechanism in SQLite, for example, but the C API looks much nicer.

I've not paid much attention to the Postgres extension API, but I'm pleasantly surprised it's that flexible. I've been hearing for years about how Postgres pluggable engine interface isn't flexible enough to implement certain features, but it actually looks really rich. Maybe some of those improvements come from recent work by the OrioleDB people, and others like Citus who develop various alternative table engines?

fabianlindfors - 6 hours ago

This is my project, thanks a lot for posting! If anybody happens to have questions, I'm happy to answer them

bithavoc - 3 hours ago

This is interesting, it would be like YugabyteDB but on top of FoundationDB.