Chapter 2. Developing Your First Aerospike Application
Now that you know what Aerospike is, let’s start writing our first program using Aerospike as the database. Aerospike supports multiple programming languages such as Java, C, C#, Python, and Node.js, but this book will focus on Java and Python. If you are following along, be aware that the Python client works on Mac and Linux, but not Windows. Otherwise, the concepts discussed will apply to all the programming languages Aerospike supports. For a full list of these languages, which client versions work with which Aerospike server, and what features are supported, take a look at the Aerospike Client Matrix.
Installing Aerospike
There are two components of Aerospike that you will need to install. The first is the actual Aerospike database and the second includes the tools used to interact with it. The database install only includes these tools for Linux. If you are using Mac OS, and you would like the convenience of not having to call Docker first before each command in the tools package, a native version of the tools will be required.
Since Aerospike is designed for the Linux operating system, it will not run natively on either Windows or Mac OS. However, there are simple ways to run Aerospike on these machines.
Installing Aerospike on Windows or a Mac
Running the database on Windows or a Mac requires using a virtualization layer like Docker or VirtualBox to run Linux. Docker or a similar containerized solution is arguably ...
Get Aerospike: Up and Running now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.