Skip to content

Forking instructions unnecessary for multi-process environments? #16

Open
@hibachrach

Description

@hibachrach

After reading the code, it's unclear to me why the Statsig docs call for initializing the lib in a fork callback for Unicorn/Puma setups. Is the library using a shared system resource like a file descriptor or shared socket that isn't properly isolated via Ruby's copy-on-write?

If it is necessary, it's probably worth calling out for Sidekiq when in multi-process/"swarm" mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions