Questions tagged [aerospike]

Aerospike is an open source, distributed NoSQL database and key-value store built to achieve speed at scale out on commodity hardware. Aerospike is commonly used as a key-value store, cache replacement, user profile store, recommendation engine, and fraud detection use cases.

Overview

Aerospike is an open source, distributed NoSQL database and key-value store built to achieve speed at scale out on commodity hardware. Aerospike is commonly used as a key-value store, cache replacement, user profile store, recommendation engine, and fraud detection use cases.

Features

  • An operational NoSQL database with simple real-time analytics capabilities built in.
  • A fast key value store with support for complex objects, user defined functions and distributed queries.
  • The first in-memory NoSQL database optimized for flash (indexes in DRAM and data in DRAM or natively stored on flash devices) with dramatic price/performance benefits.
  • A distributed database with a shared-nothing, clustered architecture and single row ACID properties. Aerospike ensures high availability, replicating data synchronously within clusters and asynchronously across data centers.
  • The system of engagement for personalized and revenue critical user interactions, Aerospike was architected to scale with zero touch and zero downtime operations.

Links

Related tags

816 questions
4
votes
1 answer

How to fetch primary key in Aerospike Node.js Client

I'm trying to fetch all records along with Primary key from Aerospike. I tried using client.query functionality as below var query = client.query(aerospikeDBParams.dbName,"testRecords"); var stream = query.execute(); with this I'm getting all the…
Radhika.S
  • 355
  • 1
  • 2
  • 8
4
votes
4 answers

Which Key value, Nosql database can ensure no data loss in case of a power failure?

At present, we are using Redis as an in-memory, fast cache. It is working well. The problem is, once Redis is restarted, we need to re-populate it by fetching data from our persistent store. This overloads our persistent store beyond its capacity…
Varun
  • 4,054
  • 6
  • 31
  • 54
4
votes
1 answer

Implement a LIKE query operator for Aerospike

I'm new with Aerospike. Is there any easy way to make a search with a part of text like Mysql. Example: select * from test where column like '%hello%'; I find difficult to migrate to a NoSQL database if this common operations are not…
karrtojal
  • 796
  • 7
  • 16
4
votes
2 answers

Aerospike Hot Key error

Based on this link, I understood that hotkey error happens when there are too many concurrent operation requests for the same key. My current scenario: I have a record which will get updated in every 5-10 seconds interval and I will have around 20…
Tej
  • 583
  • 1
  • 6
  • 21
4
votes
1 answer

How to create two Aerospike Clusters on same L2 network

I am using two aerospike clusters(each with one node/machine only). Since both machine are on same LAN, they try to connect each other trying to form single cluster. Because of this I was getting error(while inserting record): Error: (11)…
user3851499
4
votes
1 answer

Store data into aerospike

I have some data which is to be stored into aerospike against a column Suppose the incomming data is ["A", 1] Now the first question is how to hold this data in Java. I tried this. ArrayList value = new ArrayList(); value.add(new…
iec2011007
  • 1,828
  • 3
  • 24
  • 38
4
votes
2 answers

Aerospike cluster with different replication factors

I have a cluster with replication factor of 6 (and 6 nodes). I want to change the replication factor to 3 without downtime. What happens if I change the RF node by node and restart each node? Is it possible to work?
Daniel Cukier
  • 11,502
  • 15
  • 68
  • 123
4
votes
1 answer

Aerospike database understanding

Hi I'm new in aerospike DB. so I have some quick questions. If I have a cluster with 3 node. IP is 192.168.1.2, 192.168.1.3, 192.168.1.4. So when I will configuration in client, which IP address should I use as cluster ip? should I use 3 IP or 1…
4
votes
3 answers

Unit testing for Aerospike

Is there any in-memory mock server available for Aerospike Unit Testing? Currently I have vagrant setup on my local to run aerospike but that might not be available on our build servers. How should I unit test otherwise?
dejavu
  • 3,236
  • 7
  • 35
  • 60
4
votes
1 answer

Aerospike: how to bulk load a list of integers into a bin?

I'm trying to use the Aerospike bulk loader to seed a cluster with data from a tab-separated file. The source data looks like this: set key segments segment 123 10,20,30,40,50 segment 234 40,50,60,70 The third column, 'segments', contains a comma…
Alex Woolford
  • 4,433
  • 11
  • 47
  • 80
4
votes
1 answer

Consistency issue with Aerospike

I am using in Aerospike (v3.5.12) as in memory key value store of one node. Also usign Java client(v3.1.7) to retrieve and write data. I notice that under certain QPS (3K) of reads(Batch) and writes. Some of the data retrieval doesn't work. [INFO]…
Alex Stanovsky
  • 1,286
  • 1
  • 13
  • 28
4
votes
2 answers

How do I get all the keys from a namespace?

How can I get all the keys from aerospike namespace like I can get keys from a map using map.keyset. I went through this link Aerospike: how do I get record key?. I did what was being told in the answers. I wrote the code with writePolicy.sendKey =…
Hammad
  • 177
  • 1
  • 10
4
votes
1 answer

Aerospike - Store *small quantity* of large values

Scenario Let's say I am storing up to 5 byte arrays, each 50kB, per user. Possible Implementations: 1) One byte array per record, indexed by secondary key. Pros: Fast read/write. Cons: High cardinality query (up to 5 results per query). Bad for…
RavenMan
  • 1,807
  • 1
  • 15
  • 27
4
votes
1 answer

Aerospike - Read (with consistency level ALL) when one replica is down

TL;DR If a replica node goes down and new partition map is not available yet, will a read with consistency level = ALL fail? Example: Given this Aerospike cluster setup: - 3 physical nodes: A, B, C - Replicas = 2 - Read consistency level = ALL…
RavenMan
  • 1,807
  • 1
  • 15
  • 27
4
votes
1 answer

Master objects count drops after re-sizing cluster (adding more nodes)

What could be the reason for spontaneous master object count drop? I've added 3 more nodes to a cluster containing 17 nodes, and suddenly there'are 1 billion records less (as reported by AMC UI)? Replica objects goes to zero as well. Thanks!
Michael Spector
  • 36,723
  • 6
  • 60
  • 88