DBOS

From HandWiki
Revision as of 18:52, 6 February 2024 by Gametune (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DBOS is a Database-Oriented Operating System designed 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] 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]

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. 

External links