ipython / ipython/ipyparallel

Safely cancelling jobs

Đang mở
#258 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Jupyter Notebook
Star
2.6k
Fork
1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,

Is there a way to safely cancelling jobs without needing to know if they have started, running or finished? I do multiple simulations in parallel, and many of them are finished around the same time. Some of the results become redundant after processing the others, but calling e.g. `async_res.abort()` on the redundant ones quite often freezes the execution (probably the assertion of the job not being finished passes but in the meanwhile the result arrives). So currently I can't abort them because of the chance of freezing the execution.

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

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

Hướng nghiên cứu

Start by tracing the async_res.abort() lifecycle and how job completion is handled when several simulations finish together. Reproduce the race between aborting a redundant result and its completion, then define safe behavior for jobs that are pending, running, or finished without freezing execution.

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

Đánh giá

Công nghệ
jupyter, python
Lĩnh vực
distributed-systems
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
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.