edgelessdb icon indicating copy to clipboard operation
edgelessdb copied to clipboard

Can we purely use EdgelessDB as a key-value database ?

Open bronzeMe opened this issue 3 years ago • 4 comments

Hi, the docs of edgelessdb stated that its storage engine is RocksDB,

So, can we just use edgelessdb as a key-value DB ?That is, we use edgelessdb as a SGX-enabled key-value DB without need of the MariaDB.

If yes, how do we do it? I find there is a SGX-enabled RockDB ,edgeless-rocksdb , however, it lacks details about how do we use it.

Thanks.

bronzeMe avatar Dec 06 '21 08:12 bronzeMe

Hi @bronzeMe, Yes, you could use edgeless-rocksdb as an SGX-enabled KV store, but it's not ready to use standalone. Can you tell about the scenario in which you'd use it and what features you'd need (also regarding attestation, access control, etc.)?

thomasten avatar Dec 06 '21 15:12 thomasten

Hi, @thomasten, thank you so much for your reply. We want to use a TEE-enabled key-value database to perform query operation without leaking the keys, just return the values. Is there any document which describes the design of the edgeless-rocksdb? or cloud you please give a brief introduction about how does edgeless-rocksdb guarantee the confidentiality and integrity requirements? And what is the patch against the native rocksdb. Thanks.

bronzeMe avatar Dec 07 '21 02:12 bronzeMe

Hi @bronzeMe, thank you for your interest. Unfortunately, we don't have a public document yet. We're working on a blog post and white paper. If you don't mind taking a look at the code yourself, then the additions to standard RocksDB are rather well structured. There are only a handful of commits, each with precise scope and comments.

flxflx avatar Dec 07 '21 11:12 flxflx

@flxflx thanks a lot, looking forward your blog and white paper. I try to read the commit comments.

bronzeMe avatar Dec 07 '21 12:12 bronzeMe