Project

General

Profile

Actions

Bug #15095

closed

Hooks need to run on an dedicated thread pool

Added by François ARMAND almost 2 years ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

If hooks run on scala "global" threadpool, they risk to be blocked by whatever is also on that threadpool, especially since its policy is not to run as always async.

Moreover, we need a seperate log for hooks, and a warning log on very long hooks (on a dedicated logger that can be shutdown by user if he wants).


Subtasks 1 (0 open1 closed)

Bug #15098: Duration import breaks compilation of PolicyWriterService.scalaReleasedFrançois ARMANDActions

Related issues

Related to Rudder - Architecture #15102: Port NuProcess and RunHooks to ZIOReleasedFrançois ARMANDActions
Actions #1

Updated by François ARMAND almost 2 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND almost 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/2269
Actions #3

Updated by François ARMAND almost 2 years ago

  • Subject changed from Missing log on hooks for generation to Hooks need to run on an other threadpool than scala global
  • Description updated (diff)
Actions #4

Updated by Rudder Quality Assistant almost 2 years ago

  • Assignee changed from Nicolas CHARLES to François ARMAND
Actions #5

Updated by François ARMAND almost 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by François ARMAND almost 2 years ago

Actions #10

Updated by Alexis MOUSSET almost 2 years ago

  • Subject changed from Hooks need to run on an other threadpool than scala global to Hooks need to run on an dedicated thread pool
Actions #11

Updated by Vincent MEMBRÉ almost 2 years ago

This bug has been fixed in Rudder 5.0.12 which was released today.

Actions #12

Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF