BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Blockchain Exam CBDH Topic 6 Question 5 Discussion

Actual exam question for Blockchain's CBDH exam
Question #: 5
Topic #: 6
[All CBDH Questions]

The ledger system in Hyperledger Fabric uses what database by default?

Show Suggested Answer Hide Answer
Suggested Answer: B

The ledger system in Hyperledger fabric uses levelDB. By definition, LevelDB allows concurrent writers to safely insert data into the database by providing internal synchronization. LevelDB uses very coarse-grained synchronization which forces all writes to proceed in an ordered, first-come-first-served basis, effectively reduces throughput to a single thread. State database options include LevelDB and CouchDB. LevelDB is the default key-value state database embedded in the peer process. CouchDB is an optional alternative external state database. Like the LevelDB key-value store, CouchDB can store any binary data that is modeled in chaincode (CouchDB attachment functionality is used internally for non-JSON binary data). But as a JSON document store, CouchDB additionally enables rich query against the chaincode data, when chaincode values (e.g. assets) are modeled as JSON data


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel