DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. Databases
  4. Key-value or document database? Couchbase 2.0 bridges the gap.

Key-value or document database? Couchbase 2.0 bridges the gap.

Don Pinto user avatar by
Don Pinto
·
Dec. 15, 12 · Interview
Like (0)
Save
Tweet
Share
2.98K Views

Join the DZone community and get the full member experience.

Join For Free

The content of this article was originally written by Bob Wiederhold, the CEO of Couchbase.

Early this morning, Couchbase 2.0 was officially released. The release is a big step forward for the Couchbase open source project and, in my opinion, has the potential to shake up the NoSQL landscape. You can read all about the new features and capabilities in other blog posts but I’d like to focus here on why I think this release is significant.

With the 2.0 release Couchbase is now both a key-value and a document database.  Both technology types have generated a lot of interest in the NoSQL market. They are, of course, very similar. The fundamental difference is that a pure key-value database doesn’t understand what’s stored in the value and limits developers to a simple interface of SETS and GETS, while a document database understands the format in which documents are stored and can therefore provide richer functionality for developers, such as access to documents through queries.

It’s probably not surprising that pure key-value and document databases have evolved quite differently during the early years of the NoSQL industry. Since the development environment of a pure key-value database is by its nature very limited, developers of pure key-value databases have focused their resources on easy scalability, high performance, and reliability at scale. On the other hand, developers of document databases have generally focused their resources on building a rich developer environment with oodles of features but are often criticized for poor scalability, performance, and reliability at scale.

As a result, applications developers have too often had to make a difficult tradeoff: do I opt for the scalability, performance, and reliability advantages of a pure key value database and live with a simple developer API, or do I pick the richer developer API of a document database and live with poorer scalability, performance, and reliability?

I think the Couchbase 2.0 release takes a huge step in bridging this gap. We’ve worked hard to make sure this release provides the same easy scalability, consistently high performance, and reliability at scale for which Couchbase has become well known, while also providing the indexing and querying capabilities that developers love about a document database.

Frankly, for those looking for an alternative to MongoDB because their application requires better scalability, performance, and reliability, we think Couchbase 2.0 is a great fit.

While a primary focus of the 2.0 release was augmenting Couchbase’s functionality to become a document database, the release also significantly extends our leadership in scalability, performance, and always-on 24x365. Whether you are developing against a pure key-value or a document model, we think you’ll find these new features of interest:

  • Cross Data Center Replication (XDCR) extends our leadership in ease of scalability by allowing you to mirror your database across datacenters;
  • Cache management improvements extend our leadership in performance;
  • On-line automatic database compaction extends our leadership in always-on 24x365 by removing any worries about database fragmentation.

To sum it up, I believe Couchbase’s entry into the document database arena, combined with our legacy of strength in performance and scalability, gives users a welcome (and worthy) alternative to MongoDB. And, by encompassing both key value and document database capabilities, we offer more options to address a broader range of use cases with a single technology. Couchbase 2.0 is the most important release to date in the life of Couchbase technology, and one that will deliver a lot of value for users and customers. But you need to decide that for yourself – download Couchbase Server 2.0 and let me know what you think!

Database Document

Published at DZone with permission of Don Pinto, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • The Role of Data Governance in Data Strategy: Part II
  • Memory Debugging: A Deep Level of Insight
  • Why Does DevOps Recommend Shift-Left Testing Principles?
  • How to Develop a Portrait Retouching Function

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: