A high-performance embedded Go database with an intuitive API, designed as a fast alternative to SQLite and GORM.
ObjectBox Go is an embedded database library for Go that provides fast and resource-efficient object persistence. It allows developers to store native Go structs using a simple CRUD API, solving the need for a performant and easy-to-use database in Go applications, especially on restricted devices.
Go developers building applications for IoT gateways, microcontrollers, mobile apps, or any environment where performance and resource efficiency are critical.
Developers choose ObjectBox Go for its high performance, intuitive API, and low resource consumption, making it a faster and more efficient alternative to SQLite and GORM for embedded and resource-constrained scenarios.
Embedded Go Database, the fast alternative to SQLite, gorm, etc.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Optimized for high performance on restricted devices with minimal CPU and memory usage, as demonstrated in benchmarks vs SQLite and GORM cited in the README.
Uses native Go structs with an intuitive CRUD interface, eliminating complex ORM mapping, as shown in the example code for putting a Person object.
Handles schema updates automatically without manual scripts, reducing developer overhead, as highlighted in the key features.
Runs on multiple platforms including Linux, Windows, Android, iOS, and macOS, making it suitable for diverse application types from IoT to mobile.
Requires running an external shell script and managing native libraries (e.g., libobjectbox.so), which complicates setup and deployment compared to pure-Go databases.
Necessitates a code generation step (go generate) for each entity, adding complexity to the build process and requiring generated files to be version controlled, as noted in the getting started section.
As a niche embedded database, it has a smaller community and fewer third-party integrations or monitoring tools compared to established options like SQLite.
Migrating away from ObjectBox could be challenging due to its unique API and data format, especially if leveraging proprietary extensions like Sync or TS.
objectbox-go is an open-source alternative to the following products: