UWSGI: Does every connection, in a worker, share the same instance of python app

Viewed 36

Am totally new to nginx/uwsgi. I read that 1 worker (with 512 connections) would serve 512 different clients simultaneously.

I think ( I may be wrong), If I have a Flask Rest API for updating a database, then, with 1 instance of my flask app in memory all those 512 connections could update the database with different values.
Is that correct? OR Will there be 512 instances of flask app, each for a connection.

0 Answers
Related