psa pls don't use transactions for single doc unobserved atomic updates

David Cheney david.cheney at canonical.com
Sun Sep 21 22:54:22 UTC 2014


Hi Kapil,

I'm sure that the 'put everything in a transaction' pattern is applied
unilaterally.

Do you have some specific operations in mind ?

Dave

On Mon, Sep 22, 2014 at 7:46 AM, Kapil Thangavelu
<kapil.thangavelu at canonical.com> wrote:
> Its sort of misses the point on why we're doing client side transactions.
> Mongodb has builtin atomic operations on an individual document. We use
> client side txns (multiple order of magnitude slower) for multi-document
> txns *and/or* things we want to observe for watches.
>
> -k
>
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>



More information about the Juju-dev mailing list