# How Developers Are Using Aerospike

**URL:** https://discuss.aerospike.com/c/how-developers-are-using-aerospike/135.md

[Latest](https://discuss.aerospike.com/latest.md) · [Categories](https://discuss.aerospike.com/categories.md) · [Tags](https://discuss.aerospike.com/tags.md)

---

## [About the How Developers Are Using Aerospike category](https://discuss.aerospike.com/t/about-the-how-developers-are-using-aerospike-category/1358)

<div class="topic-metadata">

**Author:** [@Mnemaudsyne](https://discuss.aerospike.com/u/Mnemaudsyne)\
**Replies:** 0

</div>

Discuss with other users how and why they are using Aerospike.

---

## [Ip ranges/CIDR](https://discuss.aerospike.com/t/ip-ranges-cidr/804)

<div class="topic-metadata">

**Author:** [@zac](https://discuss.aerospike.com/u/zac)\
**Replies:** 25\
**Last updated:** [January 24, 2025, 12:42pm UTC](https://discuss.aerospike.com/t/ip-ranges-cidr/804 "2025-01-24T12:42:26Z")

</div>

Hello ! How can I save IP ranges (ipv4/ipv6) / CIDR in AeroSpike , and search for specific IP Address in these ranges ? Thanks a lot ! Zac. e.g. example in Redis : store ip ranges in Redis - Stack Overflow

---

## [Hash tables inside hash table - data modelling problem](https://discuss.aerospike.com/t/hash-tables-inside-hash-table-data-modelling-problem/11745)

<div class="topic-metadata">

**Author:** [@Nikki](https://discuss.aerospike.com/u/Nikki)\
**Replies:** 1\
**Last updated:** [November 19, 2024, 8:16am UTC](https://discuss.aerospike.com/t/hash-tables-inside-hash-table-data-modelling-problem/11745 "2024-11-19T08:16:10Z")

</div>

Hello! I want to store in Aerospike the maps of profiles(profileId(int type) → string) by some string keys (these keys count not limited). In other words - hash tables inside hash table: map\[string\]map\[int\]string. And …

---

## [Aerospike for frequent updates and 22TB+ storage](https://discuss.aerospike.com/t/aerospike-for-frequent-updates-and-22tb-storage/11650)

<div class="topic-metadata">

**Author:** [@rustamg](https://discuss.aerospike.com/u/rustamg)\
**Replies:** 3\
**Last updated:** [October 23, 2024, 2:01am UTC](https://discuss.aerospike.com/t/aerospike-for-frequent-updates-and-22tb-storage/11650 "2024-10-23T02:01:26Z")

</div>

Hello. I’m currently trying to asses if Aerospike is a good fit for our project. we have 22TB+ (+ x3 replication factor probably) of data at the start, around 540B records, each record contains 3 counters. main activity …

---

## [Searching for potential Aerospike use cases](https://discuss.aerospike.com/t/searching-for-potential-aerospike-use-cases/6338)

<div class="topic-metadata">

**Author:** [@mas](https://discuss.aerospike.com/u/mas)\
**Replies:** 3\
**Last updated:** [June 30, 2019, 12:44pm UTC](https://discuss.aerospike.com/t/searching-for-potential-aerospike-use-cases/6338 "2019-06-30T12:44:12Z")

</div>

Hi everybody I’m gonna try to make it short: I truely believe that the Aerospike technology is a gift that enables single individuals or small teams to pull projects that used to require big investments due to IOPS or da…

---

## [How to search list items by regex with Aerospike Expressions](https://discuss.aerospike.com/t/how-to-search-list-items-by-regex-with-aerospike-expressions/11166)

<div class="topic-metadata">

**Author:** [@Rupinder\_Guron](https://discuss.aerospike.com/u/Rupinder_Guron)\
**Replies:** 5\
**Last updated:** [June 5, 2024, 12:07am UTC](https://discuss.aerospike.com/t/how-to-search-list-items-by-regex-with-aerospike-expressions/11166 "2024-06-05T00:07:59Z")

</div>

Hi, We have a bin with a string-list in it. And we want to do a search with a “matches” pattern on a List String element. In the old world, we do that with following code: as.NewPredExpStringVar("v"), as.NewPredExpStri…

---

## [Secondary Index - can a Value straddle nodes? Or all records for Value be on same Node](https://discuss.aerospike.com/t/secondary-index-can-a-value-straddle-nodes-or-all-records-for-value-be-on-same-node/11159)

<div class="topic-metadata">

**Author:** [@Rupinder\_Guron](https://discuss.aerospike.com/u/Rupinder_Guron)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 1:37am UTC](https://discuss.aerospike.com/t/secondary-index-can-a-value-straddle-nodes-or-all-records-for-value-be-on-same-node/11159 "2024-05-30T01:37:51Z")

</div>

Hi, Given a Secondary-Index on a String, would it be prudent to assume for a bin with a Secondary Index (used to model one - to - many relationship ) – All records with One Value of the Bin would be on One Node ? It…

---

## [Record level locking and latency](https://discuss.aerospike.com/t/record-level-locking-and-latency/5181)

<div class="topic-metadata">

**Author:** [@swayamraina](https://discuss.aerospike.com/u/swayamraina)\
**Replies:** 6\
**Last updated:** [May 19, 2018, 12:00am UTC](https://discuss.aerospike.com/t/record-level-locking-and-latency/5181 "2018-05-19T00:00:28Z")

</div>

Hi, we all know for consistency locking is required, I wanted to know what strategy does aerospike use to handle locking. I mean, I have an aerospike set with records. Will there be latency if I am trying to update a BI…

---

## [Realtime aggregation of click data](https://discuss.aerospike.com/t/realtime-aggregation-of-click-data/2463)

<div class="topic-metadata">

**Author:** [@Media](https://discuss.aerospike.com/u/Media)\
**Replies:** 2\
**Last updated:** [April 19, 2016, 10:26am UTC](https://discuss.aerospike.com/t/realtime-aggregation-of-click-data/2463 "2016-04-19T10:26:31Z")

</div>

We’re planning to use Aerospike for storing our clickstream data. As we operate similar fashion to ad tech companies, we must scale our data quite fast with low latency. Suppose, think our clickstream set has the follow…

---

## [Scan vs query with specified rps, filterExp and includeBinData = false](https://discuss.aerospike.com/t/scan-vs-query-with-specified-rps-filterexp-and-includebindata-false/9944)

<div class="topic-metadata">

**Author:** [@Aleksandr\_Penkrat](https://discuss.aerospike.com/u/Aleksandr_Penkrat)\
**Replies:** 2\
**Last updated:** [January 5, 2023, 11:58am UTC](https://discuss.aerospike.com/t/scan-vs-query-with-specified-rps-filterexp-and-includebindata-false/9944 "2023-01-05T11:58:56Z")

</div>

Hi there! We are using Aerospike 5.2.0.12 and have a task to return all user keys(the expected number is about 2 million) by filter (cityName = London) and then process them using Java code. I can see two ways to do it: …

---

## [Is it possible to query object and all dependencies in 1 query?](https://discuss.aerospike.com/t/is-it-possible-to-query-object-and-all-dependencies-in-1-query/9609)

<div class="topic-metadata">

**Author:** [@s.malkevich](https://discuss.aerospike.com/u/s.malkevich)\
**Replies:** 4\
**Last updated:** [July 24, 2022, 5:49pm UTC](https://discuss.aerospike.com/t/is-it-possible-to-query-object-and-all-dependencies-in-1-query/9609 "2022-07-24T17:49:30Z")

</div>

We are going to store tasks in aerospike set. Each task has list of dependent tasks so on. For example: TaskA={id=‘TaskA’, dependencies=\[‘TaskB’, ‘TaskC’\]} TaskB={id=‘TaskB’, dependencies=} TaskC={id=‘TaskC’, dependen…

---

## [Migrate Data Model from Scylla to Aerospike](https://discuss.aerospike.com/t/migrate-data-model-from-scylla-to-aerospike/9406)

<div class="topic-metadata">

**Author:** [@JonasLevin](https://discuss.aerospike.com/u/JonasLevin)\
**Replies:** 1\
**Last updated:** [June 9, 2022, 10:11pm UTC](https://discuss.aerospike.com/t/migrate-data-model-from-scylla-to-aerospike/9406 "2022-06-09T22:11:10Z")

</div>

Hello, I’m working on the backend of a Mobile Application that let’s users create Parties and upload Video Stories related to a specific Party. I have previously used Scylla to store Parties and Story Metadata. But I d…

---

## [Feedback on Denormalized Model vs Normalized Model](https://discuss.aerospike.com/t/feedback-on-denormalized-model-vs-normalized-model/9409)

<div class="topic-metadata">

**Author:** [@JonasLevin](https://discuss.aerospike.com/u/JonasLevin)\
**Replies:** 5\
**Last updated:** [May 13, 2022, 11:33pm UTC](https://discuss.aerospike.com/t/feedback-on-denormalized-model-vs-normalized-model/9409 "2022-05-13T23:33:17Z")

</div>

I’m working on the backend of a Mobile Application that allows users to create public or private Parties and upload Video Stories for specific Parties. I have previously used Scylla but I hit some roadblocks, like ttl e…

---

## [Command like redis incr :atomic increment operations](https://discuss.aerospike.com/t/command-like-redis-incr-atomic-increment-operations/2248)

<div class="topic-metadata">

**Author:** [@vincent](https://discuss.aerospike.com/u/vincent)\
**Replies:** 23\
**Last updated:** [March 3, 2021, 1:56am UTC](https://discuss.aerospike.com/t/command-like-redis-incr-atomic-increment-operations/2248 "2021-03-03T01:56:47Z")

</div>

\` final Set set = new HashSet\<\>(); for (int i = 0; i \< number; i++) { Thread thread = new Thread(new Runnable() { @Override public void run() { Rec…

---

## [Bulk Durable Delete](https://discuss.aerospike.com/t/bulk-durable-delete/8147)

<div class="topic-metadata">

**Author:** [@fschaeffler](https://discuss.aerospike.com/u/fschaeffler)\
**Replies:** 3\
**Last updated:** [January 19, 2021, 4:47pm UTC](https://discuss.aerospike.com/t/bulk-durable-delete/8147 "2021-01-19T16:47:02Z")

</div>

We’re using the official Node.js Aerospike client and would like to make use of a bulk durable delete. A non-persistent delete is doable via the following background UDF. function delete(rec) aerospike:remove(rec) end…

---

## [Data Model for Average Session Duration](https://discuss.aerospike.com/t/data-model-for-average-session-duration/8081)

<div class="topic-metadata">

**Author:** [@fschaeffler](https://discuss.aerospike.com/u/fschaeffler)\
**Replies:** 3\
**Last updated:** [December 22, 2020, 5:03pm UTC](https://discuss.aerospike.com/t/data-model-for-average-session-duration/8081 "2020-12-22T17:03:55Z")

</div>

Use Case We use Aerospike as the data source behind our tracking system. When a user goes to our application, we create a non-expiring session. For reporting purposes, we create in a different system an overview of the …

---

## [Optimized way for querying using aerospike client for javay](https://discuss.aerospike.com/t/optimized-way-for-querying-using-aerospike-client-for-javay/7708)

<div class="topic-metadata">

**Author:** [@Myst](https://discuss.aerospike.com/u/Myst)\
**Replies:** 1\
**Last updated:** [September 25, 2020, 4:17am UTC](https://discuss.aerospike.com/t/optimized-way-for-querying-using-aerospike-client-for-javay/7708 "2020-09-25T04:17:46Z")

</div>

I have a set (set1) Bins : bin1 (PK = key1) bin2 (PK = key1) bin3 (PK = key2) bin4 (PK = key2) Which is more optimized way(in terms of query time, cpu usage, failure cases for 1 client call vs 2 client calls) for q…

---

## [Concurrent read with multiple services](https://discuss.aerospike.com/t/concurrent-read-with-multiple-services/7729)

<div class="topic-metadata">

**Author:** [@Warox](https://discuss.aerospike.com/u/Warox)\
**Replies:** 1\
**Last updated:** [September 25, 2020, 3:07am UTC](https://discuss.aerospike.com/t/concurrent-read-with-multiple-services/7729 "2020-09-25T03:07:48Z")

</div>

Hello, I want to read records from aerospike with multiple instances without double-reading. My plan is: Add time field. Read records which are older that 1 sec. Update time field (prevent reading for next 1 sec) I c…

---

## [How to access last n records](https://discuss.aerospike.com/t/how-to-access-last-n-records/7679)

<div class="topic-metadata">

**Author:** [@mi.karami1992](https://discuss.aerospike.com/u/mi.karami1992)\
**Replies:** 1\
**Last updated:** [July 27, 2020, 6:14pm UTC](https://discuss.aerospike.com/t/how-to-access-last-n-records/7679 "2020-07-27T18:14:27Z")

</div>

Hi how can I efficiently access last n record in my set. like select top n … in sql

---

## [Record LUT query](https://discuss.aerospike.com/t/record-lut-query/7617)

<div class="topic-metadata">

**Author:** [@Joe36](https://discuss.aerospike.com/u/Joe36)\
**Replies:** 5\
**Last updated:** [July 8, 2020, 12:26am UTC](https://discuss.aerospike.com/t/record-lut-query/7617 "2020-07-08T00:26:12Z")

</div>

Hey, I am going to use Aerospike in order to store and get data on my app endUsers. By time, the client (browser) sends data related to endUser and it stored in Aerospike by the server. EveryTime the client “wakes up” i…

---

## [How to compute top X in last Y days?](https://discuss.aerospike.com/t/how-to-compute-top-x-in-last-y-days/7472)

<div class="topic-metadata">

**Author:** [@sajitlko](https://discuss.aerospike.com/u/sajitlko)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 8:56am UTC](https://discuss.aerospike.com/t/how-to-compute-top-x-in-last-y-days/7472 "2020-06-08T08:56:11Z")

</div>

I am new to Aerospike. I want to show a widget on my site that shows the most visited 50 courses in last 7 days. I was thinking about how to get this data from aerospike. Can you suggest a suitable data model for the abo…

---

## [Lightweight Electronic Medical Records ( EMR) on national scale - Concerns on Durability vs Availability](https://discuss.aerospike.com/t/lightweight-electronic-medical-records-emr-on-national-scale-concerns-on-durability-vs-availability/7432)

<div class="topic-metadata">

**Author:** [@Prasad\_Reddy](https://discuss.aerospike.com/u/Prasad_Reddy)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 4:37am UTC](https://discuss.aerospike.com/t/lightweight-electronic-medical-records-emr-on-national-scale-concerns-on-durability-vs-availability/7432 "2020-05-15T04:37:17Z")

</div>

I am working on a “Light Weight EMR( Electronic Medical Record)” to monitor Covid patients that are relatively less severe in their symptoms, so that those patients can be monitored at home cost effectively. The planned …

---

## [Composit Key](https://discuss.aerospike.com/t/composit-key/5072)

<div class="topic-metadata">

**Author:** [@Sumit\_Thakur](https://discuss.aerospike.com/u/Sumit_Thakur)\
**Replies:** 17\
**Last updated:** [March 17, 2020, 12:52pm UTC](https://discuss.aerospike.com/t/composit-key/5072 "2020-03-17T12:52:26Z")

</div>

Dear Team, Can aerospike support composite key like Apache Cassandra? Thanks Sumit Thakur

---

## [Mysql and Aerospike](https://discuss.aerospike.com/t/mysql-and-aerospike/1845)

<div class="topic-metadata">

**Author:** [@mdwalter](https://discuss.aerospike.com/u/mdwalter)\
**Replies:** 4\
**Last updated:** [March 2, 2020, 8:20am UTC](https://discuss.aerospike.com/t/mysql-and-aerospike/1845 "2020-03-02T08:20:05Z")

</div>

Hi!! I think make mysql in front to aerospike. mysql is for the structure. Mysql have tables, IDs tables and some fields for make search in fulltext, in aerospike have: duplicate id tables from mysql and same name sets …

---

## [Tcp send receive buffer size for fabric similar to XDR](https://discuss.aerospike.com/t/tcp-send-receive-buffer-size-for-fabric-similar-to-xdr/7084)

<div class="topic-metadata">

**Author:** [@Mahaveer\_Darade](https://discuss.aerospike.com/u/Mahaveer_Darade)\
**Replies:** 2\
**Last updated:** [February 10, 2020, 10:30pm UTC](https://discuss.aerospike.com/t/tcp-send-receive-buffer-size-for-fabric-similar-to-xdr/7084 "2020-02-10T22:30:05Z")

</div>

Hi All, Similar to XDR, I set tcp send, receive buffer size to 5, 15MB respectively for fabric sockets. I could see 5% increase in IOPs after below change. root@ubuntu:~/aerospike/aerospike-server# git diff cf/src/soc…

---

## [Aerospike as rate limiter counter](https://discuss.aerospike.com/t/aerospike-as-rate-limiter-counter/6983)

<div class="topic-metadata">

**Author:** [@michaelim](https://discuss.aerospike.com/u/michaelim)\
**Replies:** 1\
**Last updated:** [December 27, 2019, 4:13am UTC](https://discuss.aerospike.com/t/aerospike-as-rate-limiter-counter/6983 "2019-12-27T04:13:52Z")

</div>

Hi All. We’re trying to implement a rate limiting algorithm for accessing our Hybrid RTB platform. We currently average around 50K QPS and for each of these we fire between 5 and 20 (more in the future) requests to publ…

---

## [Back pressure mechanism in case of DEVICE\_OVERLOAD error](https://discuss.aerospike.com/t/back-pressure-mechanism-in-case-of-device-overload-error/6971)

<div class="topic-metadata">

**Author:** [@Sumit\_Kumar](https://discuss.aerospike.com/u/Sumit_Kumar)\
**Replies:** 4\
**Last updated:** [December 23, 2019, 2:48pm UTC](https://discuss.aerospike.com/t/back-pressure-mechanism-in-case-of-device-overload-error/6971 "2019-12-23T14:48:35Z")

</div>

Hi, I am facing “AEROSPIKE\_ERR\_DEVICE\_OVERLOAD” during writes (using pipeline write) and wondering in case there is any C client API through which client can periodically pull “write-q” (un-flushed write buffers) inform…

---

## [Client error code 174](https://discuss.aerospike.com/t/client-error-code-174/4040)

<div class="topic-metadata">

**Author:** [@sophie](https://discuss.aerospike.com/u/sophie)\
**Replies:** 4\
**Last updated:** [April 11, 2017, 5:14pm UTC](https://discuss.aerospike.com/t/client-error-code-174/4040 "2017-04-11T17:14:37Z")

</div>

I am getting some error while fetching data from Aerospike, the error code is in undocumented range, eg: error 187, 174 error result ErrorWithException \[code=500, message=Error Code 187: , className=com.aerospike.client.…

---

## [What does client\_write\_timeout stands for?](https://discuss.aerospike.com/t/what-does-client-write-timeout-stands-for/6849)

<div class="topic-metadata">

**Author:** [@Mahaveer\_Darade](https://discuss.aerospike.com/u/Mahaveer_Darade)\
**Replies:** 10\
**Last updated:** [November 23, 2019, 4:56pm UTC](https://discuss.aerospike.com/t/what-does-client-write-timeout-stands-for/6849 "2019-11-23T16:56:21Z")

</div>

Hi All, I am using replication on 2 node setup with client write policy set to AS\_POLICY\_COMMIT\_LEVEL\_ALL. Total timeout on client is set to 0 so I guess transaction-max-ns (which defaults to 1 sec) would be honored o…

---

## [What is the significance of a bin](https://discuss.aerospike.com/t/what-is-the-significance-of-a-bin/6818)

<div class="topic-metadata">

**Author:** [@vnagineni](https://discuss.aerospike.com/u/vnagineni)\
**Replies:** 1\
**Last updated:** [November 13, 2019, 6:11pm UTC](https://discuss.aerospike.com/t/what-is-the-significance-of-a-bin/6818 "2019-11-13T18:11:24Z")

</div>

while storing data what is the difference between storing all fields in one bin as a map vs storing each field in a different bin. What are the benefits/drawbacks of each approach?

[Next page](https://discuss.aerospike.com/c/how-developers-are-using-aerospike/135.md?page=1)
