Re: [ZODB-Dev] zc.recipe.zeo
Hi Jim. My apologies. I'll move this thread to the other list. Many thanks for your reply and help. Regards, David Jim Fulton wrote: On Aug 3, 2007, at 10:00 AM, David Pratt wrote: Hi Fred. Working with the new recipe but there does not seem to be a way to use the filestorage recipe together with it. I would like to do something like this [zeoscripts] recipe = zc.recipe.egg:script eggs = ZODB3 [database] recipe = zc.recipe.filestorage [server] recipe = zc.zodbrecipes:server database = database zeo.conf = address 8105 monitor-address 8106 transaction-timeout 300 to keep the database contained within the buildout and to produce a zeo.conf like address 8105 monitor-address 8106 transaction-timeout 300 path /my/buildout/path/database/Data.fs I'll take a look at the recipe since it should be possible to utilize some of what is in zc.recipe.zeo which has this behaviour when database is defined as an option, otherwise it would pass to do what it is currently doing. I use other backend storages also so would like to have it operate automatic with filestorage recipe or manually configured. Many thanks. Use: path ${database:path} Jim -- Jim Fultonmailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporationhttp://www.zope.comhttp://www.zope.org ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] zc.recipe.zeo
On Aug 3, 2007, at 10:00 AM, David Pratt wrote: Hi Fred. Working with the new recipe but there does not seem to be a way to use the filestorage recipe together with it. I would like to do something like this [zeoscripts] recipe = zc.recipe.egg:script eggs = ZODB3 [database] recipe = zc.recipe.filestorage [server] recipe = zc.zodbrecipes:server database = database zeo.conf = address 8105 monitor-address 8106 transaction-timeout 300 to keep the database contained within the buildout and to produce a zeo.conf like address 8105 monitor-address 8106 transaction-timeout 300 path /my/buildout/path/database/Data.fs I'll take a look at the recipe since it should be possible to utilize some of what is in zc.recipe.zeo which has this behaviour when database is defined as an option, otherwise it would pass to do what it is currently doing. I use other backend storages also so would like to have it operate automatic with filestorage recipe or manually configured. Many thanks. Use: path ${database:path} Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] zc.recipe.zeo
Hi Fred. Working with the new recipe but there does not seem to be a way to use the filestorage recipe together with it. I would like to do something like this [zeoscripts] recipe = zc.recipe.egg:script eggs = ZODB3 [database] recipe = zc.recipe.filestorage [server] recipe = zc.zodbrecipes:server database = database zeo.conf = address 8105 monitor-address 8106 transaction-timeout 300 to keep the database contained within the buildout and to produce a zeo.conf like address 8105 monitor-address 8106 transaction-timeout 300 path /my/buildout/path/database/Data.fs I'll take a look at the recipe since it should be possible to utilize some of what is in zc.recipe.zeo which has this behaviour when database is defined as an option, otherwise it would pass to do what it is currently doing. I use other backend storages also so would like to have it operate automatic with filestorage recipe or manually configured. Many thanks. Regards, David Fred Drake wrote: On 8/3/07, David Pratt <[EMAIL PROTECTED]> wrote: Hi there. zc.recipe.zeo has not yet made it to the cheeseshop. It would be great if someone could put it there. If you want me to do it that is fine since I have other packages on cheeseshop. The port for zeo on is also hardcoded for 8100 but I am wanting to run more than a single ZEO server instance per physical server so it looks like it needs a fix. I've been using zc.zodbrecipes:server, including address 9000 in the value for the zeo.conf key (replacing 9000 with your chosen port). Question about thread setting in buildout. In zope2's zope.conf you just set the no of threads. In zc.zope3recipes, there is no mention of setting threads. I ask this since setting threads to 1 improved performance according to the recent high performance zope session by Lovely systems at europython. Many thanks. You can include the line "threads 1" as part of the value for zope.conf in the instance part. -Fred ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] zc.recipe.zeo
On Aug 3, 2007, at 12:56 AM, David Pratt wrote: Hi there. zc.recipe.zeo has not yet made it to the cheeseshop. That project is obsolete and has been abandoned. I should remove it or move it to a special place. ... Question about thread setting in buildout. In zope2's zope.conf you just set the no of threads. In zc.zope3recipes, there is no mention of setting threads. I ask this since setting threads to 1 improved performance according to the recent high performance zope session by Lovely systems at europython. Many thanks. This isn't the appropriate place to ask this. Please ask this on the zope3-dev list. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] zc.recipe.zeo
On 8/3/07, Jens Vagelpohl <[EMAIL PROTECTED]> wrote: > Just setting the number of threads to 1 won't improve anything. Their > strategy is to use many instances with a single thread instead of a > few instances with the default number of threads. For a single > instance you'll do more harm than good. Yes, that's an important point. If there's only one instance, you'll need many threads, or you could see problems /very/ quickly. I'd been assuming David was interested in large-volume and/or high availability installations, given that he mentioned attending the high-performance session at EuroPython. -Fred -- Fred L. Drake, Jr. "Chaos is the score upon which reality is written." --Henry Miller ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] zc.recipe.zeo
Hi Fred. The zc.recipe.zeo is a bit old and I seemed to have missed the newer zeo server recipe in svn which handles imports also. Thank you also for the info on threads. Regards, David Fred Drake wrote: On 8/3/07, David Pratt <[EMAIL PROTECTED]> wrote: Hi there. zc.recipe.zeo has not yet made it to the cheeseshop. It would be great if someone could put it there. If you want me to do it that is fine since I have other packages on cheeseshop. The port for zeo on is also hardcoded for 8100 but I am wanting to run more than a single ZEO server instance per physical server so it looks like it needs a fix. I've been using zc.zodbrecipes:server, including address 9000 in the value for the zeo.conf key (replacing 9000 with your chosen port). Question about thread setting in buildout. In zope2's zope.conf you just set the no of threads. In zc.zope3recipes, there is no mention of setting threads. I ask this since setting threads to 1 improved performance according to the recent high performance zope session by Lovely systems at europython. Many thanks. You can include the line "threads 1" as part of the value for zope.conf in the instance part. -Fred ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] zc.recipe.zeo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3 Aug 2007, at 06:56, David Pratt wrote: I ask this since setting threads to 1 improved performance according to the recent high performance zope session by Lovely systems at europython. Just setting the number of threads to 1 won't improve anything. Their strategy is to use many instances with a single thread instead of a few instances with the default number of threads. For a single instance you'll do more harm than good. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGstThRAx5nvEhZLIRAvXjAJ9I3PILBsSXtVfXfX5not6Aag1QAACeP/4W 9HBRv3cRSy/PcbAE8VbxsNQ= =m0Ji -END PGP SIGNATURE- ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] zc.recipe.zeo
On 8/3/07, David Pratt <[EMAIL PROTECTED]> wrote: > Hi there. zc.recipe.zeo has not yet made it to the cheeseshop. It would > be great if someone could put it there. If you want me to do it that is > fine since I have other packages on cheeseshop. The port for zeo on is > also hardcoded for 8100 but I am wanting to run more than a single ZEO > server instance per physical server so it looks like it needs a fix. I've been using zc.zodbrecipes:server, including address 9000 in the value for the zeo.conf key (replacing 9000 with your chosen port). > Question about thread setting in buildout. In zope2's zope.conf you just > set the no of threads. In zc.zope3recipes, there is no mention of > setting threads. I ask this since setting threads to 1 improved > performance according to the recent high performance zope session by > Lovely systems at europython. Many thanks. You can include the line "threads 1" as part of the value for zope.conf in the instance part. -Fred -- Fred L. Drake, Jr. "Chaos is the score upon which reality is written." --Henry Miller ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
[ZODB-Dev] zc.recipe.zeo
Hi there. zc.recipe.zeo has not yet made it to the cheeseshop. It would be great if someone could put it there. If you want me to do it that is fine since I have other packages on cheeseshop. The port for zeo on is also hardcoded for 8100 but I am wanting to run more than a single ZEO server instance per physical server so it looks like it needs a fix. Question about thread setting in buildout. In zope2's zope.conf you just set the no of threads. In zc.zope3recipes, there is no mention of setting threads. I ask this since setting threads to 1 improved performance according to the recent high performance zope session by Lovely systems at europython. Many thanks. Regards, David ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev