Aerospike: Up and Running. Developing on a Modern Operational Database for Globally Distributed Apps - Helion
ISBN: 9781098155568
stron: 220, Format: ebook
Data wydania: 2024-10-15
Księgarnia: Helion
Cena książki: 254,15 zł (poprzednio: 299,00 zł)
Oszczędzasz: 15% (-44,85 zł)
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 Aerospike
- A clear explanation of the programming models available
- All the advice you need to develop your Aerospike application
- Coverage of issues such as administration, connectors, consistency, and security
- Code examples and tutorials to get you up and running quickly
- And more
Osoby które kupowały "Aerospike: Up and Running. Developing on a Modern Operational Database for Globally Distributed Apps", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Aerospike: Up and Running. Developing on a Modern Operational Database for Globally Distributed Apps eBook -- 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
- Availability and Consistency (AP and CP Modes)
- What Makes Aerospike Optimal for Submillisecond Workloads
- Avoiding Hotspots with Shared-Nothing Architecture
- Keeping Performance Predictable with Resilient Stability
- Reducing Cluster Size with Optimal Use of Each Node
- Why Milliseconds Matter
- Summary
- What Makes Aerospike Different
- 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
- Installing Aerospike on Windows or a Mac
- Aerospike Terminology
- Simple First Application
- Establishing a Connection to the Database
- Inserting and Retrieving Data
- Using Aerospike Quick Look
- Policies
- Summary
- Installing Aerospike
- 3. Basic Operations
- CRUD Operations
- Data Types
- Data Lifecycle
- Create
- Read
- Update
- Delete
- Lightweight Operations
- Batch
- Summary
- CRUD Operations
- 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
- The operate() Command
- 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
- Scale Out
- 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
- Anatomy of a Config File
- 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
- asinfo
- Security
- Summary
- Configuration
- 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
- Monitoring
- 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
- User Profile Store
- Index