Skip to content

Facade: Add thread pool for Lightblue calls to protect system resources #381

@paterczm

Description

@paterczm

Should we restore thread pools? It was established that they are not responsible for the recent outages. Note that interrupting timed out threads should mitigate the issue thread pools are supposed to solve.

If we do restore thread pools, then we should ensure clean pool shutdown when application is undeployed (#350 doesn't do this, because it doesn't know application lifecycle). There are edge cases where this can cause problems and is especially dangerous during outage, when admin acts fast, not necessarily following all procedures, and the java.lang.OutOfMemoryError can send his investigation in a wrong direction. It happened to me in stage.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions