Aerospike client libraries
For the complete documentation index see: llms.txt
All documentation pages available in markdown.
Aerospike client libraries provide developers with the tools needed to interact with Aerospike’s high-performance, NoSQL database. Connect to a cluster, perform reads and writes, run queries, and manage data models from your preferred programming language.
Choose Your Client
Developer SDK
Modern, intuitive APIs for Java and Python with Aerospike Expression Language (AEL) queries and intelligent error handling.
Best for new projects and developers who want a streamlined experience.
NewLegacy clients
Full-featured clients for Java, Python, Go, C, C#, Node.js, Rust, and PHP.
Battle-tested in production at scale across thousands of deployments.
Clients can opt in to Server error details in Aerospike Database 8.2.0 and later.
Developer SDK
The Developer SDK is a modern alternative to the legacy clients, available for Java and Python:
- Language-native APIs: Chainable, fluent methods that feel natural
- AEL queries: Filter with readable expressions like
"status == 'active' and age > 21" - Smart error handling: Messages you can act on, with recovery suggestions
- Decoupled configuration: Separate connection from behavior
| Language | Package | Docs |
|---|---|---|
| Java | com.aerospike:aerospike-fluent-client-java | Documentation |
| Python | aerospike-fluent | Documentation |
Quickstart → · Installation → · API Concepts →
Legacy clients
Production-ready clients for all major languages. Each client is optimized for performance and integrates seamlessly with Aerospike features like secondary indexes, user-defined functions, and record-level TTLs.
Java
Build with Java
The original high-performance Java client with full database access.
Python
Build with Python
Feature-rich Python client for data science, web apps, and automation.
Go
Build with Go
High-performance Go client for microservices and cloud-native applications.
C# / .NET
Build with C#
.NET client for Windows, Linux, and cross-platform applications.
Node.js
Build with Node.js
Async-first Node.js client for web applications and APIs.
Rust
Build with Rust
Memory-safe Rust client with support for strong consistency and ACID transactions.
C
Build with C
Low-level C client for embedded systems and maximum performance.
PHP
Build with PHP
PHP client for web applications and content management systems.
Which Client Should I Use?
| If you… | Use |
|---|---|
| Are starting a new project in Java or Python | Developer SDK |
Want AEL queries like "age > 21" | Developer SDK |
| Need production-proven stability | Legacy client for your language |
| Use Go, C#, Node.js, Rust, C, or PHP | Legacy client (Developer SDK not available yet) |
| Have an existing codebase with legacy client | Continue with Legacy client |
Client Compatibility
See the Client Compatibility Matrix for version compatibility between clients and Aerospike server.