apify-projects / apify-extra-library

Advanced and experimental functionality for Apify Actors and Crawlee. Use with caution!
Apache License 2.0
10 stars 1 forks source link

Create parallel request queue #4

Open metalwarrior665 opened 3 years ago

metalwarrior665 commented 3 years ago

I'm thinking of extending the parallelDedupQueue to work as a normal queue. Basically, each actor would have one of the queues for reading and would be adding requests to other queues depending on the hash of the uniqueKey(like the dedup one does).

Just need to figure out the details of how the handleTasks would be spawned: