From 94a3cc532c7f0ff7b5bfca2b05981d8aa50c8f92 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 2 Dec 2021 18:09:07 -0500 Subject: [PATCH] Add nooz --- newsfragments/267.misc.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 newsfragments/267.misc.rst diff --git a/newsfragments/267.misc.rst b/newsfragments/267.misc.rst new file mode 100644 index 0000000..727a879 --- /dev/null +++ b/newsfragments/267.misc.rst @@ -0,0 +1,16 @@ +This (finally) adds fully acknowledged remote cancellation messaging +support for both explicit ``Portal.cancel_actor()`` calls as well as +when there is a "runtime-wide" cancellations (eg. during KBI or general +actor nursery exception handling which causes a full actor +"crash"/termination). + +You can think of this as the most ideal case in 2-generals where the +actor requesting the cancel of its child is able to always receive back +the ACK to that request. This leads to a more deterministic shutdown of +the child where the parent is able to wait for the child to fully +respond to the request. On a localhost setup, where the parent can +monitor the state of the child through process or other OS APIs instead +of solely through IPC messaging, the parent can know whether or not the +child decided to cancel with more certainty. In the case of separate +hosts, we still rely on a simple timeout approach until such a time +where we prefer to get "fancier".