You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw some other closed issue on batching, but it didn't seem to related directly to this.
Basically, the better queue implementation is that it takes in individual items, but passes them to the process function in an array, but then outputs the results individually in the original order.
This saves API calls and carries (typically) an overall speed benefit as making one request with multiple entries takes less total time than each call made individually.
The text was updated successfully, but these errors were encountered:
I saw some other closed issue on batching, but it didn't seem to related directly to this.
Basically, the better queue implementation is that it takes in individual items, but passes them to the
process function
in an array, but then outputs the results individually in the original order.https://www.npmjs.com/package/better-queue#batch-processing
What are your thoughts on implementing something like this?
The use case is where it's more efficient to make a call to an API with multiple items than it is with each individual items.
This saves API calls and carries (typically) an overall speed benefit as making one request with multiple entries takes less total time than each call made individually.
The text was updated successfully, but these errors were encountered: