Skip to content

Could we remove mtx from prefixdb? #156

Description

@jinsankim

I'm investigating how to increase concurrency in terms of cosmos-sdk app. To my understanding, almost db access paths from cosmos store to db backend are serialized by mtx. I think it's not a good idea for performance. As a bottom layer of db access path, I'd like to remove mtx from prefixdb. (Please note that cosmos/iavlStore depends on this prefixdb). prefixdb wraps another tm-db instance and this another tm-db is already concurrency safe by CONTRACT. So, intuitionally, I think we could remove mtx from prefixdb. HDYT?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions