

Aerospike: Up and Running. Developing on a Modern Operational Database for Globally Distributed Apps



Aerospike: Up and Running. Developing on a Modern Operational Database for Globally Distributed Apps - Najlepsze oferty
Aerospike: Up and Running. Developing on a Modern Operational Database for Globally Distributed Apps - Opis
If you're a developer looking to build a distributed, resilient, scalable, high-performance application, you may be evaluating distributed SQL and NoSQL solutions. Perhaps you're considering the Aerospike database.This practical book shows developers, architects, and engineers how to get the highly scalable and extremely low-latency Aerospike database up and running. You will learn how to power your globally distributed applications and take advantage of Aerospike's hybrid memory architecture with the real-time performance of in-memory plus dependable persistence. After reading this book, you'll be able to build applications that can process up to tens of millions of transactions per second for millions of concurrent users on any scale of data.This practical guide provides:Step-by-step instructions on installing and connecting to AerospikeA clear explanation of the programming models availableAll the advice you need to develop your Aerospike applicationCoverage of issues such as administration, connectors, consistency, and securityCode examples and tutorials to get you up and running quicklyAnd more Spis treści:Preface
Conventions Used in This Book
OReilly Online Learning
How to Contact Us
Acknowledgments
1. Introduction to Aerospike
What Makes Aerospike Different
Availability and Consistency (AP and CP Modes)
Availability first (AP Mode)
Consistency first (CP Mode)
Flash Optimization
What Makes Aerospike Optimal for Submillisecond Workloads
Avoiding Hotspots with Shared-Nothing Architecture
Keeping Performance (...) więcej Predictable with Resilient Stability
Reducing Cluster Size with Optimal Use of Each Node
Why Milliseconds Matter
Summary
2. Developing Your First Aerospike Application
Installing Aerospike
Installing Aerospike on Windows or a Mac
Installing the Aerospike database container
Installing tools
Installing Aerospike on Linux
Deployments Made Simple with AeroLab
Installing and configuring AeroLab
Using AeroLab
Aerospike Terminology
Simple First Application
Establishing a Connection to the Database
Inserting and Retrieving Data
Using Aerospike Quick Look
Policies
Summary
3. Basic Operations
CRUD Operations
Data Types
Data Lifecycle
Create
Read
Update
Delete
Lightweight Operations
Batch
Summary
4. Advanced Operations
The operate() Command
Simplifying the Program
The Operation Class
Return value of operate()
Order of operations
ListOperation and MapOperation
Lists
Maps
Operations
Inverted Flag
Contexts
Expressions
Filter Expressions
Trilean Logic
Read Expressions
Batch Operations
Batch Writes
Arbitrary Batch Operations
Secondary Indexes
Using the Secondary Index
Multiple Predicate Queries
Summary
5. Architecture
Scale Out
Shared-Nothing Database Cluster
Data Distribution
Cluster Self-Management
Cluster View
Cluster View Changes
Intelligent Clients
Cluster Node Handling
Scale Up
Hybrid Memory Architecture
Multicore Processors
Memory Fragmentation
Data Structure Design
Scheduling and Prioritization
Parallelism
Distributed Transaction Consistency
Strong Consistency in Transactions
Roster
Split-Brain Conditions
Writes
Rack Awareness
Summary
6. Data Modeling
Aerospike Data Modeling
Secondary Indexes
Aggregating Subobjects into One Record
Aggregating Subobjects into Multiple Records
Additional Operations on This Model
Further Refinements
List ordering
Ordering by value
Associating Objects
Updating Relationships
Reading Related Objects
Storing of IDs
Other Common Data Modeling Problems
External ID Resolution
The Very Small Object Problem
Expiry of Map Entries
Retrieve any active segments
Adding new segments and removing expired segments
Summary
7. Administration, Tools, and Configuration
Configuration
Anatomy of a Config File
Service context
Logging context
Network context
Namespace context
Dynamic Configuration
Tools
asinfo
Dynamic configuration
Statistics, special settings, latencies
asadm
Informational commands
Modifications
Managing Index, ACL, UDF
Aerospike Quick Look
asbackup and asrestore
asloglatency and asbench
Security
Summary
8. Monitoring and Best Practices
Monitoring
Application Metrics
Aerospike Database Metrics
Prometheus
Prometheus web requests
Aerospike exporter
Aerospike exporter service install
Aerospike exporter container
Metrics Reference
Alert Rules and Dashboards
Alert rules
Dashboards
Software Updates
Preparation
Upgrade
Quiesce
Troubleshooting
Summary
9. Advanced Concepts
Synchronous Active-Active System
Asynchronous System
Active-Passive Topologies
Active-Active Topologies
Shipping Strategy
Rewind
Convergence
Non-Aerospike Destinations
Ordering Limitations
Strong Consistency Can Be Fast
Summary
10. Aerospike Practical Examples
User Profile Store
Data Model
Expiry of Elements
Customer 360
Data Model
Fraud Detection
Brute Force
Decision Trees or Neural Networks
Vectors
Summary
Index mniej
Aerospike: Up and Running. Developing on a Modern Operational Database for Globally Distributed Apps - Opinie i recenzje
Na liście znajdują się opinie, które zostały zweryfikowane (potwierdzone zakupem) i oznaczone są one zielonym znakiem Zaufanych Opinii. Opinie niezweryfikowane nie posiadają wskazanego oznaczenia.