minio/internal
Klaus Post 2b5e4b853c
Improve caching (#19130)
* Remove lock for cached operations.
* Rename "Relax" to `ReturnLastGood`.
* Add `CacheError` to allow caching values even on errors.
* Add NoWait that will return current value with async fetching if within 2xTTL.
* Make benchmark somewhat representative.

```
Before: BenchmarkCache-12       16408370                63.12 ns/op            0 B/op
After:  BenchmarkCache-12       428282187                2.789 ns/op           0 B/op
```

* Remove `storageRESTClient.scanning`. Nonsensical - RPC clients will not have any idea about scanning.
* Always fetch remote diskinfo metrics and cache them. Seems most calls are requesting metrics.
* Do async fetching of usage caches.
2024-02-26 10:49:19 -08:00
..
amztime add codespell action (#18818) 2024-01-17 23:03:17 -08:00
arn Allow OpenID ARN resource ID to start with a - (#18255) 2023-10-16 13:50:51 -07:00
auth FIx unexpected behavior when creating service account (#19036) 2024-02-13 02:31:43 -08:00
bpool Add cgroup v2 support for memory limit (#18905) 2024-01-30 11:13:27 -08:00
bucket use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
cachevalue Improve caching (#19130) 2024-02-26 10:49:19 -08:00
color log: Do not interpret verbs in object names in console output (#16233) 2022-12-13 08:27:40 -08:00
config use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
crypto use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
deadlineconn add deadlineConnections on remoteTransport (#16010) 2022-11-05 11:09:21 -07:00
disk fix: linter errors in Windows specific code (#18276) 2023-10-18 11:08:15 -07:00
dsync use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
etag add codespell action (#18818) 2024-01-17 23:03:17 -08:00
event simplify broker healthcheck by following kafka guidelines (#19082) 2024-02-20 00:16:35 -08:00
fips disable builds for go1.18 (#16332) 2022-12-30 11:37:07 -08:00
grid Add array recycling safety (#19103) 2024-02-21 12:27:35 -08:00
handlers send proper IPv6 names avoid bracketing notation (#18699) 2023-12-21 16:56:55 -08:00
hash add codespell action (#18818) 2024-01-17 23:03:17 -08:00
http converge clusterRead health into cluster health (#19063) 2024-02-15 16:48:36 -08:00
init force all internal MinIO operations to be under UTC (#16009) 2022-11-04 16:44:38 -07:00
ioutil simplify deadlineWriter, re-use WithDeadline (#18948) 2024-02-02 03:02:31 -08:00
jwt allow JWT parsing on large session policy based tokens (#17167) 2023-05-09 00:53:08 -07:00
kms Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
lock fix: linter errors in Windows specific code (#18276) 2023-10-18 11:08:15 -07:00
logger use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
lsync cleanup Go linter settings (#16736) 2023-03-04 20:57:35 -08:00
mcontext Add X-Amz-Request-Id to internode calls (#16146) 2022-12-06 09:27:26 -08:00
mountinfo add codespell action (#18818) 2024-01-17 23:03:17 -08:00
net fix: return error when requested interface has no stats available (#17666) 2023-07-17 01:14:01 -07:00
once Support persistent queue store for loggers (#17121) 2023-05-08 21:20:31 -07:00
pubsub Fix tracing send on closed channel (#18982) 2024-02-06 08:57:30 -08:00
rest log: Add logger.Event to send to console and other logger targets (#19060) 2024-02-15 15:13:30 -08:00
s3select use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
store avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00