Re: ZODB and Web2py
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <CAPDm-FgSr0u-NfP8DJc0HN7gVqsmG=3j3ZG8r-1Q1b62SD_x3A@mail.gmail.com> |
On Fri, Mar 10, 2017 at 5:25 PM, Toby Shepard <[email protected]> wrote: > If I choose ZODB as my backend storage for a web2py application, do I need > to use ZEO, or can multiple clients just hit the web2py server which would > utilize a ZODB database? > To put a fine point on it, you'd be using a ZODB database in any case. The question is whether you use a client-server *storage* like ZEO, RelStorage or NEO, or use FileStorage. You can use FileStorage if you have a *single process*, but that's usually not a good idea because then you wouldn't be able to make a read-write connection to the database from outside your web application without stopping it. You also wouldn't be able to increase the number of application processes for scale or higher availability. Jim -- Jim Fulton http://jimfulton.info -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.