Skip to content

DOCS: Clarification on Document DB Support Mentioned in Architecture Diagram #323

@jeevan0920

Description

@jeevan0920

Image

While reviewing the Veraison architecture diagram, we noticed that Document Databases (such as MongoDB and CouchDB) are included as potential storage backends under the "Generic DB Interface" section.

Currently, we do not see any existing implementation or code that integrates Document DBs. We're trying to understand the intent and status of this part of the design.


1.Has the Veraison team evaluated the use of Document DBs, or is their inclusion in the architecture diagram purely illustrative?

We would like to understand whether their presence reflects:

  • A planned or ongoing effort
  • Consideration during the design phase as a future extensibility point
  • Or simply a conceptual placeholder, without any concrete evaluation so far

2. Could Document DBs be a good fit for current KV-based endorsement storage?

Given that CoMID/CoRIM endorsements are naturally structured as JSON, we believe Document DBs might provide:

  • A more direct representation of endorsement objects
  • Simplified mapping compared to SQL schema (where JSONs are stored as strings)

We’re evaluating their suitability and would appreciate insights from the Veraison team.


3. Are there limitations in the current IKVStore interface that might make Document DBs unsuitable?

Would a Document DB backend be expected to conform strictly to the existing interface, or are there known incompatibilities or missing abstractions that would need to be addressed?


For additional context, we previously raised a related question regarding Graph DBs and received helpful clarification here:
🔗 #322

We’d appreciate any guidance on whether Document DBs are aligned with the Veraison architecture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions