Skip to content

Angular SSR - PM2 cluster support #31387

@hheexx

Description

@hheexx

Which @angular/* package(s) are relevant/related to the feature request?

platform-server

Description

Currently to scale Angular SSR beyond 1 core if you use PM2 you must have nginx in front with configured upstreams on multiple ports. PM2 configuration is also complicated with increment_var setting for port. Any change to a number of instances requires changing nginx configuration.

Proposed solution

Angular SSR should be able to run in PM2 cluster mode for easy scaling

Alternatives considered

/

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