Closed nurzhan-saktaganov closed 2 months ago
BucketDiscovery spawns several goroutines and calls on each of them BucketStat. We can achieve the same behavior without spawning new goroutines, just split BuckerStat into bucketStatAsync and bucketStatWait stages/parts.
BucketDiscovery
BucketStat
BuckerStat
bucketStatAsync
bucketStatWait
BucketDiscovery
spawns several goroutines and calls on each of themBucketStat
. We can achieve the same behavior without spawning new goroutines, just splitBuckerStat
intobucketStatAsync
andbucketStatWait
stages/parts.