Skip to main content
QUICK REVIEW

[Paper Review] Yesquel: scalable SQL storage for Web applications

Marcos K. Aguilera, Joshua B. Leners|arXiv (Cornell University)|Nov 8, 2014
Advanced Database Systems and QueriesComputer Science11 references5 citations
TL;DR

Yesquel is a scalable, SQL-compatible storage system for Web applications that combines the rich query capabilities of SQL with the performance and scalability of NoSQL systems. It achieves this by embedding a query processor in each client, using a distributed balanced tree (DBT) built atop a transactional key-value storage layer, enabling high-throughput, low-latency transaction processing with full SQL support and efficient distributed execution.

ABSTRACT

Based on a brief history of the storage systems for Web applications, we motivate the need for a new storage system. We then describe the architecture of such a system, called Yesquel. Yesquel supports the SQL query language and offers performance similar to NOSQL storage systems.

Motivation & Objective

  • Address the scalability and performance limitations of traditional SQL databases in modern Web applications with high-volume, low-latency workloads.
  • Overcome the trade-off between functionality and scalability inherent in NoSQL systems by providing full SQL support without sacrificing performance.
  • Eliminate vendor lock-in by enabling application portability across storage systems through standardized SQL interfaces.
  • Design a system that supports distributed transactions and scalable query processing without relying on complex, centralized coordination or hardware clocks.
  • Enable efficient, low-latency execution of small, frequent queries typical of Web workloads by integrating query processing closely with the storage layer.

Proposed method

  • Embed a lightweight, client-side query processor in each application instance to scale query processing capacity horizontally.
  • Use a distributed balanced tree (DBT) data structure as the underlying storage engine, with nodes spread across multiple storage servers for load balancing and performance.
  • Build the DBT on top of a transactional key-value storage system that provides distributed ACID transactions at the lowest level.
  • Leverage distributed transactions to ensure consistency and isolation for all DBT operations, enabling efficient and correct concurrent access.
  • Map SQL queries to operations on the DBT, which are then translated into key-value operations on the underlying transactional storage layer.
  • Design protocols for distributed transactions that do not require specialized hardware clocks, improving deployability and reducing infrastructure complexity.

Experimental results

Research questions

  • RQ1Can a SQL-based storage system achieve performance comparable to NoSQL systems while maintaining full SQL functionality?
  • RQ2How can distributed transactions be efficiently integrated into a B-tree-like data structure to ensure consistency and scalability?
  • RQ3What architectural pattern enables both horizontal scaling of query processing and efficient coordination across distributed storage nodes?
  • RQ4To what extent can embedding query processors in clients reduce system-wide bottlenecks and improve throughput in Web-scale workloads?
  • RQ5How can a system provide full SQL support without incurring the performance penalties typical of traditional RDBMSs in distributed environments?

Key findings

  • Yesquel achieves performance comparable to NoSQL key-value systems while supporting the full SQL query language, enabling rich operations like joins, aggregations, and secondary indexes.
  • The embedded query processor architecture allows the system to scale query processing capacity linearly with the number of clients, avoiding central bottlenecks.
  • By placing distributed transactions at the lowest layer, Yesquel enables the DBT to use transactional guarantees for consistency, improving correctness and simplifying data management.
  • The system avoids reliance on specialized hardware clocks, making it deployable in standard data center environments without requiring precise time synchronization.
  • Yesquel’s architecture reduces vendor lock-in by using standard SQL as the interface, allowing applications to be ported across systems with minimal rework.
  • The combination of client-side query processing and a transactional key-value foundation enables low-latency execution of small, frequent queries typical of Web applications.

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.