Azure / Azure/azure-functions-java-worker

Avoid reading from DISK during cold start specialization

Aperta
#637 1 commento 0 reazioni 1 assegnatario Rivendicata da @shreyas-gopalakrishna Vedi su GitHub
area:java-functions Enhancement reviewed
Lingua principale
Java
Stelle
103
Fork
74
Merge medio
4g 8h
PR unite (30g)
2

Descrizione

When running a profiler for the placeholder pools, it is observed that there are some files which is being read from the disk during specialization.
Reading those files before specialization will help in paging in bytes to reduce the disk reads.

The java worker reads files such as below during specialization which impacts cold start numbers.
- C:\\Program Files\\Java\\microsoft-jdk-11.0.14.1\\bin\\server\\jvm.dll
- C:\Program Files\Java\microsoft-jdk-11.0.14.1\lib\modules

Read the files during start of the java worker to page in bytes so we avoid reading it during specialization

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.