
Pro Couchbase Server
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
New editions

Additional editions

Persons
Content
- Intro
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewers
- Acknowledgments
- Introduction
- Part I : Getting Started
- Chapter 1: Getting Started with Couchbase Server
- From SQL to NoSQL
- The CAP Theorem
- NoSQL and Couchbase Server
- Couchbase as Key-Value Store vs. Document Database
- Couchbase Server Architecture
- Data Storage
- Installing Couchbase Server
- Selecting a Couchbase Server Edition
- Installing Couchbase on Different Operating Systems
- Linux
- Windows
- Mac OS X
- Configuring Couchbase Server
- Creating a Bucket
- Summary
- Chapter 2: Designing Document-Oriented Databases with Couchbase
- RanteR: The Anti-Social Network
- Mapping Application Entities
- Using a Relational Database
- Using a Document-Oriented Approach with Couchbase
- Designing Keys
- Natural Keys
- Creating Your First Document
- Counters
- Universally Unique Identifiers (UUID)
- Metadata
- Document Versioning
- Versioning Considerations when Using the Couchbase SDKs
- Versioning Considerations in Couchbase Views
- Summary
- Part II: Development
- Chapter 3: The Couchbase Client Libraries
- The Java SDK
- Adding the Java SDK Manually
- Using Maven
- Using the CouchbaseClient Class
- The .NET SDK
- Manually Referencing the Assemblies
- Using NuGet Package Manager
- Using the CouchbaseClient Class
- The C SDK
- Linux
- Ubuntu
- Red Hat
- Windows
- Mac OS X
- Using libcouchbase
- The Node.js SDK
- The PHP SDK
- Linux
- Windows
- Mac OS X
- Using the PHP SDK
- The Python SDK
- Linux
- Windows
- Using the Python SDK
- The Ruby SDK
- A Simple Ruby Script
- Building a Rails Application
- Inside the Couchbase Client Libraries
- Thread Safety
- Couchbase Client Initialization
- Performing Operations Using the Couchbase Client
- Reconfiguration
- Summary
- Chapter 4: CRUD and Key-Based Operations
- Persistence and Replication
- Concurrency
- Document Expiration
- Database Operations
- Storing Data
- SDK-Specific Differences
- Retrieving Data
- SDK-Specific Differences
- Get-and-Touch
- SDK-Specific Differences
- Retrieving and Updating Data Concurrently
- Get-with-CAS
- SDK-Specific Differences
- Check-and-Set
- SDK-Specific Differences
- Pessimistic Concurrency through Locking
- SDK-Specific Differences
- Replace
- SDK-Specific Difference
- Appending and Prepending Binary Data
- SDK-Specific Differences
- Touch
- SDK-Specific Differences
- Numeric Data
- SDK-Specific Differences
- Deleting Data
- SDK-Specific Differences
- Flush
- Observing Data
- SDK-Specific Differences
- General SDK-Related Notes
- Summary
- Chapter 5: Working with Views
- MapReduce 101
- Creating a View in Couchbase
- The Map Function
- Filtering in MapReduce
- The emit Function
- Creating Views from Code
- Getting a Design Document
- Setting a Design Document
- SDK-Specific Differences
- Querying Views
- Querying by Keys
- Range Querying
- Sorting
- Pagination
- SDK-Specific Differences
- The Reduce Function
- Built-in Reduce Functions
- Compound Keys
- Custom Reduce Functions
- Views and Persistence
- Updating Indexes
- Views and Expiration
- Geospatial Views
- Creating Geospatial Views
- Summary
- Chapter 6: The N1QL Query Language
- Executing N1QL Queries
- The N1QL Language
- The FROM Clause
- Query Conditions and Expressions
- Sorting and Grouping
- Indexing Properties
- Exploring the Query Execution Details
- Summary
- Chapter 7: Advanced Couchbase Techniques
- Software Error Handling
- Reading Replica Documents
- Handling Temporary Out-of-Memory Errors
- Implementing Transactions with Two-Phase Commit
- Maintaining Sets of Items
- Using CAS as an ETag
- Using Couchbase as an Out-of-Process Session Store
- Summary
- Chapter 8: ElasticSearch Integration
- Setting Up ElasticSearch Clusters
- Forming a Cluster
- Setting Up Replication between Couchbase and ElasticSearch
- Querying with ElasticSearch
- The ElasticSearch Query DSL
- Endpoints
- URI and Request Body Search
- Term Queries
- Match Queries
- Multi-Match Queries
- Filters versus Queries
- Mapping
- Geospatial Filters
- Geo-Binding Box Filters
- Geo-Distance Filter
- Summary
- Part III: Couchbase at Scale
- Chapter 9: Sizing and Deployment Considerations
- Planning the Couchbase Cluster
- RAM
- Storage
- Storage Performance
- CPU
- Nodes
- Network Topology
- Firewall Configuration
- Windows MaxUserPort
- Replication
- Swap Space
- Summary
- Chapter 10: Basic Administration
- Building the Cluster
- Adding a Node to the Couchbase Cluster
- Removing a Node from the Cluster
- Rebalancing
- Swap Rebalancing
- Changing the Data and Index Path
- Backing Up and Restoring
- Using cbbackup to Back Up Data
- Using cbrestore to Restore Backed-Up Data
- Using cbtransfer to Transfer Data
- Backing Up and Restoring Using Data Files
- Database and View Compaction
- Dealing with Compaction
- Auto-Compaction
- Triggering Compaction Externally
- Compaction in Action
- Failover
- Automatic Failover
- Manual or Monitored Failover
- Dealing with Failed Nodes
- Summary
- Chapter 11: Monitoring and Best Practices
- Less Obvious Couchbase Mechanisms
- Replication and Queues
- Working-Set Management and Ejection
- Controlling the Purge Interval
- Monitoring
- Monitoring Couchbase at the System Level
- Detailed Per-Bucket Monitoring
- Server Resources
- Summary (the Category)
- vBucket Resources
- Disk Queues
- TAP Queues
- Views
- XDCR
- Memcached Buckets
- Statistics and Cluster Health
- Using cbstats
- Retrieving Statistics from the HTTP API
- Generating a Cluster Health Report with cbhealthchecker
- Server Warmup
- Logs
- Alerts
- Optimizing Disk Throughput
- Summary
- Chapter 12: Couchbase Server in the Cloud
- Couchbase Server on Amazon Web Services
- Considerations for Deploying Couchbase Server on AWS
- Location of the Nodes
- Disk Storage
- Security Groups
- Setting up Couchbase Server on AWS
- Manually Creating EC2 instances
- Deploying Couchbase Using AWS CloudFormation
- Deploy Couchbase Using the AWS Marketplace
- Couchbase Server on Microsoft Azure
- Considerations for Deploying Couchbase on Microsoft Azure
- Downtime in Microsoft Azure Virtual Machines and Availability Sets
- Virtual Machine Sizes
- Disk Storage
- Microsoft Azure Temporary Storage Drives
- Data Disks
- Data Disk Performance
- Network Configuration
- Setting Up Couchbase Server on Microsoft Azure
- Creating a Virtual Network
- Manually Creating Microsoft Azure VMs
- Configure VMs to Use Static IP Addresses
- Best Practices for Running Couchbase in Microsoft Azure
- Summary
- Chapter 13: Cross-Datacenter Replication (XDCR)
- Prerequisites
- Setting Up Unidirectional XDCR
- Advanced XDCR Settings
- Conflict Resolution
- Bi-Directional Replication and Advanced Topologies
- Monitoring XDCR
- Outbound XDCR Operations
- Incoming XDCR Operations
- Recovering Data from a Remote Cluster
- Summary
- Part IV: Mobile Development with Couchbase
- Chapter 14: Couchbase Lite on Android
- Getting Started with Couchbase Lite
- Adding Couchbase Lite to an Android Project
- Creating a Couchbase Lite Manager
- Creating a Couchbase Lite Database
- Using Couchbase Lite
- CRUD Operations
- Attachments
- Views
- Defining Views
- Querying Views
- Summary
- Chapter 15: Couchbase Lite on iOS
- Getting Started with Couchbase Lite on iOS
- Adding Couchbase Lite to an iOS Project
- Creating a Couchbase Lite Manager
- Creating a Couchbase Lite Database
- Using Couchbase Lite
- CRUD Operations
- Attachments
- Views
- Defining Views
- Querying Views
- Summary
- Chapter 16: Synchronizing Data with the Couchbase Sync Gateway
- Couchbase Sync Gateway
- Installing the Sync Gateway
- Running the Sync Gateway
- Working with the Sync Gateway
- Channels
- The Sync Function
- Sync Gateway Administration
- Authenticating Users
- Access Control
- Shadowing Couchbase Server Buckets
- Deploying the Sync Gateway
- Summary
- Index
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.