That sounds pretty cool. Are there any examples or documentation on using shared imports to distribute data via shared memory?
Steve On Aug 17, 2012, at 10:21 AM, "Roberto De Ioris" <[email protected]> wrote: > > Il giorno 17/ago/2012, alle ore 17:16, [email protected] ha scritto: > >> Hello Riccardo, >> >> >> well I think to read LIST/DIC directly is much faster than accessing >> cache. So main idea to repopulate variable directly - on some event. >> >> > > > Just put the code in a python module you import with > > --shared-import <filename> > > all of the processes will inherit that memory area > > -- > Roberto De Ioris > http://unbit.it > JID: [email protected] > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
