Skip to content

markmixson/priority-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Priority Sorting using Redis Sorted Sets

This tool takes a prioritized list of binary values and arranges them in a sorted set in Redis.

How to use:

  1. Give the BitSetGenerator an array of integers representing rule matches of length N. 0 is the lowest rule match, N - 1 is the highest.
  2. Add the BitSet and the UTC ZonedDateTime/id to a RuleMatchResult.
  3. Use the RedisPrioritySortMutationClient to add/update/delete the result in Redis.
  4. Use the RedisPrioritySortQueryClient to query the top priority (or RuleMatchResult) of the sorting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages