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.
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.