For my application, Java cf push
takes too much time.
Uploading ${APPNAME}...
Uploading app files from: ${PATH}.jar
Uploading 19.8M, 6584 files
Done uploading
When pressed, the first line is displayed for several minutes (with 100% processor utilization). Subsequently, the actual download starts (second line) and completes in just a second.
C, CF_TRACE=true
I see a request resource match
( https://apidocs.cloudfoundry.org/220/resource_match/list_all_matching_resources.html ). A JSON string containing the hash sum of all the files in my JAR file is sent for this request. Gathering this information is something that takes too much time in my case, since the JAR file contains many files.
Is there a way to disable the resource match request? As far as I can see, it is used only to not download files that do not change (it is already known by the CloudFoundry instance). However, loading 20M of data takes only a second.
source
share