Pro Couchbase server /
This is a hands-on guide for developers and administrators who want to take advantage of the power and scalability of Couchbase Server in their applications. This book covers from the basics of NoSQL database design, through application development, to Couchbase Server administration. Influenced by...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress,
2014.
|
Colección: | Expert's voice in databases.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Machine generated contents note: pt. I Getting Started
- ch. 1 Getting Started with Couchbase Server
- From SQL to NoSQL
- 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
- Configuring Couchbase Server
- Creating a Bucket
- Summary
- ch. 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
- pt. II Development
- ch. 3 Couchbase Client Libraries
- Java SDK
- Adding the Java SDK Manually
- Using Maven
- Using the CouchbaseClient Class
- NET SDK
- Manually Referencing the Assemblies
- Using NuGet Package Manager
- Using the CouchbaseClient Class
- C SDK
- Linux
- Windows
- Mac OS X
- Using libcouchbase
- Node.js SDK
- PHP SDK
- Linux
- Windows
- Mac OS X
- Using the PHP SDK
- Python SDK
- Linux
- Windows
- Using the Python SDK
- Ruby SDK
- 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
- ch. 4 CRUD and Key-Based Operations
- Persistence and Replication
- Concurrency
- Document Expiration
- Database Operations
- Storing Data
- Retrieving Data
- Retrieving and Updating Data Concurrently
- Pessimistic Concurrency through Locking
- Appending and Prepending Binary Data
- Numeric Data
- Deleting Data
- Observing Data
- General SDK-Related Notes
- Summary
- ch. 5 Working with Views
- MapReduce 101
- Creating a View in Couchbase
- Map Function
- Creating Views from Code
- Querying Views
- Reduce Function
- Views and Persistence
- Updating Indexes
- Views and Expiration
- Geospatial Views
- Creating Geospatial Views
- Summary
- ch. 6 N1QL Query Language
- Executing N1QL Queries
- N1QL Language
- FROM Clause
- Query Conditions and Expressions
- Sorting and Grouping
- Indexing Properties
- Exploring the Query Execution Details
- Summary
- ch. 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
- ch. 8 ElasticSearch Integration
- Setting Up ElasticSearch Clusters
- Forming a Cluster
- Setting Up Replication between Couchbase and ElasticSearch
- Querying with ElasticSearch
- ElasticSearch Query DSL
- Summary
- pt. III Couchbase at Scale
- ch. 9 Sizing and Deployment Considerations
- Planning the Couchbase Cluster
- RAM
- Storage
- Storage Performance
- CPU
- Nodes
- Network Topology
- Replication
- Swap Space
- Summary
- ch. 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
- ch. 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
- ch. 12 Couchbase Server in the Cloud
- Couchbase Server on Amazon Web Services
- Considerations for Deploying Couchbase Server on AWS
- Setting up Couchbase Server on AWS
- Couchbase Server on Microsoft Azure
- Considerations for Deploying Couchbase on Microsoft Azure
- Setting Up Couchbase Server on Microsoft Azure
- Best Practices for Running Couchbase in Microsoft Azure
- Summary
- ch. 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
- pt. IV Mobile Development with Couchbase
- ch. 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
- ch. 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
- ch. 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
- Sync Function
- Sync Gateway Administration
- Authenticating Users
- Access Control
- Shadowing Couchbase Server Buckets
- Deploying the Sync Gateway
- Summary.