github.com/ncw/directio
This is library for the Go language to enable use of Direct IO under all supported OSes of Go. Direct IO does IO to and from disk without buffering data in the OS. It is useful when you are reading or writing lots of data you don't want to fill the OS cache up with. Instead of using os.OpenFile use directio.OpenFile And when reading or writing blocks, make sure you do them in chunks of directio.BlockSize using memory allocated by directio.AlignedBlock
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 7 years ago
v1.0.5
almost 7 years ago
Versions
6
6
Dependent Packages
144
144
Dependent Repos
561
561
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/ncw/directio
spec |
| License | MIT |
| Namespace | github.com/ncw |
| First Release | over 12 years ago |
| Last Synced | 1 day ago |
Repository
| Stars | 278 on GitHub |
| Forks | 35 on GitHub |
| Docker Dependents | 241 |
| Docker Downloads | 1,432,995,281 |
Rankings on proxy.golang.org
Overall
Top 1.6%
Dependent packages
Top 0.4%
Dependent repos
Top 0.3%
Forks
Top 4.0%
Docker downloads
Top 0.1%