From 6a39a9cd340c081095b8bacb1308e39487b9e6c4 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sun, 11 Oct 2020 15:46:15 +0100 Subject: [PATCH] Update docs - Notes for migration quide for state actions and region execution for reactor threads. - Relates #742 --- .../asciidoc/appendix-reactormigration-threading.adoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/src/reference/asciidoc/appendix-reactormigration-threading.adoc b/docs/src/reference/asciidoc/appendix-reactormigration-threading.adoc index 5bfd034f..875741c9 100644 --- a/docs/src/reference/asciidoc/appendix-reactormigration-threading.adoc +++ b/docs/src/reference/asciidoc/appendix-reactormigration-threading.adoc @@ -1,4 +1,9 @@ === TaskExecutor and TaskScheduler StateMachine execution with `TaskExecutor` and state action scheduling with `TaskScheduler` -has been fully replaced in favour or Reactor execution and scheduling. For configuring -parallel region execution see <>. +has been fully replaced in favour or Reactor execution and scheduling. + +Essentially execution outside of a main thread is needed in two places, firstly with +_State Actions_ which needs to be cancellable and secondly with _Regions_ which should +be always be executed independently. Currently we've chosen to just use _Reactor_ +`Schedulers.parallel()` for these which should give relatively good results as it +tries to automatically use available number of cpu cores from a system.