I’m trying to use MemoryStoreService to make a cross-server trading system, where players and the system can buy, sell or bid on resources.
Since MemoryStoreService has a limit of 45 days,players trades will be able to be online for between 15 miniutes to 7 days. But I don’t know whether to use SortedMaps, SortedQueues or HashMaps. For context, the type of data for non-biddable items sold are of such:
object is a dictionary, indexed by the element and valued by the proportion of that element in the resource.
What do I use to be able to filter out pages for non-bidable and bidable sales. I.E pages can be selected with page size and page number, and then each sale object having some sort of number ascosciated to them, which can be used when bidding up or buying a resource on sale.