Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve file attribute caching #854

Closed
3 tasks done
steve-todorov opened this issue Oct 28, 2024 · 0 comments · Fixed by #855
Closed
3 tasks done

Improve file attribute caching #854

steve-todorov opened this issue Oct 28, 2024 · 0 comments · Fixed by #855
Labels
performance Performance improvements or problems

Comments

@steve-todorov
Copy link
Collaborator

Task Description

The current implementation of the file attribute caching is very basic and is still executing some REST API instead of hitting the cache. We need to improve this.

Tasks

The following tasks will need to be carried out:

  • Use Caffeine for caching instead of re-inventing the wheel.
  • Replace and improve the file attribute cache implementation.
  • Ensure a test validates the cache is being used and works as expected.

Task Relationships

This task:

  • Is a sub-task of: #
  • Depends on: #
  • Is a follow-up of: #
  • Relates to: #

Useful Links

Help

@steve-todorov steve-todorov added the performance Performance improvements or problems label Oct 28, 2024
steve-todorov added a commit that referenced this issue Oct 29, 2024
BREAKING CHANGE: `S3FileSystem#getCache()` method was removed
BREAKING CHANGE: `S3Path#setFileAttributes()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#getCache()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#setCache()` was removed.
steve-todorov added a commit that referenced this issue Oct 29, 2024
BREAKING CHANGE: `S3FileSystem#getCache()` method was removed
BREAKING CHANGE: `S3Path#setFileAttributes()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#getCache()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#setCache()` was removed.
steve-todorov added a commit that referenced this issue Nov 5, 2024
BREAKING CHANGE: `S3OutputStream` constructor signatures changed
steve-todorov added a commit that referenced this issue Nov 6, 2024
BREAKING CHANGE: `S3OutputStream` constructor signatures changed
steve-todorov added a commit that referenced this issue Nov 6, 2024
BREAKING CHANGE: `S3FileSystem#getCache()` method was removed
BREAKING CHANGE: `S3Path#setFileAttributes()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#getCache()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#setCache()` was removed.
steve-todorov added a commit that referenced this issue Nov 6, 2024
BREAKING CHANGE: `S3OutputStream` constructor signatures changed
steve-todorov added a commit that referenced this issue Nov 7, 2024
steve-todorov added a commit that referenced this issue Nov 7, 2024
steve-todorov added a commit that referenced this issue Nov 7, 2024
Set the default cache size to 30k
steve-todorov added a commit that referenced this issue Nov 21, 2024
BREAKING CHANGE: `S3FileSystem#getCache()` method was removed
BREAKING CHANGE: `S3Path#setFileAttributes()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#getCache()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#setCache()` was removed.
BREAKING CHANGE: `S3OutputStream` constructor signatures changed
steve-todorov added a commit that referenced this issue Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance improvements or problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant