Skip to main content
QUICK REVIEW

[Paper Review] DBOS: A Proposal for a Data-Centric Operating System

Michael Cafarella, David J. DeWitt|arXiv (Cornell University)|Jul 21, 2020
Cloud Computing and Resource ManagementComputer Science63 references4 citations
TL;DR

DBOS proposes a radical rearchitecting of operating systems around a data-centric model, where all system state is stored as database tables and managed via declarative queries. This design enables scalable, secure, and composable system management—especially for cloud, serverless, and AI-driven workloads—by leveraging database management system (DBMS) technology to unify state management, simplify debugging, and support dynamic, machine-driven optimization without monolithic refactoring.

ABSTRACT

Current operating systems are complex systems that were designed before today's computing environments. This makes it difficult for them to meet the scalability, heterogeneity, availability, and security challenges in current cloud and parallel computing environments. To address these problems, we propose a radically new OS design based on data-centric architecture: 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. We discuss how a database OS (DBOS) can improve the programmability and performance of many of today's most important applications and propose a plan for the development of a DBOS proof of concept.

Motivation & Objective

  • To address the scalability, heterogeneity, availability, and security challenges of modern cloud and parallel computing environments, which current monolithic OS designs fail to meet.
  • To simplify system software by unifying all OS state into database tables, reducing abstraction bloat and enabling declarative, query-driven system operations.
  • To support modern workloads such as serverless computing, machine learning, and microservices by natively integrating data provenance, privacy controls (e.g., GDPR), and dynamic resource management.
  • To enable seamless, non-disruptive upgrades, schema evolution, and runtime optimization through a DBMS-backed system architecture.
  • To demonstrate feasibility through prototyping end-to-end microservice and data-intensive workloads on a DBMS-native OS.

Proposed method

  • Represent all OS state—processes, files, network connections, security policies—as first-class database tables.
  • Use SQL-like declarative queries to perform system operations, replacing imperative system calls and reducing low-level complexity.
  • Leverage distributed DBMS technology for scalable, fault-tolerant, and consistent state management across large-scale, heterogeneous hardware.
  • Integrate serverless task execution (e.g., Lambda-style) with DBMS visibility to enable dynamic, data-aware scheduling and resource allocation.
  • Use the DBMS to manage data provenance, access control, and privacy policies (e.g., regional data storage for GDPR compliance) declaratively.
  • Enable transparent offloading of compute to accelerators (GPUs, FPGAs) via DBMS query optimization and metadata-driven placement.

Experimental results

Research questions

  • RQ1Can a data-centric OS design based on database tables and queries scale to support millions of nodes and complex, heterogeneous datacenter workloads?
  • RQ2Can DBMS-powered system operations reduce abstraction bloat and improve performance and maintainability compared to traditional monolithic OSes?
  • RQ3Can DBOS natively support low-latency microservices and real-time AI workloads through declarative data management and optimized task scheduling?
  • RQ4Can DBOS enable non-disruptive system upgrades, schema evolution, and security policy changes without refactoring application code?
  • RQ5Can the integration of machine learning with system state via DBMS queries enable automated, data-driven system tuning and optimization?

Key findings

  • DBOS enables non-disruptive upgrades and schema evolution by decoupling data management from application logic, significantly reducing engineering effort for changes like sharding or partitioning.
  • The system can enforce GDPR compliance by storing user data regionally and tracking data provenance through DBMS metadata, allowing on-demand deletion without code changes.
  • DBOS supports dynamic reconfiguration of compute placement—such as moving from monolithic to fine-grained microservice deployment—via declarative schema and partitioning changes.
  • The architecture allows for automatic offloading of AI and data-intensive workloads (e.g., recommendation engines) to accelerators using DBMS query optimization and metadata-driven routing.
  • By representing system state as database tables, DBOS enables full system introspection, debugging, and monitoring through standard SQL queries, improving observability and reducing debugging complexity.
  • The prototype demonstrates that serverless functions operating on DBMS-backed state can achieve low-latency responses and efficient resource utilization in latency-critical workloads like social networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.