# Priority Queue/Sorted Set LDT

**URL:** <https://discuss.aerospike.com/t/priority-queue-sorted-set-ldt/507>\
**Category:** Rejected Requests\
**Tags:** ldt\
**Created:** [November 13, 2014, 12:37am UTC](https://discuss.aerospike.com/t/priority-queue-sorted-set-ldt/507 "2014-11-13T00:37:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arypurnomoz](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@arypurnomoz](https://discuss.aerospike.com/u/arypurnomoz)\
**Post date:** [November 13, 2014, 12:37am UTC](https://discuss.aerospike.com/t/priority-queue-sorted-set-ldt/507/1 "2014-11-13T00:37:31Z")

</div>

Priority queue/Sorted set is one of the most common data model that everybody use, and if aerospike has it, people will love this database even more. Just like a lot of people love the redis’s sorted set.

---

<div class="post-metadata">

**Author:** ![ManuelSchmidt](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/manuelschmidt/32/424_2.png) [@ManuelSchmidt](https://discuss.aerospike.com/u/ManuelSchmidt)\
**Post date:** [May 17, 2015, 8:28am UTC](https://discuss.aerospike.com/t/priority-queue-sorted-set-ldt/507/2 "2015-05-17T08:28:57Z")

</div>

What is your usecase for it? Why is traversing the sorted list from min or max not an option to implement your desired functionality? As lists seem to be only IOPS-bound, I can’t see any benefit of using a PQ.

But I guess one could implement such a queue inside the boundary of a single record or those of a large ordered list (each item containing a subtree) using an UDF. It should use an van Emde Boas-Layout when implemented with a LOL to touch only a minimal amount of (sub-)records , though. It might be interesting to see, whether this is performing better than LOL used together with range() and such methods or not.

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [March 13, 2018, 7:33pm UTC](https://discuss.aerospike.com/t/priority-queue-sorted-set-ldt/507/3 "2018-03-13T19:33:56Z")

</div>

The LDT feature has been removed in Aerospike Server [3.15.1](https://www.aerospike.com/download/server/notes.html#3.15.0.1). For more details see [Aerospike Will No Longer Support the Large Data Type (LDT) Feature | Aerospike](https://www.aerospike.com/blog/aerospike-ldt/).

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [May 25, 2018, 11:24pm UTC](https://discuss.aerospike.com/t/priority-queue-sorted-set-ldt/507/4 "2018-05-25T23:24:17Z")

</div>

Closed on May 25, 2018, 11:24pm UTC


