Use async module to speed up pad processing #6
Closed
opened 5 years ago by decentral1se
·
3 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
We could also batch the pad IDs into groups and then use the core async library to run them asynchronously. This could drastically speed things up if you have a bunch of cores. Might need some investigation to realise first though.
Combined with #5, we could really have a faster feedback loop.
You could also check what I did here with the multiprocessing library to use different threads for doing HTTP requests.
Comes down to the same I guess..
OK, that's in. I used the trio async library and asks HTTP client.