awesome-go-storage

awesome-go-storage

Go语言存储解决方案精选

此项目汇集了Go语言领域优秀的存储相关开源项目和库,涵盖存储服务器、键值存储、文件系统、数据库及其驱动等多个方面。列表中包含Minio、BadgerDB、Bolt、TiDB等知名项目,为开发者提供了丰富的存储解决方案选择。无论是分布式系统还是嵌入式应用,这里都有适合的存储工具。该精选列表可作为Go语言存储开发的重要参考资源。

Go语言存储项目数据库键值存储文件系统Github开源项目

Awesome Go Storage Awesome

A curated list of awesome Go storage projects and libraries. Inspired by awesome-go.

Contributing

Please take a quick gander at the contribution guidelines first. Thanks to all contributors; you rock!

If you see a package or project here that is no longer maintained or is not a good fit, please submit a pull request to improve this file. Thank you!

Contents

Storage Server

Storage Servers implemented in Go.

  • minio - Minio is an open source object storage server compatible with Amazon S3 APIs.
  • rclone - "rsync for cloud storage" - Google Drive, Amazon Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Cloudfile…
  • perkeep - Perkeep is your personal storage system for life: a way of storing, syncing, sharing, modelling and backing up content.
  • s3git - Git for Cloud Storage. Distributed Version Control for Data.
  • storj - Decentralized cloud object storage that is affordable, easy to use, private, and secure.
  • rook - Open, Cloud Native, and Universal Distributed Storage.
  • longhorn - Longhorn is an open source persistent block storage server delivered via containers.

Key-Value Store

Key-Value Store implemented in Go.

  • Bitcask - Bitcask is an embeddable, persistent and fast key-value (KV) database written in pure Go with predictable read/write performance, low latency and high throughput thanks to the bitcask on-disk layout (LSM+WAL).
  • Bitraft - Bitraft is a distributed raft-based key/value store with a Redis-compatible protocol. It uses Bitcask for high performance/throughout and low latency.
  • BadgerDB - BadgerDB is an embeddable, persistent, simple and fast key-value (KV) database written in pure Go. It's meant to be a performant alternative to non-Go-based key-value stores like RocksDB.
  • column - Embeddable, columnar, in-memory store with bitmap indexing, transaction and zero-alloc quering.
  • consul - Distributed consistent replicated key-value store for service discovery and configuration.
  • diskv - A disk-backed key-value store.
  • etcd - Distributed reliable key-value store for the most critical data of a distributed system.
  • go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
  • IceFireDB - Distributed disk storage database using the Raft and Redis protocols.
  • nutsdb - Nutsdb is a simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set.
  • pogreb - Embedded key-value store for read-heavy workloads.
  • rosedb - A fast, stable and embedded k-v database in pure Golang, supports string, list, hash, set, sorted set.
  • LotusDB - Fast k/v storage compatible with lsm tree and b+tree.

File System

File Systems implemented in Go.

  • afero - A FileSystem Abstraction System for Go
  • fsnotify - Cross-platform file system notifications for Go.
  • juicefs - A distributed POSIX file system built on top of Redis and S3.
  • gcsfuse - A user-space file system for interacting with Google Cloud Storage.
  • git-lfs - Git extension for versioning large files.
  • go-systemd - Go bindings to systemd socket activation, journal, D-Bus, and unit files.
  • goofys - A high-performance, POSIX-ish Amazon S3 file system written in Go.
  • minikeyvalue - A ~1000 line distributed key value store.
  • seaweedfs - SeaweedFS is a simple and highly scalable distributed file system for small files.
  • svfs - A virtual file system over Openstack Swift built upon fuse.

Database

Databases implemented in Go.

  • BigCache - Efficient key/value cache for gigabytes of data.
  • bolt - A low-level key/value database for Go. This original version by Ben Johnson has been marked as unmaintained and forked by etcd-io bbolt.
  • buntdb - A fast, embeddable, in-memory key/value database for Go with custom indexing and spatial support.
  • cache2go - An in-memory key:value cache which supports automatic invalidation based on timeouts.
  • clover - A lightweight document-oriented NoSQL database written in pure Golang.
  • cockroach - A Scalable, Geo-Replicated, Transactional Datastore
  • couchcache - A RESTful caching micro-service backed by Couchbase server.
  • CovenantSQL - A SQL Database with Blockchain features.
  • dgraph - Scalable, Distributed, Low Latency, High Throughput Graph Database.
  • diskv - A home-grown disk-backed key-value store.
  • dolt - A MySQL-compatible database with Git-style version control. The first SQL database you can branch and merge.
  • eliasdb - Dependency-free, transactional graph database with REST API, phrase search and SQL-like query language.
  • emitter - Scalable, low-latency, distributed & secure pub/sub database with time-series message storage, suitable for IoT, gaming, apps and real-time web.
  • forestdb - Go bindings for ForestDB.
  • frostdb - Embeddable column database written in Go.
  • GCache - Cache library with support for expirable Cache, LFU, LRU and ARC.
  • geocache - An in-memory cache that is suitable for geolocation based applications.
  • go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
  • godis - A Golang implemented high-performance Redis server and cluster
  • goleveldb - An implementation of the LevelDB key/value database in the Go.
  • groupcache - Groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
  • immudb - Database with built-in cryptographic proof and verification. Can operate as a key-value store or as relational database (SQL).
  • influxdb - Scalable datastore for metrics, events, and real-time analytics
  • ledisdb - Ledisdb is a high performance NoSQL like Redis based on LevelDB.
  • levigo - Levigo is a Go wrapper for LevelDB.
  • moss - Moss is a simple LSM key-value storage engine written in 100% Go.
  • noms - The versioned, forkable, syncable database.
  • objectbox-go - Embedded Object Database (NoSQL) with Go API.
  • piladb - Lightweight RESTful database engine based on stack data structures.
  • pREST - Serve a RESTful API from any PostgreSQL database.
  • prometheus - Monitoring system and time series database.
  • rqlite - The lightweight, distributed, relational database built on SQLite.
  • scribble - A tiny flat file JSON store.
  • SpiceDB - A Zanzibar-inspired database that stores, computes, and validates application permissions with support for multiple database backends.
  • tidb - TiDB is a distributed SQL database. Inspired by the design of Google F1.
  • tiedot - Your NoSQL database powered by Golang.
  • Tile38 - A geolocation DB with spatial index and realtime geofencing.

Database schema migration.

  • darwin - Database schema evolution library for Go
  • goose - Database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts.
  • gormigrate - Database schema migration helper for Gorm ORM.
  • migrate - Database migration handling in Golang support MySQL, PostgreSQL, Cassandra, and SQLite.
  • pravasan - Simple Migration tool - currently for MySQL but planning to support soon for Postgres, SQLite, MongoDB, etc.,
  • soda - Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.
  • sql-migrate - Database migration tool. Allows embedding migrations into the application using go-bindata.

Database tools.

  • go-mysql - A go toolset to handle MySQL protocol and replication.
  • go-mysql-elasticsearch - Sync your MySQL data into Elasticsearch automatically.
  • kingshard - kingshard is a high performance proxy for MySQL powered by Golang.
  • myreplication - MySql binary log replication listener. Support statement and row based replication.
  • orchestrator - MySQL replication topology manager & visualizer
  • pgweb - A web-based PostgreSQL database browser
  • vitess - vitess provides servers and tools which facilitate scaling of MySQL databases for large scale web services.
  • usql - universal command-line interface for SQL databases

SQL query builder, libraries for building and using SQL.

  • buildsqlx - Go Database query builder library
  • dat - Go Postgres Data Access Toolkit
  • Dotsql - Go library that helps you keep sql files in one place and use it with ease.
  • goqu - An idiomatic SQL builder and query library.
  • grimoire - Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).
  • igor - Abstraction layer for PostgreSQL that supports advanced functionality and uses gorm-like syntax.
  • ozzo-dbx - Powerful data retrieval methods as well as DB-agnostic query building capabilities.
  • SQLBoiler - a tool to generate a Go ORM tailored to your database schema. It is a "database-first" ORM as opposed to "code-first", and you must first create your database.
  • sqrl - SQL query builder, fork of Squirrel with improved performance.
  • Squirrel - Go library that helps you build SQL queries.
  • xo - Generate idiomatic Go code for databases based on existing schema definitions or custom queries supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server.

Database Drivers

Libraries for connecting and operating databases.

  • Relational Databases

    • bgc - Datastore Connectivity for BigQuery for go.
    • firebirdsql - Firebird RDBMS SQL driver for Go
    • go-adodb - Microsoft ActiveX Object DataBase driver for go that using database/sql.
    • go-bqstreamer - BigQuery fast and concurrent stream insert.
    • go-mssqldb - Microsoft MSSQL driver in go language.
    • go-oci8 - Oracle driver for go that using database/sql.
    • go-sql-driver/mysql - MySQL driver for Go.
    • go-sqlite3 - SQLite3 driver for go that using database/sql.
    • gofreetds Microsoft MSSQL driver. Go wrapper over FreeTDS.
    • pgx - PostgreSQL driver supporting features beyond those exposed by database/sql.
    • pq - Pure Go Postgres driver for database/sql.
  • NoSQL Databases

    • aerospike-client-go - Aerospike client in Go language.
    • arangolite - Lightweight golang driver for ArangoDB.
    • asc - Datastore Connectivity for Aerospike for go.
    • cayley - A graph database with support for multiple backends.
    • dsc - Datastore connectivity for SQL, NoSQL, structured files.

编辑推荐精选

Trae

Trae

字节跳动发布的AI编程神器IDE

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
问小白

问小白

全能AI智能助手,随时解答生活与工作的多样问题

问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。

热门AI助手AI对话AI工具聊天机器人
Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

AI办公办公工具AI工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图热门
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

热门AI开发模型训练AI工具讯飞星火大模型智能问答内容创作多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
材料星

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

openai-agents-python

openai-agents-python

OpenAI Agents SDK,助力开发者便捷使用 OpenAI 相关功能。

openai-agents-python 是 OpenAI 推出的一款强大 Python SDK,它为开发者提供了与 OpenAI 模型交互的高效工具,支持工具调用、结果处理、追踪等功能,涵盖多种应用场景,如研究助手、财务研究等,能显著提升开发效率,让开发者更轻松地利用 OpenAI 的技术优势。

下拉加载更多