DBOS

DBOS (Formerly Database-Oriented Operating System, now just DBOS) was a database-oriented operating system meant to simplify and improve the scalability, security and resilience of large-scale distributed applications.[1][2] It started in 2020 as a joint open source project with MIT, Stanford and Carnegie Mellon University, after a brainstorm between Michael Stonebraker and Matei Zaharia on how to scale and improve scheduling and performance of millions of Apache Spark tasks.[2] Today it is a commercial company that offers an open source library to add Durable Computing to any software, using concepts derived from the joint research project.

The basic idea is to run a multi-node multi-core, transactional, highly-available distributed database, such as VoltDB, as the only application for a microkernel, and then to implement scheduling, messaging, file systems and other operating system services on top of the database.

The architectural philosophy is described by this quote from the abstract of their initial preprint:

> All operating system state should be represented uniformly as database tables, and operations on this state should be made via queries from otherwise stateless tasks. This design makes it easy to scale and evolve the OS without whole-system refactoring, inspect and debug system state, upgrade components without downtime, manage decisions using machine learning, and implement sophisticated security features.[3]

Stonebraker claims a variety of security benefits, from a "smaller, less porous attack surface", to the ability to log and analyze how the system state changes in real-time due to the transactional nature of the OS.[1] Recovery from a severe bug or an attack can be as simple as rolling back the database to a previous state. And since the database is already distributed, the complexity of orchestration systems like Kubernetes can be avoided.

A prototype was built with competitive performance to existing systems.[4]

## Contents

* 1 DBOS Cloud
* 2 See also
* 3 References
* 4 External links

## DBOS Cloud

In March of 2024, DBOS Cloud became the first commercial service from DBOS Inc. It provides transactional Functions as a Service (FaaS), and is positioned as a competitor to serverless computing architectures like AWS Lambda. DBOS Cloud is currently based on PostgreSQL, running on the Firecracker microVM service from AWS. It provides built-in support for features like multinode scaling and a "time-traveler" debugger that can help track down elusive heisenbugs and works in Visual Studio Code. Another feature is reliable execution, allowing a program to continue running even if the operating system needs to be restarted, and ensuring that no work is repeated.[5]

Firecracker runs on stripped down Linux microkernel via a stripped down KVM hypervisor, so parts of the Linux kernel are still under the covers, but work is ongoing to eliminate them.[6]

DBOS Cloud has been tested running across 1,000 cores running applications. The first API provided is for TypeScript, via the open-source DBOS Transact framework.[6] It provides a runtime with built-in reliable message delivery and idempotency.[7]

Holger Mueller of Constellation Research wondered how well DBOS the company can scale. “Will a small team at DBOS be able to run an OS, database, observability, workflow and cyber stack as good as the combination of the best of breed vendors?”[8]

## See also

* PICK OS, another implementation of an operating system based on a DB.

## References

1. ↑ 1.0 1.1 Werner, John. "Put The OS In The Database: Performance, Cybersecurity And Endurance In The Cloud" (in en). https://www.forbes.com/sites/johnwerner/2023/08/15/put-the-os-in-the-database-performance-cybersecurity-and-endurance-in-the-cloud/.
2. ↑ 2.0 2.1 Clark, Lindsay. "Postgres pioneer promises to upend the database once more" (in en). https://www.theregister.com/2023/12/26/michael_stonebraker_feature/.
3. ↑ Cafarella, Michael; DeWitt, David; Gadepally, Vijay; Kepner, Jeremy; Kozyrakis, Christos; Kraska, Tim; Stonebraker, Michael; Zaharia, Matei (2020-07-21), DBOS: A Proposal for a Data-Centric Operating System
4. ↑ Skiadopoulos, Athinagoras; Li, Qian; Kraft, Peter; Kaffes, Kostis; Hong, Daniel; Mathew, Shana; Bestor, David; Cafarella, Michael et al. (2021-09-01). "DBOS: a DBMS-oriented operating system". Proceedings of the VLDB Endowment 15 (1): 21–30. doi:10.14778/3485450.3485454. ISSN 2150-8097. https://doi.org/10.14778/3485450.3485454.
5. ↑ "'What if the operating system is the problem': Linux was never created for the cloud — so engineers developed DBOS, a new operating system that is part OS, part database" (in en). 2024-03-17. https://www.techradar.com/pro/what-if-the-operating-system-is-the-problem-linux-was-never-created-for-the-cloud-so-engineers-developed-dbos-a-new-operating-system-that-is-part-os-part-database.
6. ↑ 6.0 6.1 Morgan, Timothy Prickett (2024-03-12). "The Cloud Outgrows Linux, And Sparks A New Operating System" (in en-US). https://www.nextplatform.com/2024/03/12/the-cloud-outgrows-linux-and-sparks-a-new-operating-system/.
7. ↑ dbos-inc/dbos-transact, DBOS, Inc., 2024-04-22, https://github.com/dbos-inc/dbos-transact, retrieved 2024-04-22
8. ↑ Ghoshal, Anirban (2024-03-12). "DBOS Cloud overturns database-on-OS conventions for speed" (in en). https://www.infoworld.com/article/3714441/dbos-cloud-overturns-database-on-os-conventions-for-speed.html.

## External links

* Official website

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/DBOS. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=DBOS&oldid=3977578"