decentralized-identity / confidential-storage

Confidential Storage Specification and Implementation
https://identity.foundation/confidential-storage/
Apache License 2.0
79 stars 23 forks source link

How should the architecture layers be named? #44

Closed kdenhartog closed 4 years ago

kdenhartog commented 4 years ago

I recognize this is a bikeshed issue, so we should be mindful of this. Especially as we're still aligning on a mental model and architecture. To get things started though, I propose this set of names for the layers:

Layer 1: Storage layer Layer 2: Replication layer Layer 3: Integrity layer

csuwildcat commented 4 years ago

Just a thought:

Layer 1: Message Layer - required encryption, replication, and routing bits that must be integrated into messages

Layer 2: Storage Layer - messages are stored, managed, and permissioned as a coherent singular mass

Layer 3: Query Layer - how the storage layer groups, indexes, and exposes the data in the storage layer

kdenhartog commented 4 years ago

Just a thought:

Layer 1: Message Layer - required encryption, replication, and routing bits that must be integrated into messages

Layer 2: Storage Layer - messages are stored, managed, and permissioned as a coherent singular mass

Layer 3: Query Layer - how the storage layer groups, indexes, and exposes the data in the storage layer

I'm good with those names.

agropper commented 4 years ago

I suggest we delay this layering exercise until after we name the key roles. In particular, I would wait for [w3c/did-use-cases] Relying Party -> Requesting Party (#84)

msporny commented 4 years ago

-1, Messaging at the base layer is concerning, maybe? Needs more discussion, I'd like to do this at the end ... when we have a full idea of what all of the layers are.

csuwildcat commented 4 years ago

@msporny by messaging, I simply mean: the actual atomic objects sent between SDS instances, and the definitions of their required/standard properties and values the SDS system needs to properly handle them. Could also be referred to as Object Layer.

msporny commented 4 years ago

Could also be referred to as Object Layer.

Right, agreed that "Object Layer" might be better... Getting a full list of features might be more helpful... once we have all of the features identified, then we can sort them into layers, IMHO. Once we sort them into layers, we can name the layers.

OR13 commented 4 years ago

Another proposal here: https://github.com/decentralized-identity/secure-data-store/issues/74

kdenhartog commented 4 years ago

In an effort to consolidate the threads around this discussion, I'll repost the proposals from this thread there and close it. See this https://github.com/decentralized-identity/secure-data-store/issues/74#issuecomment-645676378 for more details