Skip to content

Overview: Aerospike C client

For the complete documentation index see: llms.txt

All documentation pages available in markdown.

Feature highlights

Core operations:

  • Atomic requests: Create, read, update, and delete individual records, including compound bin operations in a single round trip.
  • Cluster awareness: The client discovers cluster topology, routes requests to the correct node, and handles node failures, cluster scaling, and data rebalancing entirely in the background.

Query and multi-record processing:

  • Primary key lookups: Fetch a record directly by key in a single round trip.
  • Secondary index queries: Query indexed bins using filter expressions.
  • Background queries: Run long-running queries without blocking the application thread.
  • Batch and transactions: Process many records in one request; use multi-record transactions on Strong Consistency namespaces.

Asynchronous and operational features:

  • Non-blocking I/O: Event-loop-friendly async APIs for high-throughput applications.
  • Policies and observability: Tune read/write behavior, logging, metrics, and shared-memory access for co-located deployments.
  • Server-side logic: Register and invoke user-defined functions (UDFs) and aggregations on the server.

Ready to get started?

Installation

Install the C client library and verify your development environment.

Installation →

Best practices

Explore logging configuration, connection policies, and record handling recommendations.

Logging best practices →

Error handling

Understand error codes and recovery steps for common failures.

Error handling →

Usage examples

Start with create, read, and delete operations to learn the core API.

Usage examples →

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?