> You are thus confirming that an OpenERP server can accept only 1 
> '''concurrent''' user at a
>  time. Can you elaborate further on that particular point? 

No, Open ERP is multi-threaded. You can run as many request as you need in the 
background. It's really easy to test, run the following script:


import xmlrpclib
import os

DBNAME = 'terp5'
UID = 1
PASSWD = 'a'

sock = 
xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/object')
ids = sock.execute(DBNAME, UID, PASSWD, 'account.account', 'search', 
[])

if os.fork():
    print 'Start 1'
    ids = sock.execute(DBNAME, UID, PASSWD, 'account.account', 
'read', ids)
    print 'End 1'
else:
    print 'Start 2'
    ids = sock.execute(DBNAME, UID, PASSWD, 'account.account', 
'read', ids)
    print 'End 2'


For me, it produced this:
> Start 2
> Start 1
> End 1
> End 2




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=34368#34368

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to