Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Couchbase

You're reading from  Learning Couchbase

Product type Book
Published in Nov 2015
Publisher
ISBN-13 9781785288593
Pages 248 pages
Edition 1st Edition
Languages
Author (1):
Henry Potsangbam Henry Potsangbam
Profile icon Henry Potsangbam

Table of Contents (12) Chapters

Introduction to Couchbase The Couchbase Administration Interface Storing Documents in Couchbase Using Buckets Designing a Document for Couchbase Introducing Client SDK Retrieving Documents without Keys Using Views Understanding SQL-Like Queries – N1QL Full Text Search Using ElasticSearch Data Replication and Compaction Administration, Tuning, and Monitoring Case Study – An E-Commerce Application Index

XDCR impact


Although XDCR provides various features that enhance or provide much flexibility to your business requirements, there is a price for enabling it in the cluster.

You need to ensure that you perform proper sizing for it, or else there will be performance impact on the existing cluster. XDCR is CPU intensive, and you need to ensure that the parallel stream number is configured based on the capacity of the server CPU. Ideally, you should have one additional core for each bucket configured for XDCR.

XDCR also doubles the I/O usage of the cluster disk. Hence, make sure that you verify the I/O capacity and increase it depending on the IOPS required for your particular application requirements. Besides disk I/O, you will require more RAM for bidirectional XDCR. You can configure an additional 20 percent of the RAM in addition to the capacity required for holding the working data set.

Here ends the discussion on the XDCR feature. Now, let's try to understand another process called compaction...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}