Skip to content

Isolating apps by using subinterpreters #10

@mliezun

Description

@mliezun

Run each app on a separate subinterpreter, that will make them isolated from each other.

Since Python 3.12, subinterpreters can have their own GIL. That will also make the faster and more resource efficient.

As of now, there's a draft PR #9. While working on it I found a bug that doesn't allow to successfully use subinterpreters in Python 3.12 or later. I filed an issue on the CPython project python/cpython#117482

Overall subinterpreters don't seem stable and I think they still need some improvements in future Python versions to make them usable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions