Skip to content

Why op batching? #72

@edward70

Description

@edward70

I want to read a key, then update conditional on the value in a single transaction.

Is there a performance or concurrency reason why the txn ops are batched together in ngx_lua_resty_mdbx_ffi_execute? Otherwise, I will modify each op to use a separate ffi call, so I can read before commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions