Comments (2)
Matt, I agree, those stats are very valuable. However, it's quite possible that a node has more than one backend (via the fun of the multi backend), and it would be great for each of the "real" backends to report separate stats.
Also, the multi backend allows you to use the same "real" backend several times. It's slightly crazy, but the likeliest case for doing this is to allow a sysadmin to force bucket B1 to use the Bitcask backend that uses /path/to/B1 and bucket B2 uses the Bitcask backend that uses /some/other/way/to/B2 in order to use different file systems for the two storage areas. But because you could use Bitcask in both cases, using "bitcask" in the name of the exposed statistic should not be done.
The name that should (?) be exposed is the multi backend's description of the "real" backend, for example:
{multi_backend_default, be_default},
{multi_backend, [
% format: {name, module, [Configs]}
{be_default, riak_kv_eleveldb_backend, [
{max_open_files, 50},
{data_root, "/path/to/leveldb"}
]},
{be_special_stuff, riak_kv_bitcask_backend, [
{data_root, "/another/path/to/bitcask"}
]}
]},
... so then the names "be_default" and "be_special_stuff" would appear in the exposed stat names? IIRC passing those names down to the "real" backends will require a small amount of extra code.
from riak_kv.
This is important stuff, I agree, but I don't see it getting better (there is already some support for this in leveldb) for the next few releases. Marked as a feature request, closing.
from riak_kv.
Related Issues (20)
- Equal not dominates and Merge
- Differences between APIs - GET before PUT HOT 4
- Conditional PUTs - PB vs HTTP API HOT 2
- Handoff and Delete HOT 1
- Repository has no license HOT 1
- Replication reference with node_confirms HOT 1
- Reaper and eraser - overloading mailboxes
- benchmark tool for Riak KV HOT 23
- Pruned clocks and failure of full-sync replication HOT 2
- Two vnodes in the same preflist with the same vnode_id - amnesia chaos
- Dynamic changing of snk workers leads to unpredictable behaviour
- Deletion and full_sync
- Peer discovery and unavailable host
- Repare and Eraser do not distribute when using change_method = local
- Tictac AAE object_stats shows various statistics over a period of time. HOT 17
- Tidying Tictac Ecosystem for non-users HOT 2
- Porting Riak TS to OTP 26 (it applies to Riak KV also)
- Invalid JSON when trying to create a bucket type with custom properties HOT 6
- Interest in replacing Hyper HOT 3
- Riak_kv K8s memory consumption HOT 26
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 riak_kv.