We have a collection proxy which has 633 missing resource(the size is not big. the total size of all 1500+ resources is 9MB). When use a loop to store all of these missing resources, the callback of the last resource return after about 11 seconds on windows PC.
From line 1075 to line 1811 of this log file. log.zip (28.3 KB)
_
DEBUG:SCRIPT: [INFO 2019-03-08 14:44:34] game/scheduler/scheduler.script:22: try to download resource for collection proxy: /mahjong_proxy#xzdd with missing resource: 633
.
DEBUG:SCRIPT: finished switch proxy: url: [scheduler:/mahjong_proxy#xzdd] cost time: 10.985
_
The same project (andriod) costs about 20 seconds. As far as I know, store resource will write data in following container file. The time is too long for switch a proxy. Is there more infomation about the resource store implementation?
Maybe some buffer mechanism can be used to merge all data in the memory file first and then flush to disk with a certain frequency.