I'm using KVS2 to save lists of poker hands, where each round of poker has 9 player hands, and each hand has cards and other data, including other small lists.
This all works, but I'm not sure it's going to scale up well. At 650 rounds, that's about probably 10000 - 15000 records, which currently takes about 10 seconds on my Galaxy Note 4.
Two questions:
- Any tips for speeding up this kind of data storage/retrieval? (I'm currently saving/loading each list using a single put/get statement.)
- Any way to show a progress gauge during the kvs.get operation, or is that necessarily a single atomic operation? (I currently have a gauge showing my conversion of the retrieved types back into objects, but that's only a second or two, while the kvs.get is 10-15 seconds by itself.)
Any help appreciated, cheers!
This all works, but I'm not sure it's going to scale up well. At 650 rounds, that's about probably 10000 - 15000 records, which currently takes about 10 seconds on my Galaxy Note 4.
Two questions:
- Any tips for speeding up this kind of data storage/retrieval? (I'm currently saving/loading each list using a single put/get statement.)
- Any way to show a progress gauge during the kvs.get operation, or is that necessarily a single atomic operation? (I currently have a gauge showing my conversion of the retrieved types back into objects, but that's only a second or two, while the kvs.get is 10-15 seconds by itself.)
Any help appreciated, cheers!