Skip to Content
Aerospike: Up and Running
book

Aerospike: Up and Running

by V. Srinivasan, Tim Faulkes, Albert Autin, Paige Roberts
October 2024
Intermediate to advanced
220 pages
6h 26m
English
O'Reilly Media, Inc.
Content preview from Aerospike: Up and Running

Chapter 3. Basic Operations

In Chapter 2, we illustrated what an introductory sample application might look like. We briefly discussed establishing connections, retrieving data, and inserting data. In this chapter, we will dive into all the basic operations you’ll use when putting Aerospike to work, such as creating, reading, updating, and deleting. These operations are the heart of day-to-day usage. You’ll use what you learn in this chapter every day you use Aerospike.

We will also discuss time-to-live (TTL), which helps with data lifecycle management, work more with WritePolicy and Policy, and explore various data types and how to use them. In particular, you’ll see how the Aerospike client interface handles the data types for you in many cases, making data movement between systems easier.

CRUD Operations

Create, read, update, and delete (CRUD) are the four fundamental operations of interacting with any database, including Aerospike, and you will need them to get started with the basics. Before discussing the basic operations in depth, we should talk about the data types that can be used in Aerospike natively and the data lifecycle options available.

Data Types

A record in Aerospike can contain one or more bins. When created, Aerospike bins are of certain data types. It is important to know the various data types so you can make informed decisions based on their capabilities and limitations as well as the data size costs.

The Aerospike client driver’s built-in conversion ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

GitOps and Kubernetes

GitOps and Kubernetes

Billy Yuen, Todd Ekenstam, Jesse Suen, Alex Matyushentsev
Docker in Action, Second Edition

Docker in Action, Second Edition

Stephen Kuenzli, Jeffrey Nickoloff
gRPC: Up and Running

gRPC: Up and Running

Kasun Indrasiri, Danesh Kuruppu

Publisher Resources

ISBN: 9781098155599Errata Page