Skip to content

Does granian support a pre-fork model? #517

Answered by gi0baro
beaugunderson asked this question in Q&A
Discussion options

You must be logged in to vote

Nope. Each worker needs a clean interpreter state on boot.

The only implementation that shares the application between workers is the freethreaded one (Python 3.13t), but that's also currently quite experimental.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@beaugunderson
Comment options

Answer selected by gi0baro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants