I'm considering replacing Redis with Aerospike and I wanted to know if aerospike is capable of delivering the same capabilities and performance as Redis's sorted sets for Leaderboards within an application. I need to be able to quickly insert, read and update items in the set. I also need to be able to do range queries on them and retrieve the rank of an arbitary item in the set quickly.
Can Aerospike's Large Ordered List match the Sorted Sets of Redis for Leaderboards?
1k Views Asked by Johny Jose At
1
There are 1 best solutions below
Related Questions in PERFORMANCE
- Slow performance on ipad erasing image
- Can Apache Ant be told to cache its XML files?
- What are the pros and cons of the picture element?
- DB candidate as CouchDB/Schema replacement
- python member str performance too slow
- Split a large query (2 days) into pieces to increase the speed in Postgres
- Use GUI displayed results of SQL query vs new queries?
- fastest way to map a large number of longs
- Bash regular expression execution hangs on long expressions
- Why is calling a function so slow in Javascript?
- Performance of element-compare in java collections
- "Capture GPU Frame" in XCode -- iOS only?
- Efficiency penalty of initializing a struct/class within a loop
- Change the rotating speed of the circle when the mouse moves using javascript
- Replace foreach to make loop into queryable
Related Questions in REDIS
- start redis with supervisor
- How to do Mass insertion in Redis using JAVA?
- RedisResponseException: Unknown reply on multi-request
- Redis / Get all keys & values from redis with prefix
- Remove a member from multiple sets in Redis
- Using memcached or Redis on aws-elasticache
- Get Socket Object by Id with node, redis-adapter and socket.io
- how can i save a complex json as string in redis and retrieve it as unescaped legit json object
- How to specify versions on PIP when installing a python package with it's dependencies
- Eloquent model for Redis
- Is exists check required before calling StringSet method of StrackExchange.Redis
- Predis: Pros and Cons of the two cluster strategies
- hmset redis with result from mysqlDB
- does redis cluster support transactions ?
- How change redis to be persistent
Related Questions in LEADERBOARD
- Optimizing for Social Leaderboards
- Application is missing a default group leaderboard (ItunesConnect error)
- Google play services doesnt displays leaderboard after Auth
- IOS Sprite Kit Game Center Can't Add Leaderboard in Itunes Connect
- Unity 5 ParseObject.GetQuery wont work
- Why are Google Play games icons not shown in Play Store?
- Can you create ios game center leaderboard sets after app goes live
- Photon Unity Leaderboard sorting
- Unable to retrive google play game services leaderboard score
- Android Facebook API - Query score top 10 users of the app
- Can Aerospike's Large Ordered List match the Sorted Sets of Redis for Leaderboards?
- PHP - Building a Learderboard from MySQL data
- Google Play Leaderboards Limits
- Creating a leaderboard for offline game in Python
- GKLeaderboard in SpriteKit?
Related Questions in AEROSPIKE
- Aerospike Config for a Small Server
- Libevent aerospike client::Is it possible to register Aerospike FDs in my event handling mechanism
- How to do Asynchronous inserts in Aerospike using Python Client
- Aerospike Key-value Store using Go-client
- Am I aggregating data from Aerospike efficiently?
- Any suggestion for running Aerospike on Kubernetes on CoreOS on GCE?
- How to find out how much disk space does a Set take up in Aerospike?
- How to handle unsupported datatypes in Aerospike
- Aerospike Nodejs Client Query Processing
- txAerospike - Aerospike and Twisted
- Handling Float/Double datatypes using Aerospike Java Client
- Swap configuration on local-SSDs
- PHP get() and scan() methods for the aerospike driver won't return the full record
- AMC does not report any successful reads
- error connections would be exceeded: 300
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Aerospike does not currently have a built-in Leaderboard feature. However, this is one of many functions that anyone can build with User Defined Functions (UDFs) and Large Data Types (LDTs).
The way this would work is you would have a set of UDFs that employs two Large Ordered List LDTs. One LLIST would manage the primary collection, and the other LLIST would provide the Leaderboard/Scoreboard ordering (basically used as an index into the primary collection).
The UDFs would manage the user interaction (read/write/delete primary value and read/scan leaderboard value) and pass the work on to the LDT functions.
We've talked internally about building these examples to show the power of UDFs and LDTs. Perhaps, with a little incentive, we could raise the priority of getting these examples done.
The other issue is performance. What are your latency and throughput requirements?