Hi Julians!
@sync
and @async
is a nice combination to perform concurrent IO, such as reading files from the cloud. However, there seems to be a maximum number of concurrent request to the google cloud storage. Is there any way to set maximum concurrent requests?
Here is a code example:
@sync begin
for (blockID, chunkGlobalRange, globalRange, rangeInChunk, rangeInBuffer) in baIter
@async begin
do the request
end
end
end