> Or maybe I should use uwsgi.post_fork_hook() to verify the worker
> processes
> is synced with the shared data?


if you need to share read-only (data cannot be obviously modified if you
want consistency) just initialize them in the master (put in the WSGI
entry point or import them with --shared-pyimport or similar).

If you want read-write data sharing between processes use uWSGI
caches/queues/sharedareas subsystems

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to