googleapis / googleapis/google-cloud-java

[java-storage] Allow bypassing OS page cache with TransferManager (O_DIRECT)

Open
#12,626 0 comments 0 reactions 0 assignees View on GitHub
api: storage
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
I need to download files from GCS without going through the OS page cache.

Downloading large files through the OS page cache causing performance problems for my application.

**Describe the solution you'd like**
I'd like to be able to use O_DIRECT to write directly to disk, ideally being able to use https://github.com/smacke/jaydio

**Describe alternatives you've considered**
None.

**Additional context**
None.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.