Aerospike is a row-oriented database. It’s a client-server solution, which allows you to build an app server cluster that attaches over TCP to your database cluster using Aerospike’s provided libraries. There are a number of NoSQL use cases where Aerospike is very well suited.


Key-Value Database

Many internet applications are designed around large, fast key-value stores. Internet applications like Twitter, Weibo, Uber, Pinterest are built primarily with large key-value systems instead of SQL. Key-value is predictable, and in-memory systems like Redis are very fast.

An application like Twitter has user records, where each user record might have a list of people followed or followers. Each user has the list of messages they’ve created – and maybe a list of sponsored messages they should read. With a NoSQL programming model, you’ll need to think about your application differently, but you’ll reap the benefits of speed and scale.

For high scale internet applications, a key-value database needs persistence, sharding, object operations like list and map manipulation, and to have great operational characteristics. A variety of different application languages need to be supported – most teams use a combination of languages, not just Java or Node but also perhaps Python, Ruby, or even components in C or Go.

What is a key-value store?

Read how several companies are using Aerospike as a key-value store


Cache Replacement

Aerospike’s low latency and high throughput make it an excellent cache replacement. A cache is best when you have static data. However, if your data is dynamically changing, you are forced to either deal with inconsistencies between the cache and the database or to overwhelm the database with writes.

Also, compared to Memcache and Redis, Aerospike has built-in clustering, and can use high performance Flash (SSDs). Benchmarks show Aerospike as comparable in single server speed to both Redis and Memcache, but Aerospike includes an automatic clustering and transparent resharding. This gives you the ability to add capacity by simply starting a node. Continuous defragmentation and eviction, and Memcache’s check-and-set operation, give you familiar and necessary functionality.

Although Aerospike has complex operations like queries, aggregations, and in-database compute, we continue to maintain a high performance “fast path” — “single bin” mode, and can be configured for a RAM-only single data copy mode. If you need a cache with more reliability, you can turn on data replication, but it’s not necessary.

Using key-value store as a cache

Read how KAYAK is using helping customer travel smarter