# Use Cases

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

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

---

## [About the Use Cases category](https://discuss.aerospike.com/t/about-the-use-cases-category/1814)

<div class="topic-metadata">

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

</div>

Discussion about the use cases for Aerospike

---

## [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…

---

## [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…

---

## [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

---

## [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…

---

## [Official AS approach to pagination?](https://discuss.aerospike.com/t/official-as-approach-to-pagination/2532)

<div class="topic-metadata">

**Author:** [@Dennis](https://discuss.aerospike.com/u/Dennis)\
**Replies:** 8\
**Last updated:** [August 28, 2019, 1:01am UTC](https://discuss.aerospike.com/t/official-as-approach-to-pagination/2532 "2019-08-28T01:01:24Z")

</div>

Hi, I’ve started building an AS-based POC as a replacement for Cassandra, but stuck with pagination (user posts with an infinite scroll). To be fair - there are a lot of places already discussing pagination (people aski…

---

## [Is my use case compatible with Aerospike usage?](https://discuss.aerospike.com/t/is-my-use-case-compatible-with-aerospike-usage/2844)

<div class="topic-metadata">

**Author:** [@r.sochard](https://discuss.aerospike.com/u/r.sochard)\
**Replies:** 16\
**Last updated:** [July 8, 2019, 9:02pm UTC](https://discuss.aerospike.com/t/is-my-use-case-compatible-with-aerospike-usage/2844 "2019-07-08T21:02:29Z")

</div>

Hi, According to the benchmark I see on the web, Aerospike seems to be a good candidate for my use case, but I wanted to be sure before doing any tests. I wanted to use Aerospike in order to save frames (in a binary fo…

---

## [LUT deletion and delta](https://discuss.aerospike.com/t/lut-deletion-and-delta/6177)

<div class="topic-metadata">

**Author:** [@zg.wil](https://discuss.aerospike.com/u/zg.wil)\
**Replies:** 5\
**Last updated:** [May 6, 2019, 11:34pm UTC](https://discuss.aerospike.com/t/lut-deletion-and-delta/6177 "2019-05-06T23:34:33Z")

</div>

We have a use case where we want to replicate the aerospike records to our data warehouse. With the release of query based on LUT, we can get all the records that have been modified since X and merge it into our data w…

---

## [Distributed session store](https://discuss.aerospike.com/t/distributed-session-store/5963)

<div class="topic-metadata">

**Author:** [@arminabf](https://discuss.aerospike.com/u/arminabf)\
**Replies:** 3\
**Last updated:** [February 28, 2019, 3:08am UTC](https://discuss.aerospike.com/t/distributed-session-store/5963 "2019-02-28T03:08:37Z")

</div>

Hi all! We want to deploy several instances of an application into a cloud, all of them should use a common distributed session store. The number of instances should be scalable (up and down) in ongoing operations, fro…

---

## [Move Records to another Set](https://discuss.aerospike.com/t/move-records-to-another-set/5182)

<div class="topic-metadata">

**Author:** [@alex75](https://discuss.aerospike.com/u/alex75)\
**Replies:** 4\
**Last updated:** [May 21, 2018, 7:56am UTC](https://discuss.aerospike.com/t/move-records-to-another-set/5182 "2018-05-21T07:56:55Z")

</div>

Hi, we need to move some records from the Set “item” to the set “item-archive” . Periodically. I’m doing the job with this steps: Read the records from the “item” Set with a Query. Parse the records to the C# object …

---

## [Can Aerospike handle being an E-Commerce Shopping cart](https://discuss.aerospike.com/t/can-aerospike-handle-being-an-e-commerce-shopping-cart/4869)

<div class="topic-metadata">

**Author:** [@bbigs](https://discuss.aerospike.com/u/bbigs)\
**Replies:** 8\
**Last updated:** [January 31, 2018, 9:33pm UTC](https://discuss.aerospike.com/t/can-aerospike-handle-being-an-e-commerce-shopping-cart/4869 "2018-01-31T21:33:27Z")

</div>

I am looking to help solve a client’s problem related to their shopping cart system. They have a home grown e-commerce wholesale purchasing site. They have independent reps that come in and purchase clothing to resale at…

---

## [Info about how adtech manage user profiles in aerospike](https://discuss.aerospike.com/t/info-about-how-adtech-manage-user-profiles-in-aerospike/4396)

<div class="topic-metadata">

**Author:** [@info2000](https://discuss.aerospike.com/u/info2000)\
**Replies:** 0\
**Last updated:** [July 16, 2017, 9:22pm UTC](https://discuss.aerospike.com/t/info-about-how-adtech-manage-user-profiles-in-aerospike/4396 "2017-07-16T21:22:32Z")

</div>

Hello, i want know how manage adtech companies as adform or bluekai their cookie profiles? In special, how manage the different inserts along the time. I will read data by cookie id to retrieve the user interests in real…

---

## [About the geo-spatial query performance](https://discuss.aerospike.com/t/about-the-geo-spatial-query-performance/4216)

<div class="topic-metadata">

**Author:** [@kiss01](https://discuss.aerospike.com/u/kiss01)\
**Replies:** 0\
**Last updated:** [June 2, 2017, 2:25am UTC](https://discuss.aerospike.com/t/about-the-geo-spatial-query-performance/4216 "2017-06-02T02:25:38Z")

</div>

In my use case,I deal hundreds of millions of data once an hour using hadoop mapreduce program.Every record has to query on latitude and longitude to find out nearest place.And I have about 67millions geo point stored in…

---

## [Using Generation Code to do concurrency safe write-aside cache](https://discuss.aerospike.com/t/using-generation-code-to-do-concurrency-safe-write-aside-cache/1631)

<div class="topic-metadata">

**Author:** [@jmacinnes](https://discuss.aerospike.com/u/jmacinnes)\
**Replies:** 2\
**Last updated:** [March 21, 2017, 1:38am UTC](https://discuss.aerospike.com/t/using-generation-code-to-do-concurrency-safe-write-aside-cache/1631 "2017-03-21T01:38:18Z")

</div>

We want to use Aerospike as a write-aside cache. We need to be careful not to store data that is stale due to concurrent changes. What is the best way to set a single value into a key and assert the key has not changed s…

---

## [How to use for a simple mapping](https://discuss.aerospike.com/t/how-to-use-for-a-simple-mapping/3104)

<div class="topic-metadata">

**Author:** [@bpearson](https://discuss.aerospike.com/u/bpearson)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 6:32pm UTC](https://discuss.aerospike.com/t/how-to-use-for-a-simple-mapping/3104 "2016-06-28T18:32:49Z")

</div>

What is the most efficient way to create a simple UUID–\>UUID mapping where lookup speed is the highest priority? It’s for a distributed transaction processing system that needs to handle thousands of txns per second, ea…

---

## [Why do ad tech companies prefer Aerospike?](https://discuss.aerospike.com/t/why-do-ad-tech-companies-prefer-aerospike/1122)

<div class="topic-metadata">

**Author:** [@Samarjit\_Uppal](https://discuss.aerospike.com/u/Samarjit_Uppal)\
**Replies:** 9\
**Last updated:** [May 6, 2016, 1:47pm UTC](https://discuss.aerospike.com/t/why-do-ad-tech-companies-prefer-aerospike/1122 "2016-05-06T13:47:07Z")

</div>

I read somewhere that out of the top 24 Ads Targeting companies use Aerospike. Can anyone throw a light on exactly why Aerospike is suitable for this domain. Its a simple matching of user profiles with ads and it could b…

---

## [Aerospike vs Redis for Incrementation of Ad Consumption](https://discuss.aerospike.com/t/aerospike-vs-redis-for-incrementation-of-ad-consumption/2735)

<div class="topic-metadata">

**Author:** [@shuucream2011](https://discuss.aerospike.com/u/shuucream2011)\
**Replies:** 4\
**Last updated:** [March 28, 2016, 5:45am UTC](https://discuss.aerospike.com/t/aerospike-vs-redis-for-incrementation-of-ad-consumption/2735 "2016-03-28T05:45:56Z")

</div>

Hi. I was wondering if I should use Aerospike or Redis to store data for incrementing ad consumption (Amount of budget consumed of an advertisement’s total budget). I’m working for a company developing an ad delivery s…

---

## [I'm wondering if Aerospike can handle this database](https://discuss.aerospike.com/t/im-wondering-if-aerospike-can-handle-this-database/1803)

<div class="topic-metadata">

**Author:** [@razvant](https://discuss.aerospike.com/u/razvant)\
**Replies:** 1\
**Last updated:** [September 11, 2015, 8:58am UTC](https://discuss.aerospike.com/t/im-wondering-if-aerospike-can-handle-this-database/1803 "2015-09-11T08:58:52Z")

</div>

Hello! I need to store a maximum of 200 billion records, each having 2 fields: A, and B, both strings of no more than 255 characters. I’ll be inserting records into this database at a pace of about 50 000 per second. Ab…

---

## [Which companies use Aerospike, and what's their use case?](https://discuss.aerospike.com/t/which-companies-use-aerospike-and-whats-their-use-case/1376)

<div class="topic-metadata">

**Author:** [@Mnemaudsyne](https://discuss.aerospike.com/u/Mnemaudsyne)\
**Replies:** 0\
**Last updated:** [June 13, 2015, 3:34am UTC](https://discuss.aerospike.com/t/which-companies-use-aerospike-and-whats-their-use-case/1376 "2015-06-13T03:34:02Z")

</div>

Please click the links below to read the answer to these questions asked on Quora. Is there any product that uses Aerospike? Who is using Aerospike and for what?

---

## [Using Aerospike as a cache / Spring integration of Aerospike with cache manager](https://discuss.aerospike.com/t/using-aerospike-as-a-cache-spring-integration-of-aerospike-with-cache-manager/1628)

<div class="topic-metadata">

**Author:** [@Apoorv\_Mittal](https://discuss.aerospike.com/u/Apoorv_Mittal)\
**Replies:** 1\
**Last updated:** [August 14, 2015, 11:17pm UTC](https://discuss.aerospike.com/t/using-aerospike-as-a-cache-spring-integration-of-aerospike-with-cache-manager/1628 "2015-08-14T23:17:21Z")

</div>

I want to know how can we use Aerospike for caching in our java based application written with spring framework. I am looking for cache manager in Spring similar to RedisCacheManager. Do we have something so we can use @…

---

## [Best use for Aerospike in a social network? (if any)](https://discuss.aerospike.com/t/best-use-for-aerospike-in-a-social-network-if-any/1410)

<div class="topic-metadata">

**Author:** [@Dennis](https://discuss.aerospike.com/u/Dennis)\
**Replies:** 4\
**Last updated:** [June 28, 2015, 4:48pm UTC](https://discuss.aerospike.com/t/best-use-for-aerospike-in-a-social-network-if-any/1410 "2015-06-28T16:48:09Z")

</div>

Hi, For what parts of a LinkedIn-type social network you would suggest to use Aerospike for (if at all)? Examples: user auth info, user short profiles, user full profiles, posts, system messages/alerts, user messages, a…

---

## [Using Aerospike as a content store / Can I insert a large document using Java Client?](https://discuss.aerospike.com/t/using-aerospike-as-a-content-store-can-i-insert-a-large-document-using-java-client/126)

<div class="topic-metadata">

**Author:** [@oldforum](https://discuss.aerospike.com/u/oldforum)\
**Replies:** 3\
**Last updated:** [June 11, 2015, 1:12am UTC](https://discuss.aerospike.com/t/using-aerospike-as-a-content-store-can-i-insert-a-large-document-using-java-client/126 "2015-06-11T01:12:01Z")

</div>

Can we use aerospike as a content store to store multiple documents ? If so then can you please point me to a sample Java implementation ?

---

## [Using Aerospike to make a top X query (pageviews or scoreboard)](https://discuss.aerospike.com/t/using-aerospike-to-make-a-top-x-query-pageviews-or-scoreboard/852)

<div class="topic-metadata">

**Author:** [@nfo](https://discuss.aerospike.com/u/nfo)\
**Replies:** 3\
**Last updated:** [January 22, 2015, 3:45am UTC](https://discuss.aerospike.com/t/using-aerospike-to-make-a-top-x-query-pageviews-or-scoreboard/852 "2015-01-22T03:45:20Z")

</div>

There seem to be no way to make a a top X query (top pageviews, a scoreboard, etc). A simple use case is the following: I receive beacons from browsers, and I need to compute the top browsers (or countries) by pageviews…

---

## [Is Aerospike more than a front-edge database? Cache & online transactional (OLTP) store](https://discuss.aerospike.com/t/is-aerospike-more-than-a-front-edge-database-cache-online-transactional-oltp-store/460)

<div class="topic-metadata">

**Author:** [@fattenap](https://discuss.aerospike.com/u/fattenap)\
**Replies:** 1\
**Last updated:** [October 20, 2014, 5:20pm UTC](https://discuss.aerospike.com/t/is-aerospike-more-than-a-front-edge-database-cache-online-transactional-oltp-store/460 "2014-10-20T17:20:29Z")

</div>

Hi, I’ve been researching Aerospike and it sounds awesome. However, I’m trying to understand what it really is. Can Aerospike be used as a stand alone fully fledge database or is it best suited as a front-edge database …
