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