Support foundationDB #10123
Replies: 5 comments 2 replies
-
I don't understand it seems like someone should create a Javascript interface for the foundationDB API using ( or running it with) bun and not a question of adding new functionality for Bun? |
Beta Was this translation helpful? Give feedback.
-
@constraintAutomaton That is incorrect. Bun already tightly integrates an optimized interface to an embedded database, sqLite, as a precedent. This issue asks to add a particular more powerful database in a similar fashion, for the reasons outlined. The way this is done is left open, I mentioned the possibility of a plugin. |
Beta Was this translation helpful? Give feedback.
-
I should have looked more carefully my bad. |
Beta Was this translation helpful? Give feedback.
-
and https://www.bismuthos.com/ together with their comment on Hacker News https://news.ycombinator.com/item?id=40322094 suggest my feature request is right on the mark... |
Beta Was this translation helpful? Give feedback.
-
We are unlikely to add official support for FoundationDB, but there are probably npm packages which expose it |
Beta Was this translation helpful? Give feedback.
-
What is the problem this feature would solve?
https://www.foundationdb.org/ is the most trustable open-source distributed database out there, e.g. used for Apple iCloud storage.
The problem this would solve is what could be a true differentiator for bun.
Bun could truely differentiate itself from the rest of the pack by integrating a fast API to use foundationDB, and offer foundationDB on the edge for when it comes to making money. The criticism of what the others do is laid out in https://kerkour.com/distributed-sqlite.
What is the feature you are proposing to solve the problem?
Have a fast, DX-friendly API to foundationDB, so bun can be used out-of-the-box with foundationDB.
Equivalently, add foundationDB support via an easy-to-install plugin.
What alternatives have you considered?
There are no alternatives that match foundationDB's triple offering of being distributed, best-tested-database and strictly serializable transactions.
Beta Was this translation helpful? Give feedback.
All reactions