ExamGecko
Question list
Search
Search

Related questions











Question 1 - CBDH discussion

Report
Export

Level DB is the default database for Hyperledger Fabric and is particularly appropriate when ledger states comprise what type of data?

A.
Complex key-value pairs
Answers
A.
Complex key-value pairs
B.
Rich Queries
Answers
B.
Rich Queries
C.
JSON data pairs
Answers
C.
JSON data pairs
D.
Simple key-value pairs
Answers
D.
Simple key-value pairs
Suggested answer: D

Explanation:

Simple key-value pairs - LevelDB is the default and is particularly appropriate when ledger states are simple key-value pairs. A LevelDB database is closely co-located with a network node – it is embedded within the same operating system process. CouchDB is a particularly appropriate choice when ledger states are structured as JSON documents because CouchDB supports the rich queries and update of richer data types often found in business transactions. Implementationwise, CouchDB runs in a separate operating system process, but there is still a 1:1 relation between a network node and a CouchDB instance. All of this is invisible to chaincode.

Reference: https://hyperledger-fabric.readthedocs.io/en/release-1.3/ledger/ledger.html

asked 16/09/2024
Khaled Fouad
33 questions
NextNext
User
Your answer:
0 comments
Sorted by

Leave a comment first