Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

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

Open
bronzeMe opened this issue Dec 6, 2021 · 4 comments
Open

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

bronzeMe opened this issue Dec 6, 2021 · 4 comments

Comments

@bronzeMe
Copy link

bronzeMe commented Dec 6, 2021

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.

@thomasten
Copy link
Member

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

@bronzeMe
Copy link
Author

bronzeMe commented Dec 7, 2021

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.

@flxflx
Copy link
Member

flxflx commented Dec 7, 2021

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.

@bronzeMe
Copy link
Author

bronzeMe commented Dec 7, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants