Home Add NoSQL Capabilities to MySQL With the HandlerSocket Plugin

Add NoSQL Capabilities to MySQL With the HandlerSocket Plugin

Do you want to get the performance of a NoSQL database, but need to use MySQL (or the MySQL fork Percona Server)? DeNA developer Akira Higuchis’s HandlerSocket plugin adds NoSQL functionality to MySQL for handling tasks such as primary key lookups without caching. HandlerSocket runs as a daemon within MySQL mysqld process to simple CRUD operations on tables. It’s available for Linux-based installations of MySQL and is now included in Percona Server 5.1.52-12.3.

According to a blog post by DeNA developer (and former MySQL/Oracle employe) Yoshinori Matsunobu, HandlerSocket has the following advantages:

  • Supporting lots of query patterns
  • Can handle lots of concurrent connections
  • Extremely high performance
  • No duplicate cache
  • No data inconsistency
  • Crash-safe
  • SQL can be used from mysql clients
  • All operational benefits from MySQL
  • No need to modify/rebuild MySQL
  • Independent from storage engines

Matsunobu also notes the following disadvantages:

  • Need to learn HandlerSocket APIs
  • No security features
  • No benefit for HDD bound workloads

This seems like it could be a real game-changer in the database space as IT and developers wrestle with how to implement not-just-SQL solutions to various problems.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.