43 points · by KraftyOne · 2y ago · 17 comments
We’re a startup commercializing research we did at Stanford and MIT. (https://dbos-project.github.io/). The main idea behind DBOS is to store EVERYTHING about your application in the database. This gives you some unique features:
* Reliable execution – Your program’s execution state is stored in the database, so if it’s ever interrupted, it automatically resumes from where it left off without repeating any work already performed.
* Time travel – Every change to your program’s state is recorded in the database, so you can “rewind” time and restore the state of your application to what it was at any point in the past. For example, time travel debugging–take a tricky bug in production, rewind time, and reproduce it locally on your laptop.
Today, we released our open-source SDK (https://github.com/dbos-inc/dbos-ts) and our free-to-try serverless platform (https://www.dbos.dev/dbos-cloud). We’d love for you to try them out and let us know what you think!
Here’s a quick guide to get you started: https://docs.dbos.dev/getting-started/
We’re here to answer any questions!
It seems like there would be a significant performance hit, even if doing this on a single machine.
If the application does external I/O, it seems impossible to reproduce state if it depends on the state of an external system.
Can you give more details on the pros and cons and your ideas for ideal use cases?
Thanks!
Giving the programmer control over the checkpoints make sense. Also, limiting it to “workflows” (not necessarily entire programs) and requiring that these be deterministic makes sense.
I did some working with Folding@Home in grad school. All of the simulations would save their state to disk every N iterations to allow restarts. The state was relatively small (lots of compute, not a lot of data).
The DBOS papers focused on implementing core OS kernel functionality on top of a distributed relational database. Trying to make a true distributed OS.
This product seems like a pretty different direction (reliable execution and enhanced observability). Do your future plans tie back to the original project goals or are you going to keep going in a different direction?
Any plans to support app development via using SQL? There are endless discussions on its limitations but a remarkably large developer base.
What language(s) is DBOS really implemented in?
With UNIX+C there was some synergy between the OS way of thinking and the appdev way of thinking and I am not really seeing that here. The node.js mindset and declarative SQL mindset are so different. Maybe it's the best you can do trying to cross OS+DB domains but would be curious to hear your thoughts or see a writeup of what drove your design decisions here.
The same list of people who wrote the blog post(s) on your research/publish link are listed as co-founders[1] on the commercial site.
You need a team of several engineers ?