cloudpipe / cloudpipe/cloudpickle

Why is the first deserialization slow in the container?

Đang mở
#421 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.9k
Fork
195
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
1

Mô tả

The serialized function is complex, which introduce some dependencies, but the number of lines of code for the overall function is not long.
![image](https://user-images.githubusercontent.com/29364768/117746219-9d32ca00-b23e-11eb-8d69-653ea7e7be77.png)
Running outside the container is as fast as a non-first run inside the container, What should I do to speed up the first deserialization in a container?

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

The issue names no source file or test. Start by reproducing the first-versus-subsequent deserialization timings inside and outside the container, then trace the serialized function and its dependencies to isolate the first-run cost. Done means the first deserialization in the container is measurably faster, with the comparison documented.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
backend, performance
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.