[ZODB-Dev] why use zc.recipe.filestorage?

Jim Fulton jim at zope.com
Fri Oct 30 12:25:37 EDT 2009


On Fri, Oct 30, 2009 at 5:01 AM, Chris Withers <chris at simplistix.co.uk> wrote:
> Hi All,
>
> I'm wondering what the point of this recipe is?
>
> Why use:
>
> [storage]
> recipe = zc.recipe.filestorage
>
> [zeo]
> recipe = zc.zodbrecipes:server
> zeo.conf =
>     <filestorage 1>
>     path ${storage:path}
>     </filestorage>
>
> ...when you could just use:
>
> [zeo]
> recipe = zc.zodbrecipes:server
> zeo.conf =
>     <filestorage 1>
>     path ${buildout:directory}/databases/Data.fs
>     </filestorage>
>
> I feel like I'm missing something...

You aren't missing anything. The benefit is very small.

Jim

-- 
Jim Fulton


More information about the ZODB-Dev mailing list