Re: How can I reduce locking at storage level

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAPDm-FhmXjM6NxydfpEDardMjtYCu3butiBiZsmq9-XCDHinBQ@mail.gmail.com>
On Thu, Jun 23, 2016 at 6:53 AM, Sanjay Rao <[email protected]> wrote:
> How can I avoid database commit locks done by zope server for each http
> request. Even if most of the calls perform readonly transactions on
> database.

Read-only transactions don't touch the ZEO server.

Jason was referring to application bugs that caused accidental writes.

(I don't think aborting transactions you consider to be read-only is a
good way to address that. IMO, a better way would be to provide some
way to state your belief that a transaction is read-only and have the
system error if you're wrong, ideally during development/testing.)

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.