Skip to content

feat: in-memory mode #90

Description

@lf-

Product area

Rust SDK

Use case

I'm trying to write tests of database concurrency properties such as locking semantics using a property testing library, Hegel. These need to run large numbers of transactions with absolutely zero durability needs and it's preferable to avoid IO for performance/startup time reasons. It would also be great to be able to clone the entire runtime to create new instances of the db, which is only possible if it owns no OS resources.

Proposal

It seems like the rust library would need to support an equivalent of the in-memory fs mentioned here: https://pglite.dev/docs/filesystems#in-memory-fs

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions