Speed up Python scan code
Closed this issue · 1 comments
simonprickett commented
Note from a student via Discord:
scan_iter
in the code samples run painfully slowly. Running the faceted search code can take 5 minutes +. is that normal for such a small sample (referencing cloud redis). it looks looked like it was doing 1 record at a time so i changed toscan_iter( pattern, count=1000
) - now it runs in a few seconds
simonprickett commented
This could be improved in each of the following: https://github.com/search?q=repo%3Aredislabs-training%2Fru101%20scan&type=code