Azure / Azure/azure-functions-java-worker

Avoid reading from DISK during cold start specialization

Đang mở
#637 1 bình luận 0 reaction 1 người được giao Được @shreyas-gopalakrishna nhận Xem trên GitHub
area:java-functions Enhancement reviewed
Ngôn ngữ chính
Java
Star
103
Fork
74
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.