bolt
InfluxDB
bolt | InfluxDB | |
---|---|---|
23 | 33 | |
11,201 | 29,368 | |
- | 1.1% | |
0.0 | 9.6 | |
almost 7 years ago | 1 day ago | |
Go | Rust | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bolt
-
Bleve: How to build a rocket-fast search engine?
Bleve supports a few different index types, but I found after much fiddling that the "scorch" index type gives you the best performance. If you don't pass in the last 3 arguments, Bleve will just default to BoltDB.
-
Announcing jammdb: a simple single-file key/value store
This crate started out as just a way for me to learn how boltdb works, while learning Rust at the same time. But somehow people started finding and using it and seem to like the simple API, so I figured I might as well share it in case someone else finds it useful too. If you want to know more about my motivations and the history of this crate, you can read the release notes on version 0.8.0!
-
Polygon: Json Database System designed to run on small servers (as low as 16MB) and still be fast and flexible.
Some example of embeddable database could be genji, badger and boltdb
- Resource for making database from scratch
-
Ask HN: Books on designing disk-optimized data structures?
Designing Data Intensive applications- specifically chapter 3 and 4 which deal with strategies and algorithms for storing and encoding data to be stored on disk and their pros and cons.
Once you read that, I'll suggest reading the source of a simple embedded key-value database, I wouldn't bother with RDBMs as they are complex beasts and contain way more than you need. BoltDB is a good project to read the source of https://github.com/boltdb/bolt, the whole thing is <10k lines of code and is a full blown production grade system with ACID semantics so packs a lot in those 10k and isn't just merely a toy.
-
GitHub examples of Go that's written really well?
Bolt db and Bolt db's author post to go with it.
-
Open Source Databases in Go
https://github.com/boltdb/bolt is a ACID B+ tree key-value store
- A Database for 2022
-
Single Dependency Stacks
For a single server, SQLite, or boltdb[0]
I've never had to scale horizontally. I develop in Go and you can get very far along with just vertical scaling (aka beefier hardware).
Therefore I can't give concrete examples of a distributed db-as-a-library.
But all that you need is to extend the functions that fetch data to not just fetch from disk but from "peers" as well. For this to work you need servers (instances) to know about each other, and as you add more they also get added to their peers - sort of like a bittorrent network. I don't think it's difficult to do.
SQLite might not be suited for being distributed (although RQlite[1] claims to have done it).
Making a distributed data storage based on boltdb[0] is probably more feasible.
Whatever the case, there's no reason why a data storage engine can't be a library, even if it's distributed.
[0]: https://github.com/boltdb/bolt
[1]: https://github.com/rqlite/rqlite
- How can I batch events in second intervals?
InfluxDB
-
Development Environment Configuration
Time Series: Greptime, Influx, Loki, Mimir, Prometheus, Tempo, Victoria Metrics
-
InfluxDB: Optimize your Data with Data Retention Policies and Continuous Queries
One big caveat: As you see, the tag host is transformed to a number format, not a string. Astonishingly, there is no way in InfluxDB to change the tag values with a select INTO values, as documented in this issue from 2015, or a way to rename tags of existing data as discussed in this issue. The workarounds are to use a client software or to use the Flux language, but both is outside the scope of this article.
-
Automatically Generate REST and GraphQL APIs From Your Database
InfluxDB
- Golang REST API boilerplate
-
Data for World Map Panel Plugin in Grafana from MySQL
“JOIN is no longer a concept in 0.9. Series sharing a measurement can be queried together simply by omitting the differentiating tags from the WHERE clause.” Link: https://github.com/influxdata/influxdb/issues/624
-
Quant Research of the Week (5th Edition)
Scalable Realtime Datastore: The piece examines a scalable datastore specifically created for metrics events and real-time analytics. (2013-09-26, shares: 26787.0)
- InfluxDB is an open source time series database written in Rust
-
InfluxDB CTO: Why We Moved from Go to Rust
How does one upgrade from v2 beta to the latest v2? The docs for doing that seem to no longer exist https://github.com/influxdata/influxdb/issues/24393
- InfluxDB 3 is out, OSS commits have been tried up - is this the end?
-
InfluxDB dashboard column order
Here is the GitHub issue for sorting/specifying column order: https://github.com/influxdata/influxdb/issues/15957
What are some alternatives?
dbr - Additions to Go's database/sql for super fast performance and convenience.
VictoriaMetrics - VictoriaMetrics: fast, cost-effective monitoring solution and time series database
badger - Fast key-value DB in Go.
Graphite - A highly scalable real-time graphing system
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
TDengine - High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
bbolt - An embedded key/value database for Go.
Squirrel - Fluent SQL generation for golang
goleveldb - LevelDB key/value database in Go.
prometheus - The Prometheus monitoring system and time series database.
SQLite - Official Git mirror of the SQLite source tree
RRDtool - RRDtool 1.x - Round Robin Database