Le 25/03/10 13:59, Cédric Krier a écrit :
After a talk with Sharoon, here is the new ideas:
To be able to have metaclass programming able to handle current extention
behavior, we require to have one database per process. Because metaclass will
be called only once after that Python will store the result and a model must
have a class per database.
So the goal is to have a handler process that will dispatch queries to
children depending of the database. We could use multiprocessing module that
is available since 2.6.
The processing module is also available for python 2.4 and 2.5 (but not
in the standard library).
This idea brings an other one where we could have also one process per
protocols. And perhaps have one process per netrpc connection as it is a
stateful connection.
--
Bertrand Chenal
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 474 207 906
Email: [email protected]
Website: http://www.b2ck.com/
--
[email protected] mailing list
To unsubscribe from this group, send email to tryton-dev+unsubscribegooglegroups.com or
reply to this email with the words "REMOVE ME" as the subject.