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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

Replacement for PredExp on a list bin

I have a bin of type List. I want to query and get the records for which this bin has a value equal to variable 'val', lets say. Using PredExp this can be done using: predExps = Arrays.asList( PredExp....
Avanish Ghosh's user avatar
0 votes
1 answer
60 views

PredExp vs Expression - Aerospike Client (list of integers)

What would be the Expression substitute for the below code which uses PredExp for aerospike client predExps = Arrays.asList(PredExp.integerVar("v"), PredExp.integerValue((Long) fieldValue), ...
Avanish Ghosh's user avatar
-1 votes
1 answer
44 views

How to achieve Transactional with Spring-boot-aerospike as we are updating mutliple sets in a request [closed]

I am new to Aerospike DB and hoping to try transactional. We have an API which updates TableA and TableB in a single request. Now, how can I make my request transactional where atomicity is achieved?
Kayalucas's user avatar
0 votes
1 answer
66 views

Not Equals Replacement for Aerospike

Since PredExps have been deprecated since aerospike client version 6.x.x onwards for Java, what is the corresponding Filter Expression replacement for the notEquals functionality that PredExps ...
Avanish Ghosh's user avatar
0 votes
1 answer
35 views

Aerospike java client RecordSet next function hang for infinite time after query a set

In java aerospike client 6.0.0, thread blocked for infinite time in records.next() call, however we have set totalTimeout in queryPolicy to 30 seconds. This even happened we don’t have any data in the ...
Sandeep Rastogi's user avatar
1 vote
2 answers
43 views

How to use aerospike to generate a unique auto-incrementing ID,like redis

How to use aerospike to generate a unique auto-incrementing ID,like redis i want to use aerospike to generate a unique auto-incrementing ID,like redis 。I don't know how I can do it,Has anyone tried ...
Tank's user avatar
  • 13
1 vote
1 answer
33 views

how to set replication-factor at set level in Aerospike?

I need to have replication-factor at set level in Aerospike. I am not able to find whether the Aerospike support this or not. Based on documentation I found that this can be configured at namespace ...
maulik trapasiya's user avatar
0 votes
0 answers
30 views

Aerospike how to detect stale connections in java client

My java application uses an Aerospike client to connect to a cluster in the cloud. For some reason the cluster went down and we created a new cluster. My java client has stale connections ( which are ...
peter thomas's user avatar
1 vote
1 answer
95 views

How to use aerospike with testcontainers on github actions

I am trying to run aerospike on testcontainers with github actions, I am sometimes getting an error and sometimes not when I run this on github actions, the error i got is below, integration_test.go:...
abouttest's user avatar
0 votes
0 answers
16 views

How to create a distributed cache for 10K testers with masked/test data? Need system design

I have a requirement where I need to do a system design, for providing the masked/test data to the testers. For ex: 10K testers. Each tester need at-least 50-100 records which needs to stay for 24 ...
Customer Manager's user avatar
0 votes
0 answers
33 views

How to connect Wiremock server with Aerospike (i.e., as Cache DB) with GraphQL using Spring Boot?

I'm planning/trying to implement a sandbox functionality for the GraphQL schema's using Wiremock Server and Aerospike (i.e., Should work as Cache DB) using Spring Boot 3.x. I've done some samples with,...
Customer Manager's user avatar
1 vote
2 answers
109 views

Aerospike Kubernetes operator installing error in EKS cluster

strong textTill the cert-manager every pods working good as followed by aerospike docs. But while installing the operator the operator pods get crash loop backoff. Installing operator using: git clone ...
jackazjimmy's user avatar
0 votes
0 answers
44 views

How to use Aerospike Repository in Kotlin Language using Spring Data Aerospike

I couldnt able to create Aerospike Repository in Kotlin Language. I got error Aerospike Repository is not found. I use spring-data-aerospike version 3.4.0., spring-boot-starter-web,spring-boot-starter-...
rameshkumar's user avatar
1 vote
0 answers
50 views

How to create Unit test cases for “GetListOfUsers()” function of “UserService.go“ file. Facing issue in creating dummy aerospike.Recordset object

How to create Unit test cases for “GetListOfUsers()” function of “UserService.go“ file. Facing issue in creating dummy aerospike.Recordset object this is the test file Sample testfile func (suite *...
A_Gour's user avatar
  • 21
0 votes
1 answer
79 views

I have been trying setup a multi node kubernetes cluster for the Aerospike db as per the docs but getting error while installing operator using helm

After installing the helm and cert-manager required crds. As per the official docs: kubectl apply -f https://github.com/cert-manager/cert manager/releases/download/v1.12.0/cert-manager.crds.yaml when ...
jackazjimmy's user avatar
0 votes
1 answer
23 views

listoperation.pop in aerospike removing complete list instead of removing item from particular index

ListOperation.pop(binName, metaInfo.getIndex()) can anyone help with this i'm using default write policy as per doc Create list pop operation. Server returns item at specified index and removes item ...
pradhuman nanda's user avatar
0 votes
0 answers
34 views

AerospikeSin connector task is in failed state

Below is Error: { "name": "aerospike-userprofile-sink", "connector": { "state": "RUNNING", "worker_id": "192.168.29.43:8083" }, &...
sujeet kumar singh's user avatar
1 vote
1 answer
84 views

Aerospike EE Startup Error - feature invalid value 2 for feature feature-key-version

Aerospike Version: Aerospike Enterprise Edition build 4.9.0.37 os el7 Feature File # generated 2023-04-25 19:57:16 feature-key-version 2 serial-number <ommited> ...
Edcel Cabrera Vista's user avatar
0 votes
1 answer
236 views

Connecting to Aerospike host via SSL using the JDBC driver defaults to 3000 port

I am trying to connect to an aerospike host which requires SSL. Connecting via the aql command works fine. However connecting to the same using the JDBC driver fails. Running the following command is ...
midhun mathew's user avatar
0 votes
1 answer
96 views

Unable to create aerospike cluster of 2 nodes using docker image

I am currently experimenting with the Aerospike Docker image (aerospike/aerospike-server) and I’m facing difficulties in setting up a simple 2-node cluster on my Mac. I am using Aerospike Community ...
Rohit Singh's user avatar
0 votes
1 answer
123 views

Why am I getting error code 81 while trying to run Aerospike backup with admin user and default roles assigned?

While taking aerospike backup, I'm getting below error even though I'm using admin user and I assigned all default roles to admin user. "error while running scan for 4096 partitions from 0 to ...
swathi k's user avatar
0 votes
1 answer
84 views

How to filter out keys based on some pattern on Aerospike?

i have millions of records on aerospike in namespace:set keys are in this format: lastname/firstname/state/zip example: smith/john/fl/32817 smith/carla/tn/45125 brown/chris/tn/45125 i want to get ...
unknown's user avatar
  • 11
1 vote
1 answer
160 views

How to search list items by regex with Aerospike Expressions

We are migrating from our old aerospike version 3.15.1.4 to version 6.2.0.7. This involves the migration from aerospike-client-go v4.5.2+incompatible to aerospike-client-go/v6 v6.6.0. Predicate ...
Joehl's user avatar
  • 3,681
1 vote
1 answer
135 views

Getting Error: unrecognized option -march=nocona while installing aerospike 3.10.0 version for python on amazon linux 2 system

I am currently using aerospike version < 4.9, which requires a python aerospike client < 5.0.0 While doing pip install aerospike==3.10.0, I am getting this error Assembler messages: Error: ...
user3652341's user avatar
1 vote
1 answer
162 views

How to use Aerospike aeroMapper.query method without the filter argument using java client

I am trying to use Aerospike AeroMapper's query method through java client and the record selection logic is written in the policy so I have no need to pass any filter in the method. policy.filterExp =...
TeaSea's user avatar
  • 55
0 votes
0 answers
50 views

Aerospike Panther for .Net 6

Binary serialisation became obsolete in .net 6 and above , i wanted to use aerospike client for cheetah and panther with a version which supports both v3.9.16. The problem is in .net 5.0 i was able to ...
Ajmal Muhammed's user avatar
3 votes
1 answer
122 views

Get Aerospike hyperLogLog(HLL) intersection count of multiple HLL unions

I have 2 or more HLLs that are unioned, I want to get the intersection count of that unions. I have used the example from here hll-python example Following is my code ops = [hll_ops.hll_get_union(...
darekarsam's user avatar
0 votes
1 answer
68 views

Facing TLS write failed: -2 issue while writing to aerospike

I have aerospike 6.0.0 installed on server and being used as cache. Also I am using Node.js client 5.2.0 to connect to the database.The aerospike nodes are configured to use TLS. The config of the ...
Anshul Goyal's user avatar
1 vote
2 answers
276 views

Aerospike query execution in golang

Is there any way to implement below query in golang : select * from test.demo in mapvalues where shopping_cart = "FL"
sid's user avatar
  • 79
2 votes
1 answer
111 views

Reverse mapping in aerospike

I have a few records in aerospike in following key-value pair : Key : "1234" Value : { "XYZ":{ "B":[1,3] "C":[3,4] ...
sid's user avatar
  • 79
1 vote
1 answer
44 views

AeroSpike Atomic counter limit

I'm trying to use AeroSpike Atomic counter for load balancing coming txn to a sequence of users. I plan to use the counter to track the number of coming txn and make % with users number to get who to ...
Kexin Chai's user avatar
0 votes
0 answers
220 views

Aeropspike Kafka Outbound Connector - using map data type with Kafka Avro format

Am trying to setup Aerospike Kafka Outbound Connector (Source Connector) for Change Data Capture (CDC). When using Kafka Avro format for messages (as explained in https://docs.aerospike.com/connect/...
arunvelsriram's user avatar
2 votes
1 answer
382 views

aerospike connect timeout works incorrectly?

I'm using aerospike java client v 6.0.1 and use the following configs from client read policy: clientPolicy.readPolicyDefault.connectTimeout = 1000; clientPolicy.readPolicyDefault....
Yana's user avatar
  • 33
0 votes
1 answer
53 views

Aerospike debian compatibility metrics

On Aerospike docs it is mentioned that AS version 6.0 added support for deb 11. does it mean older AS version are not compatible with deb11? Can someone please share compatibility metrics of AS with ...
best wishes's user avatar
  • 5,934
2 votes
1 answer
236 views

Set default bin value if not present in aerospike

Suppose I have 2 bins in aeropike set number(key) 2. timeLeft I wanted to get a timeLeft value from aerospike for a number. But if the particular record is not present then I want to create the ...
Suraj Chaudhary's user avatar
3 votes
1 answer
97 views

How to grant truncate permission aerospike

I am using Aerospike 5.6 and I want to grant truncate to a role? is it possible? can you please share how, I did not find the right privileges besides grant admin
NoamiA's user avatar
  • 517
2 votes
2 answers
71 views

Storing images using Blob data type in aerospike

I am trying to write image ( .png/.jpeg/...etc) files to aerospike. From aerospike documentation (https://docs.aerospike.com/server/guide/data-types/blob) I understand that this can be achieved using ...
Gopi's user avatar
  • 689
2 votes
1 answer
66 views

Aerospike REST gateway, failed build with an exception

im trying to install Aerospike REST Gateway, after running first command ./gradlew build (and waiting for 2 hours) its shows something like this : 2142 tests completed, 1660 failed > Task :test ...
Lezir Opav's user avatar
7 votes
1 answer
115 views

how do i install Aerospike REST Gateway?

i want to use REST from aerospike because its said language agnostic, im using Ubuntu 20. im trying to understand intallation part here : https://github.com/aerospike/aerospike-rest-gateway https://...
Lezir Opav's user avatar
1 vote
0 answers
51 views

When we should use Redis and Aerospike for caching?

Actually want to understand in which scenario we should use Redis for caching and in which aerospike. searched lots on google but did not get satisfied answer.
Swapnil Gosavi's user avatar
-1 votes
1 answer
194 views

I got this error while running my express app

Error: dlopen(/Users/mylaptop/Documents/login-service/api/loginservice/node_modules/aerospike/build/Release/aerospike.node, 0x0001): symbol not found in flat namespace (_FIPS_mode_set) undefined I am ...
Razi Momin's user avatar
1 vote
1 answer
329 views

Aerospike read times out before max retries is reached

I have the following config for aerospike read policy: clientPolicy.timeout = 200; // timeout for refreshing cluster status, shouldn't affect reads clientPolicy.readPolicyDefault.socketTimeout = 30; ...
Yana's user avatar
  • 33
2 votes
2 answers
388 views

Aerospike List operation : how to delete one item from all list bins in a set

I have a Set that have two Bins(pId is long , values is list) and list index is applied on values. Now i want to remove specify value from values list of all records. I used ListOperation....
mahsa's user avatar
  • 53
1 vote
1 answer
852 views

JUnit Tests are failing in IntelliJ with Error | MockitoException : Mockito cannot mock this class: classaerospike.core.AerospikeTemplate

Below is the full stack trace of the exception : Test ignored. org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class org.springframework.data.aerospike.core....
Lokesh14's user avatar
1 vote
0 answers
192 views

Build and install aerospike 4.0.0 in python 3.8 alpine 3.16

I am trying to install aerospike for python 3.8.14 on alpine 1.16.2. Following offical documanetion I've already built aerospike-client-c 4.6.18 (release), successfully installed aerospike using pip. ...
Philip Sadkov's user avatar
1 vote
1 answer
90 views

Areospike handle high volume of requests to same index

We have a use case where there may be a high volume of requests for the same key. Aerospike routes requests to partitions based on a hash of the primary key. Additional partitions and rebalancing ...
Thor's user avatar
  • 610
1 vote
1 answer
298 views

Changing TTL for a set in Aerospike with AQL

I was just wondering, is there a way to change the TTL of a set through AQL query alone. I have gone through this aerospike page : https://discuss.aerospike.com/t/how-to-modify-ttl-using-udf/5608 and ...
T.P.'s user avatar
  • 83
-1 votes
1 answer
280 views

Spring boot Aerospike and Mongo Beans are Conflicting

In my application I am using both Mongo and Aerospike. While creating AerospikeConfig I have to autowire MappingAerospikeConverter and while creating this bean i am getting internal conflicts with ...
user3430702's user avatar
3 votes
2 answers
126 views

Aerospike count all filter by TTL

I'm trying to perform the following query: SELECT COUNT(*) FROM ns123.foo WHERE ttl < 60 * 60 * 24 I found the lua scripts from Aerospike AQL count(*) SQL analogue script to perform the COUNT(*) ...
sheldonzy's user avatar
  • 5,595
1 vote
2 answers
197 views

Aerospike set TTL for all filtered records with Python

I want to set the TTL to -1 (no ttl) for all records that match some filter, using Python. I successfully set the TTL for all the records with the following: import time from aerospike_helpers import ...
sheldonzy's user avatar
  • 5,595

1
2 3 4 5
17