Hscan Download

0 views
Skip to first unread message
Message has been deleted

Mathilda Gibby

unread,
Jul 17, 2024, 5:39:12 PM7/17/24
to contrejuti

I'm iterating over the redis hasmap elements. In every iteration, I store the elements into a list. When I reach a limit of scanned elements (2000 elements) I stop the hscan.Then I make some calculations and delete (hdel) the elements into the list. Then I return to execute another hscan operation (initied with a new zewro cursor) and store elements in a list and etc... This cycle repeats until the hashmap is depleted

hscan download


Download Zip https://lpoms.com/2yW5T5



I've done tests with different values of COUNT, counting the number of hscan operations and the elements retrieved in each hscan call. That to calculate a average elements/hscan and see how many redis calls I'm doing

aa06259810
Reply all
Reply to author
Forward
0 new messages