Re: query about "server-sync option"
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <CAPDm-Fh9H2wZAHF4SDV7gp6OKV3Q2N4Zop6=Zea46j4NM-VDDw@mail.gmail.com> |
On Fri, Oct 21, 2016 at 1:28 AM, Sanjay Rao <[email protected]> wrote: > How does "server-sync option" helps in removing short term inconsistency > among ZEO clients ? It doesn't. Absent instantaneous network transmission, that's impossible. What it does is makes sure a client sees all changes made prior to the start of a transaction. It does this by sending a do-nothing ping to the server waiting for a response. This assures that it receives and processes any in-flight invalidations prior to starting a new transaction. > and > How can I use it in a zope server ? With ZEO 5, add: server-sync true to your clientstorage (rather than zeoclient) configuration. See: https://github.com/zopefoundation/ZEO#configuration-strings-files 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.