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
3
votes
1 answer

Aerospike Testcontainers: 2 namespaces

I'm using official Aerospike Docker image to run it with Testcontainers. I can specify a default namespace as the environment variable. Unfortunately, I cannot create 2 namespaces on container start. Is there any approach to achieve it?
3
votes
1 answer

Aerospike Golang how to use POLICY_KEY_SEND?

Im trying to put a record with PK using golang, the default policy prevent PK to shows so i need to use policy POLICY_KEY_SEND. im able to put this policy using PHP but i have no clue how to use it in golang aerospike library, this is my code…
Lezir Opav
  • 674
  • 3
  • 6
  • 21
3
votes
1 answer

Aerospike user not found when running as nonroot

I am using community edition aerospike docker image. Our k8s cluster does not allow running containers as root. hence i started following this doc for running as non root. But when run the image i am getting below error link eth0 state up link eth0…
best wishes
  • 5,789
  • 1
  • 34
  • 59
3
votes
1 answer

Need help on creating a UDF, returning "Unable to create a new Lua state"

I need to ask a question on creating UDF on aerospike. My configuration is as below: M1 Macbook Pro Docker using latest aerospike My application is running this code: AerospikeClient.RegisterUDF(nil, []byte({UDF_BODY}), {UDF_FILENAME}+".lua",…
3
votes
1 answer

Aerospike Parameter Error when appending to list

WritePolicy writePolicy = new WritePolicy(); writePolicy.expiration = ttl; Key keyObject = new Key(aerospikeNamespace, aerospikeSetName, key); com.aerospike.client.Value value = …
Nitin Vats
  • 33
  • 3
3
votes
3 answers

spring aerospike data - how to remove @user_key and @_class bins from sets

I am new to the spring-aerospike-data, I was hoping if someone could let me know how can I remove @user_key and @_class bins when I send post request to the application. I am trying to use spring-areospike-data in my Rest-api. please see bleow…
3
votes
1 answer

Aerospike NodeJS Client - "minConnsPerNode" Option

I'm trying to use the minConnsPerNode setting but it doesn't seem to work. I've opened an issue at the repository but after a month I still got no answer. (Issue) const Aerospike = require('aerospike') const config = { hosts:…
AnC
  • 641
  • 4
  • 16
3
votes
1 answer

How to query the metadata(such as ttl) of record from aql?

Assume you have a set as follows: +-------+-------+ | PK | value | +-------+-------+ | "pk1" | 24 | +-------+-------+ 1 row in set (0.105 secs) How to get the metadata for this?
paradocslover
  • 2,932
  • 3
  • 18
  • 44
3
votes
2 answers

Select random bin from a set in Aerospike Query Language?

I want to select a sample of random 'n' bins from a set in the namespace. Is there a way to achieve this in Aerospike Query Language? In Oracle, we achieve something similar with the following query: SELECT * FROM sample block(10) where…
Siena
  • 778
  • 10
  • 23
3
votes
1 answer

Deleting multiple bins from all the records of a set in Aerospike using Aerospike Python Client udf

How can I delete multiple bins from all the records of a set in Aerospike using Aerospike Python Client udf? I tried passing one bin at a time to the udf and used scan to delete the bin from all the records, but this was very inefficient as…
3
votes
1 answer

How to Get record from aerospike using list in java?

My data at test.setName looks like this | id | cities | lob | |-------|---------------------|------------| | id123 | ["Cthdcn","Ctdel"] | ["Lob132"] | | id345 | ["Ctijs","Ctdelhi"] | ["LOB231"] | | id765 | ["Cthui"] …
Vrishank Gupta
  • 47
  • 1
  • 2
  • 10
3
votes
1 answer

Class 'Aerospike' not found

Below is my code for aerospike connect. $hosts); $db = new…
Abhinav
  • 691
  • 1
  • 6
  • 20
3
votes
1 answer

No response from Aerospike

I am writing my own Aerospike client in C ++ and I have a problem: although my request seems to reach the server (if you send nonsense, the connection will be dropped), the server does not return any response. Here is my code: #include…
3
votes
2 answers

Aerospike Test Environment

I'm planning on stubbing out a namespace, but what is the current state of deleting a whole namespace? Would I have to list out all the keys that exists, and manually go through and delete them? If so, what API call would that be to list all sets,…
Walton
  • 139
  • 1
  • 8
3
votes
3 answers

Unable to import aerospike in python 3.7

I was trying to import aerospike after downloading it using pip and I am getting this error. I tried reinstalling the python using homebrew and graphical installer but the result is the same. I am able to import other packages such as…