Skip to main content
QUICK REVIEW

[Paper Review] Database as a Service - Current Issues and Its Future

Xi Zheng|arXiv (Cornell University)|Apr 2, 2018
Privacy-Preserving Technologies in DataComputer Science30 references8 citations
TL;DR

This paper proposes the Trinity Model, a novel Database-as-a-Service (DBaaS) architecture that unifies RDBMS and NoSQL databases through low-latency replication, enabling seamless scalability, enhanced security, and reduced learning curves. The model supports hybrid data deployment, integrates multiple NoSQL types, and accelerates SaaS development by abstracting complex database management.

ABSTRACT

With the prevalence of applications in cloud, Database as a Service (DBaaS) becomes a promising method to provide cloud applications with reliable and flexible data storage services. It provides a number of interesting features to cloud developers, however, it suffers a few drawbacks: long learning curve and development cycle, lacking of in-depth support for NoSQL, lacking of flexible configuration for security and privacy, and high cost models. In this paper, we investigate these issues among current DBaaS providers and propose a novel Trinity Model that can significantly reduce the learning curves, improve the security and privacy, and accelerate database design and development. We further elaborate our ongoing and future work on developing large real-world SaaS projects using this new DBaaS model.

Motivation & Objective

  • To identify and analyze key limitations in current DBaaS models, including high learning curves, poor NoSQL support, and inadequate security and privacy controls.
  • To address the lack of tight integration between RDBMS and NoSQL databases in existing DBaaS offerings.
  • To reduce the development cycle and learning curve for cloud application developers, especially in SaaS environments.
  • To enable flexible, hybrid data deployment with partial or full data storage in tenant-controlled private clouds for improved security and privacy.
  • To integrate advanced security and privacy mechanisms—such as differential privacy and real-time traffic analysis—into the DBaaS stack.

Proposed method

  • The Trinity Model employs a middleware layer that enables asynchronous, low-latency replication of data from RDBMS logs to schema-less NoSQL collections using a three-stage process: schema mapping, log extraction from binary logs, and data transfer.
  • It implements multi-tenant sharding of RDBMS data across distributed databases, with each shard replicated as a Master-Slave set for fault tolerance and high availability.
  • NoSQL clusters handle OLAP workloads, with each RDBMS shard mapped to a corresponding replica set in NoSQL, including primary and secondary nodes for failover support.
  • The model incorporates query caching on top of NoSQL to reduce repeated data fetches and improve performance under high concurrency.
  • An auto-scaling module dynamically allocates or reconfigures resources in response to workload fluctuations and network changes.
  • The architecture supports integration of diverse NoSQL types—graph, spatial-temporal, document, and key-value databases—within a unified DBaaS layer.

Experimental results

Research questions

  • RQ1How can the integration of RDBMS and NoSQL databases in DBaaS reduce the learning curve and accelerate application development?
  • RQ2What architectural patterns enable low-latency, reliable replication from RDBMS to NoSQL while preserving data consistency and integrity?
  • RQ3How can hybrid data deployment—partially storing data in private clouds—be supported within a unified DBaaS model without sacrificing performance or scalability?
  • RQ4What mechanisms can be integrated into DBaaS to enhance data privacy and security, particularly for multi-tenant SaaS applications?
  • RQ5How can diverse NoSQL database types (e.g., graph, spatial-temporal) be natively supported within a single, cohesive DBaaS abstraction?

Key findings

  • The Trinity Model successfully reduces the learning curve for developers by abstracting low-level database management through a unified, intuitive data model for defining data types, relationships, and CRUD operations.
  • The middleware achieves low-latency replication from RDBMS to NoSQL by leveraging binary log changes, enabling near real-time synchronization with minimal performance overhead.
  • The model supports hybrid deployment, allowing tenants to store sensitive data in private clouds while running applications in public clouds, enhancing data privacy and compliance.
  • The integration of multiple NoSQL types—such as graph, spatial-temporal, and document databases—into a single DBaaS layer enables more flexible and efficient data modeling for complex SaaS workloads.
  • The auto-scaling and caching mechanisms significantly improve system responsiveness and reduce latency under high-concurrency workloads, particularly for OLAP and analytics queries.
  • Preliminary surveys and interviews with cloud developers confirm that current DBaaS solutions suffer from poor NoSQL support, high complexity, and limited security controls—validating the need for the Trinity Model.

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.