Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Tino Wildenhain
Sidnei da Silva schrieb: I was looking, and trying to understand why 'tempstorage' is not included in the ZODB. Since some people might want to share sessions between ZEO clients, and that 'tempstorage' is what is mounted as '/temp_folder/session_data', why not make that easy to mount via ZEO?

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Sidnei da Silva
On Wed, May 31, 2006 at 09:53:14AM +0200, Tino Wildenhain wrote: | Sidnei da Silva schrieb: | I was looking, and trying to understand why 'tempstorage' is not | included in the ZODB. | | Since some people might want to share sessions between ZEO clients, | and that 'tempstorage' is what is

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Chris McDonough
On May 31, 2006, at 9:08 AM, Sidnei da Silva wrote: On Wed, May 31, 2006 at 09:53:14AM +0200, Tino Wildenhain wrote: | Sidnei da Silva schrieb: | I was looking, and trying to understand why 'tempstorage' is not | included in the ZODB. | | Since some people might want to share sessions between

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Sidnei da Silva
On Wed, May 31, 2006 at 09:40:01AM -0400, Chris McDonough wrote: | Should be OK, although if you're doing it because you want a fast | storage (or one that produces fewer conflicts), ZEO takes away much | hope of that intrinsically. My goal was actually sharing sessions between zeo clients,

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31 May 2006, at 14:55, Sidnei da Silva wrote: On Wed, May 31, 2006 at 09:49:49AM -0400, Chris McDonough wrote: | I've done this (at least with FileStorage) and it's | sllo. Might be OK for low-traffic sites, but better | to

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Chris McDonough
I've done this (at least with FileStorage) and it's sllo. Might be OK for low-traffic sites, but better to implement a custom session data container that stores stuff in SQL. I have the beginnings of one of these if you want to see it. - C On May 31, 2006, at 9:44 AM,

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Sidnei da Silva
On Wed, May 31, 2006 at 09:49:49AM -0400, Chris McDonough wrote: | I've done this (at least with FileStorage) and it's | sllo. Might be OK for low-traffic sites, but better | to implement a custom session data container that stores stuff in | SQL. I have the beginnings of

Re: [ZODB-Dev] Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Eric Brun
Hi, I have bad experence with tempstorage on ZEO (FileStorage with no undo). With site with 18000 users (300 per minutes) , the site hang because of conflict on ZEO. I am very interested by a faster tempstorage like SQLDB Cheers Eric Brun Pentila www.pentila.com Chris McDonough a écrit :

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Chris McDonough
On May 31, 2006, at 9:55 AM, Sidnei da Silva wrote: On Wed, May 31, 2006 at 09:49:49AM -0400, Chris McDonough wrote: | I've done this (at least with FileStorage) and it's | sllo. Might be OK for low-traffic sites, but better | to implement a custom session data container that

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Sidnei da Silva
On Wed, May 31, 2006 at 09:59:36AM -0400, Chris McDonough wrote: | | On May 31, 2006, at 9:55 AM, Sidnei da Silva wrote: | | On Wed, May 31, 2006 at 09:49:49AM -0400, Chris McDonough wrote: | | I've done this (at least with FileStorage) and it's | | sllo. Might be OK for

Re: [Zope-dev] tempstorage to ZEO?

2006-05-31 Thread Chris McDonough
Sorry, I've not run your tests but I'll note that they don't take into account any concurrency or time lost due to conflict error retries. There are many more conflicts when writing to ZEO-backed database in general when there is lots of concurrency because write transactions usually take