Hi again,
> 
> > I'm thinking specifically of Python and Zope, where we'd like 
> > to process multiple 
> > simultaneous database requests (not serialized) on both 
> > Windows and Linux.
> >
> I have to check with Daniel about the python and perl support 
> libraries. He
> is back tomorrow.
> 

I talked with Daniel about it. There is no synchronization of database
requests neither in python nor in perl support DLLs. But the ODBC also
just prevents having more than one request on each connection, thereby 
serializing on 'Request' level only. The SAPDB supports only one
request at a time for each connection.

And there have been not very much tests using multithreaded applications
on UNIX inhouse, since it is known that the UNIX runtime is not multithread
save... 

What i would suggest is having several connections established from 
worker threads, which use a common request queue to parallel work on
request. But be carefull that establishing connection in there worker
threads, since connection establishing is not multi thread save. Otherwise
you could end up with two connection sharing the same control structure...


CU
jrg
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to