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.

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.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgp9luSd6D9w1.pgp
Description: PGP signature

Reply via email to