-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://jira.hyperledger.org/browse/FAB-788 RocksDB has a patent infringement license in it from Facebook (https://github.com/facebook/rocksdb/blob/master/PATENTS) Many users may not be comfortable with the term of the license. The alternatives include 1. LevelDB (https://github.com/google/leveldb) with a go wrapper (https://github.com/jmhodges/levigo), 2. goleveldb (https://github.com/syndtr/goleveldb) - a porting of leveldb in golang 3. BoltDB (https://github.com/boltdb/bolt) BoltDB is suitable for read heavy workloads (e.g., LDAP) but has a relatively poor performance for read-write workloads. Of the other two options, goleveldb is chosen because it is implemented in golang and hence easy to intergate and maintain. In addition, as a precedent, ethereum go implementation also uses this package https://github.com/ethereum/go-ethereum/blob/master/ethdb/database.go Change-Id: Ia4fb5a6f9299e613d03d8b414a51bf479bfafd59 Signed-off-by: manish <[email protected]>
- Loading branch information
1 parent
8c9dcc9
commit 27088ac
Showing
61 changed files
with
14,347 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.