mammoth-camera-90962
09/01/2022, 7:05 AMechoing-dinner-19531
09/01/2022, 7:35 AMmammoth-camera-90962
09/01/2022, 12:00 PMechoing-dinner-19531
09/01/2022, 12:02 PMis there any throttling on the number of threads?Not by default, but you can set the number of worker threads with -p
-p, --parallel int Allow P resource operations to run in parallel at once (1 for no parallelism). Defaults to unbounded. (default 2147483647)
mammoth-camera-90962
09/01/2022, 12:09 PMechoing-dinner-19531
09/01/2022, 12:12 PMit's very obvious that not all operations that could be done in parallel are being done in parallel.So A) I wouldn't trust the display logic to show this accurately B) There is one part of the engine that is single-threaded that all operations have to go through first, so things won't ever by perfectly parallelised. Sending 100 events all at once, all 100 will get some initial processing 1-by-1 and then after that initial processing will be scaled out to worker threads for the actual cloud operations.
mammoth-camera-90962
09/01/2022, 12:17 PMechoing-dinner-19531
09/01/2022, 12:19 PMmammoth-camera-90962
09/01/2022, 12:22 PMfancy-artist-96598
09/07/2022, 11:26 PM