Bolt is a pure Go key/value store inspired by Howard Chu's LMDB project. The goal of the project is to provide a simple, fast, and reliable database for projects that don't require a full database server such as Postgres or MySQL. Since Bolt is meant to be used as such a low-level piece of functionality, simplicity is key. The API will be small and only focus on getting values and setting values. That's it. Bolt is stable, the API is fixed, and the file format is fixed. Full unit test coverage and randomized black box testing are used to ensure database consistency and thread safety. Bolt is currently used in high-load production environments serving databases as large as 1TB. Many companies such as Shopify and Heroku use Bolt-backed services every day. Please note that Bolt obtains a file lock on the data file so multiple processes cannot open the same database at the same time.

Features

  • Bolt allows only one read-write transaction at a time but allows as many read-only transactions as you want at a time
  • Each transaction has a consistent view of the data as it existed when the transaction started
  • You can only retrieve buckets, retrieve values, and copy the database within a read-only transaction
  • Concurrent Batch calls are opportunistically combined into larger transactions
  • Bolt stores its keys in byte-sorted order within a bucket. This makes sequential iteration over these keys extremely fast
  • The cursor allows you to move to a specific point in the list of keys and move forward or backward through the keys one at a time

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow Bolt

Bolt Web Site

You Might Also Like
Full Control for Complex IT - Try PRTG Now Icon
Full Control for Complex IT - Try PRTG Now

Gain deeper insights and proactive alerts for your entire network. PRTG empowers you to optimize uptime and prevent costly outages.

As an IT monitoring expert, you need more than basic alerts - you need actionable data and full transparency. PRTG gives your team a single pane of glass for all systems, devices, and applications, with customizable dashboards and granular user management. Detect issues before they escalate, automate reporting, and ensure compliance with SLAs. PRTG’s scalable engine and advanced analytics help you optimize resources, reduce manual effort, and keep your organization running smoothly. Take control of your IT landscape and make smarter decisions with real-time, enterprise-grade monitoring.
Activate Your PRTG Trial Today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Bolt!

Additional Project Details

Operating Systems

Android, Apple iPhone, Linux, Windows

Programming Language

Go

Related Categories

Go Database Software

Registered

2021-05-18