Le 29/04/2020 à 20:49, David Li a écrit :
> 
> However, we noticed this doesn’t actually bring us the expected
> benefits. Consider files A, B, and C being buffered in parallel; right
> now, all I/O goes through an internal I/O pool, and so several
> operations for each of the three files get added to the pool. However,
> they get serviced in some random order, and so it’s possible for file
> C to finish all its I/O operations before file B can. Then, a consumer
> is unnecessarily stuck waiting for those to complete.

It would be good if you explained your use case a bit more precisely.
Are you expecting the files to be read in a particular order?  If so, why?

Regards

Antoine.

Reply via email to