Skip to content

Default cache type #553

Description

@martindurant

When this repo was originally written, "bytes" was the only in-memory cache type available, and so has been the default. s3fs switched to "readahead" some time ago, as it often has better performance, particularly for sequential reading (e.g., pd.read_csv).

Recently, gcsfs has acquired a "prefetcher" mechanism, which can dramatically improve throughput. It can in theory work with any cache type, but is best suited to readahead. It isn't certain yet how exactly prefetcher will be surfaced for use in other backends (it might yet become its own cache type), but this seems like a good time to reconsider the default cache type for adlfs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions