Comments (3)
Iām a big fan of Bolt (and Ben, for that matter). However, do you have
reasons other than a less painful deploy to switch?
RocksDB is mature, fast, tunable, and used in very large scale production
environments.
Bolt is still in beta.
Iām not familiar enough with kv to make an educated judgement of it. Is it
used heavily in production somewhere?
On Wed, Apr 23, 2014 at 5:42 AM, Jonas mg [email protected] wrote:
Instead of RocksDB, you could use a database built in Go (to a better
deploy):
- Bolt is a pure Go key/value store inspired by the LMDB project. Bolt
currently works on Mac OS and Linux. Windows support is coming soon.https://github.com/boltdb/bolt
https://godoc.org/github.com/boltdb/bolt
- Package kv implements a simple and easy to use persistent key/value
(KV) store:https://github.com/cznic/kv
http://godoc.org/github.com/cznic/kvā
Reply to this email directly or view it on GitHubhttps://github.com//issues/14
.
from cockroach.
Hey @kless thanks for your feedback.
At some point, it might make sense to allow plugging in different KV stores as the durability backends. Think about how Riak allows you to use bitcask vs leveldb vs rocksdb. In the riak case, you end up choosing between them based on the the characteristics of your key-space (e.g. sparse vs dense). Anyway, random aside.
As for rocks db, the fact that it's key-value (and shares that in common with bolt) is somewhat superficial. We're going to make much more heavy use of the fact that
- it's an LSM / SST store
- it supports efficient range scans
- it has a plug-able compactor (that scales well on multi-core machines).
- fine-grained control over file system flushing.
To answer this question in another way, bolt is actually too high-level for our needs (if we're hoping to implement this in an efficient way). E.g. storing things in a b-tree, providing ACID and MVCC at this level would introduce too much overhead in our lowest level layer (raw storage).
hope this makes sense.
from cockroach.
@strangemonad yeah, it makes sense. Thanks for for leave it so clear.
from cockroach.
Related Issues (20)
- admission: control snapshot ingest disk write bandwidth HOT 1
- storage: TestFS failed HOT 2
- pkg/sql/logictest/tests/cockroach-go-testserver-23.1/cockroach-go-testserver-23_1_test: TestLogic_mixed_version_procedure failed HOT 1
- pkg/sql/logictest/tests/cockroach-go-testserver-23.2/cockroach-go-testserver-23_2_test: TestLogic_mixed_version_sequence_per_node_cache failed HOT 1
- roachprod: account for cost of boot partition HOT 2
- pkg/sql/logictest/tests/cockroach-go-testserver-23.2/cockroach-go-testserver-23_2_test: TestLogic_mixed_version_bootstrap_tenant failed HOT 1
- roachtest: schemachange/mixed-versions failed [leases.desc_id column does not exist; issue with leasing migration] HOT 2
- ccl/backupccl: TestRestoreRetryProcErr failed
- kv/kvnemesis: TestKVNemesisSingleNode failed HOT 3
- roachtest: copyfrom/crdb-nonatomic/sf=1/nodes=1 failed HOT 1
- pkg/sql/logictest/tests/local-mixed-23.1/local-mixed-23_1_test: TestLogic_upsert_non_metamorphic failed HOT 2
- sql/rowexec: TestDrainingProcessorSwallowsUncertaintyError failed HOT 1
- ccl/changefeedccl: TestAlterChangefeedAddTargetsDuringBackfill failed HOT 5
- ccl/changefeedccl: TestChangefeedIdleness failed
- pkg/sql/logictest/tests/local-mixed-23.2/local-mixed-23_2_test: TestLogic_upsert_non_metamorphic failed HOT 2
- pkg/sql/logictest/tests/local-vec-off/local-vec-off_test: TestLogic_upsert_non_metamorphic failed HOT 1
- kvserver: RequestCancelled error during AdminSplit is reported as replica corruption
- roachprod: update & get latest no longer works HOT 2
- cli: word boundary navigation inconsistent with other applications
- changefeedccl: support range streaks in planning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cockroach.