r/opensource • u/cmiles777 • 12m ago
Promotional Storage - Multi-driver storage for Go
Hello all,
Author of popular libraries https://github.com/goforj/godump and many others you can check out at the org.
I've been working on a storage library for Go for quite some time now that I can use across my projects. I wanted a solid storage primitive that was fast, ergonomic, thoroughly tested, and flexible enough that I wouldn't need to keep reaching for different libraries.
Repo https://github.com/goforj/storage
It currently supports local disk, memory, Redis, FTP, SFTP, S3, GCS, and Rclone through a consistent interface and implementations go through an interface. Rclone itself provides access to 70+ storage backends. Rclone uses the rclone library itself it does not shell out to the rclone binary.
I've focused on supporting the most popular storage backends natively and am happy to add more where there's genuine demand.
I've pushed multiple petabytes of data through this library in production. A lot of the development has been driven by large real-world workloads, with particular attention to reliability, throughput, memory allocations, and connection management.
The library is now at v0.10.0 and has gone through several iterations of API ergonomics refinement, performance optimization, and hardening.
It's a standalone library that can be used in any existing Go project.
If you enjoy it, please give it a star for support! Much appreciated.
Contributors / feedback welcome just drop an issue!