Azure / Azure/azure-functions-java-worker

Avoid reading from DISK during cold start specialization

Open
#637 1 comment 0 reactions 1 assignee Claimed by @shreyas-gopalakrishna View on GitHub
area:java-functions Enhancement reviewed
Dominant language
Java
Stars
103
Forks
74
Avg merge
4d 8h
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.