High Performance
Badger is designed for high throughput and low latency, making it suitable for performance-intensive applications. Its LSM-based storage engine optimizes read and write operations.
Embeddable
Being an embeddable key-value database, Badger allows developers to integrate it directly into their applications without needing a separate database server setup.
Concurrent ACID Transactions
Badger supports ACID transactions with options for concurrent transactions, ensuring data integrity and consistency in multi-threaded applications.
Garbage Collection
It includes a garbage collection process to handle old data versions and reclaim disk space, contributing to efficient disk usage.
Horizontal Scalability
While primarily for single-node setups, Badger can be used in distributed systems to enhance scalability and performance.
We have collected here some useful links to help you find out if Badger is good.
Check the traffic stats of Badger on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of Badger on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of Badger's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of Badger on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about Badger on Reddit. This can help you find out how popualr the product is and what people think about it.
I' see that I'm also set to check out BadgerDB next. https://github.com/dgraph-io/badger. Source: over 2 years ago
Some example of embeddable database could be genji, badger and boltdb. Source: over 2 years ago
As I mentioned in a comment above you could probably just use AgageDb (Rust implementation of Badger which is a single file high performance KVP store. Turn off all of its built-in transactional behaviour and see how fast it runs on BTRFS using reflinks instead. Source: over 2 years ago
I use Badger a lot, it doesnโt do much but itโs fast. Source: almost 3 years ago
Very cool! In a similar vein Distributed Services with Go [0] works through SST creating a KV store. I found it helpful for working with BadgerDB [1]. [0] https://pragprog.com/titles/tjgo/distributed-services-with-go/ [1] https://github.com/dgraph-io/badger. - Source: Hacker News / about 3 years ago
Curious why you chose sqlite instead of something like [badger](https://github.com/dgraph-io/badger) given you expose it as a key value database, which badger is. - Source: Hacker News / about 3 years ago
Https://github.com/dgraph-io/badger is a LSM-based key-value store. Source: over 3 years ago
Use something like a redis server with a Go module or a disk based Key/Value database (badger possibly)? Source: over 3 years ago
Out of curiosity, why write https://github.com/cockroachdb/pebble and not just use https://github.com/dgraph-io/badger? - Source: Hacker News / over 3 years ago
While I never used dgraph, I do use badger and ristretto and am similarly in a bind over their long-term survival (moreso badger than ristretto)... Source: over 3 years ago
At the time we have selected it, we have compared it with BoltDB but that completely failed to fit the bill as it had abysmal write performance. I recall we've also compared it with BadgerDB, but at the time the latter was in its infancy so we had to rule it out.\ These days I'd recommend to give it a close look. Source: over 3 years ago
Hey all, just wondering what tips and tricks work for you guys when learning about a project and making contributions to it. Specially if the project has a few years of history and is fairly complex, something like BadgerDB. Source: over 3 years ago
BoltDB and Badger are the most popular options. If you don't want to use a third-party package you'll have to reinvent it. Still, you can use one of these two as examples. You'll also find plenty of tutorials online, like this one. Source: almost 4 years ago
Built in maps. Or something more fancy like redis or badger https://github.com/dgraph-io/badger. Source: almost 4 years ago
Iโm pretty sure Badger is cross platform. Itโs embedded, so I donโt see any reason why not. Source: about 4 years ago
FWIW, if you are looking for a KV store, I have used badger and badgerhold which adds some nice things (the search is nice). Source: about 4 years ago
But the reason I find Dgraph appealing more is cause the underlying store is Badger which is made using Golang and hence does come with its own set of advantages and performance gains. On top of this, Dgraph is not the only store which uses badger which makes it even more exciting to use. - Source: dev.to / about 4 years ago
We're using nats.io for event streaming and pub/sub. The sessions are aggregated in memory, then they go to Badger (https://github.com/dgraph-io/badger), and finally the daily aggregates are easily distributable and immutable JSON files. We're setting a session identifier to sessionStorage and those id's are wiped out once the session is processed and leaves the server memory. We worked together with a privacy... - Source: Hacker News / over 4 years ago
Badger is very fast K/V store. Many projects use badger including the tracing tool Jaeger. However, distribution would be something you'd have to build outside of Badger, as that is beyond its scope. (git repo: https://github.com/dgraph-io/badger). Source: over 4 years ago
A new Google Cloud user here. I need a very simple disk persistence storage for my Go app on App Engine. And so I plan to use badger. Source: over 4 years ago
Do you know an article comparing Badger to other products?
Suggest a link to a post with product alternatives.
Is Badger good? This is an informative page that will help you find out. Moreover, you can review and discuss Badger here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.