Hi, I'm using uwsgi for my small project with flask and nginx, However, I'm still new to uwsgi so a have a few questions regarding how uwsgi fork workers from master flask interpreter. For what i am understanding, uwsgi fork all the data from master process into worker to serve the request. And what if, during a worker process, an instance is created, does the master get all that newly create instance data or it will disappear when the worker is 'cheapped'? Is data is synchronous between workers?
As in my project, each time a user login flask creates an instance for him/her. For example, I'm having 2 workers serving 2 client request, worker 1 is handling request for client 1 which holding the flask session, sames as worker 2 and client 2. By meantime, worker 1 is somehow going down, and if worker 2 will search him, does worker 2 have the session to prevent force login from flask? Regards, Truong
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
