: Wednesday, May 28, 2008 2:27 PM
To: Jon Emmons
Cc: zope@zope.org
Subject: Re: [Zope] Multithreading sessions
Jon Emmons wrote at 2008-5-23 08:58 -0400:
...
I am running zope 2.9.4 and have observed that it will not simultaneously
serve pages to my users.
Usually, it does.
I have seen database
backend does not register an active session between actual queries.
That's open source. Code terminology for re-write it.
- Original Message -
From: Jon Emmons [EMAIL PROTECTED]
Date: Wednesday, June 4, 2008 8:50
Subject: RE: [Zope] Multithreading sessions
To: 'Dieter Maurer' [EMAIL PROTECTED
not appear to exhibit this behavior.
Jon Emmons
_
From: Carol Ludwig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2008 10:58 AM
To: Jon Emmons
Cc: 'Dieter Maurer'; zope@zope.org
Subject: Re: RE: [Zope] Multithreading sessions
We are using Plone and Zope against a legacy Ingres
Jon Emmons wrote at 2008-6-4 08:50 -0400:
...
I am just learning about this, but my initial inquiries suggest that the
only way to achieve true concurrency using a language like python is to
launch multiple interpreters.
This is true when you mean by true concurrency
can keep a multi-CPU systems
-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2008 2:09 PM
To: Jon Emmons
Cc: zope@zope.org
Subject: RE: [Zope] Multithreading sessions
Jon Emmons wrote at 2008-6-4 08:50 -0400:
...
I am just learning about this, but my initial inquiries suggest that the
only way
- Original Message -
From: Dieter Maurer [EMAIL PROTECTED]
Jon Emmons wrote at 2008-6-4 08:50 -0400:
...
I am just learning about this, but my initial inquiries suggest that the
only way to achieve true concurrency using a language like python is to
launch multiple interpreters.
Jens,
Thanks for your input.
Unfortunately, I am out of the office this week. When I return I will be
trying to resolve this issue.
I don't believe it has squat to do with my Database at all, so I will be
setting up some scenarios where I am making simultaneous requests, requiring
no DB
Jon Emmons wrote at 2008-5-23 08:58 -0400:
...
I am running zope 2.9.4 and have observed that it will not simultaneously
serve pages to my users.
Usually, it does.
I have seen database adapter packages (an old psycopg version, to be
precise) that forgot to release the GIL for some operations.
--On 23. Mai 2008 08:58:25 -0400 Jon Emmons [EMAIL PROTECTED]
wrote:
Is this typical Zope behavior?
No, and it is unlikely that Zope is in charge for this behavior.
You might encounter a situation where your database locks a table or
something like that and therefore blocking other
, May 23, 2008 9:10 AM
To: Jon Emmons; zope@zope.org
Subject: Re: [Zope] Multithreading sessions
You need to increase number of server threads and/or number of database
connections (it mean ZoDB connections).
- Original Message -
From: Jon Emmons
User 1 requests data that takes the MySQL
You need to increase number of server threads and/or number of database
connections (it mean ZoDB connections).
- Original Message -
From: Jon Emmons
User 1 requests data that takes the MySQL server 30 seconds to retrieve
Meanwhile.
User 2 wants to log on
User 2 will not be served
Emmons; zope@zope.org
Subject: Re: [Zope] Multithreading sessions
--On 23. Mai 2008 08:58:25 -0400 Jon Emmons [EMAIL PROTECTED]
wrote:
Is this typical Zope behavior?
No, and it is unlikely that Zope is in charge for this behavior.
You might encounter a situation where your database locks
Hi Jon,
I use 24 zserver-threads and I have here defined number of ZoDB connections
(pool-size):
in your instance etc/zope.conf look for that section:
zodb_db main
# Main FileStorage database
filestorage
path $INSTANCE/var/Data.fs
/filestorage
mount-point /
cache-size
Jaroslav,
OK, that looks real!
Thanks,
I am going to try it on my development server and run some tests.
Jon Emmons
-Original Message-
From: Jaroslav Lukesh [mailto:[EMAIL PROTECTED]
Sent: Friday, May 23, 2008 9:37 AM
To: Jon Emmons; zope@zope.org
Subject: Re: [Zope] Multithreading
(client 1's results) then (client 2's
results)... very atomic.
Thanks again,
Jon Emmons
-Original Message-
From: Jaroslav Lukesh [mailto:[EMAIL PROTECTED]
Sent: Friday, May 23, 2008 9:37 AM
To: Jon Emmons; zope@zope.org
Subject: Re: [Zope] Multithreading sessions
Hi Jon,
I use 24 zserver
:[EMAIL PROTECTED] On Behalf Of
Jon Emmons
Sent: Friday, May 23, 2008 8:10 AM
To: 'Jaroslav Lukesh'; zope@zope.org
Subject: RE: [Zope] Multithreading sessions
Jaroslav and everyone,
I have made the changes Jaroslav suggested and I cannot get Zope to
serve even 2 sessions simultaneously.
In our testing
(client 1's results) then (client 2's
results)... very atomic.
Thanks again,
Jon Emmons
-Original Message-
From: Jaroslav Lukesh [mailto:[EMAIL PROTECTED]
Sent: Friday, May 23, 2008 9:37 AM
To: Jon Emmons; zope@zope.org
Subject: Re: [Zope] Multithreading sessions
Hi Jon,
I
Sent: Friday, May 23, 2008 8:10 AM
To: 'Jaroslav Lukesh'; zope@zope.org
Subject: RE: [Zope] Multithreading sessions
Jaroslav and everyone,
I have made the changes Jaroslav suggested and I cannot get Zope to
serve even 2 sessions simultaneously.
In our testing, one client will start
to what is
happening, or a clear path to true multithreaded session handling.
Jon Emmons
-Original Message-
From: Sours, Kevin [mailto:[EMAIL PROTECTED]
Sent: Friday, May 23, 2008 11:48 AM
To: Jon Emmons; zope@zope.org
Subject: RE: [Zope] Multithreading sessions
What it sounds like
On May 23, 2008, at 11:49 , Jon Emmons wrote:
Another thought I had, is that Zope has only one python interpreter
running,
pretty much forcing all processing to be serial by default given
what you've
just said.
Sorry, that's all baloney. Just like blindly hiking the number of
threads or
This is relevant:
http://docs.python.org/api/threads.html
http://www.pyzine.com/Issue001/Section_Articles/article_ThreadingGlobalI
nterpreter.html
But notice some C extensions do allow concurrency by releasing the
GIL.
Most I/O operations in the standard library do that. And probably the
--On 23. Mai 2008 12:31:50 -0500 Jens Vagelpohl [EMAIL PROTECTED] wrote:
On May 23, 2008, at 11:49 , Jon Emmons wrote:
Another thought I had, is that Zope has only one python interpreter
running,
pretty much forcing all processing to be serial by default given
what you've
just said.
22 matches
Mail list logo