MCPcopy Index your code
hub / github.com/BTrDB/btrdb-server

github.com/BTrDB/btrdb-server @v4.15.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.15.0 ↗ · + Follow
1,591 symbols 3,497 edges 62 files 200 documented · 13%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BTrDB

The Berkeley TRee DataBase is a high performance time series database designed to support high density data storage applications.

We are now doing binary and container releases with (mostly) standard semantic versioning. The only variation on this is that we will use odd-numbered minor version numbers to indicate and unstable/development release series. Therefore the meanings of the version numbers are: - Major: an increase in major version number indicates that there is no backwards compatibility with existing databases. To upgrade, we recommend using the migration tool. - Minor: minor versions are compatible on-disk, but may have an incompatible network API. Therefore while it is safe to upgrade to a new minor version number, you may need to upgrade other programs that connect to BTrDB too. Furthermore, odd-numbered minor version numbers should be considered unstable and for development use only, patch releases within an odd numbered minor version number may not be compatible with eachother. - Patch: patch releases on an odd numbered minor version number are not necessarily compatible with eachother in any way. Patch releases on an even minor version number are guaranteed to be compatible both in the disk format and in network API.

While using odd-numbered versions to indicate development releases is a somewhat archaic practice, it allows us to use our production release system for development, which reduces the odds that there is a discrepancy between the well-tested development binaries/containers and the subsequently released production version. Note that we will flag all development releases as "pre-release" on github.

The main distribution of BTrDB v4 is smartgridstore which is basically BTrDB packaged for deployment on Kubernetes, along with some (optional) utilities for working with synchrophasors. You can follow the installation guide on https://docs.smartgrid.store

If you are interested in deploying BTrDB, please file an issue on this repository so we can get an idea for what type of deployments we should focus on supporting. Smartgrid.store is focused on very large city or country-scale data aggregation from smart grid devices, but BTrDB can support other use cases.

Extension points exported contracts — how you extend this code

GRPCInterface (Interface)
(no doc) [3 implementers]
grpcinterface/serve.go
Datablock (Interface)
(no doc) [2 implementers]
internal/bstore/blocktypes.go
Segment (Interface)
(no doc) [2 implementers]
internal/bprovider/bprovider.go
Configuration (Interface)
(no doc) [2 implementers]
internal/configprovider/configprovider.go
StorageInterface (Interface)
(no doc) [1 implementers]
pqm.go
JournalIterator (Interface)
(no doc) [1 implementers]
internal/jprovider/jpinterface.go
TunableProvider (Interface)
(no doc) [1 implementers]
internal/rez/mercy.go
MProvider (Interface)
(no doc) [1 implementers]
internal/mprovider/metaprovider.go

Core symbols most depended-on inside this repo

Unlock
called by 75
internal/bprovider/bprovider.go
Get
called by 66
internal/rez/mercy.go
Error
called by 40
bte/errors.go
Code
called by 37
bte/errors.go
Release
called by 35
internal/rez/mercy.go
PointWidth
called by 28
qtree/qtree_utils.go
CreateStream
called by 26
internal/mprovider/metaprovider.go
Reason
called by 26
bte/errors.go

Shape

Method 1,202
Function 223
Struct 126
Interface 29
TypeAlias 11

Languages

Go100%

Modules by API surface

grpcinterface/btrdb.pb.go777 symbols
internal/configprovider/clustering.go43 symbols
internal/cephprovider/jprovider.go43 symbols
internal/cephprovider/cephprovider.go34 symbols
quasar.go33 symbols
qtree/qtree_utils.go33 symbols
internal/configprovider/etcd.go33 symbols
internal/configprovider/configprovider.go32 symbols
pqm.go31 symbols
internal/bstore/blocktypes.go30 symbols
internal/mprovider/metaprovider.go29 symbols
grpcinterface/serve.go27 symbols

For agents

$ claude mcp add btrdb-server \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact