-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Remove the thread pool from future::Cache
#294
Commits on Aug 1, 2023
-
Remove the thread pool from
future::Cache
- Add `async-trait` crate to `future` feature. - Duplicate the modules under `sync_base` to `future` and modified them to remove the thread pool (including to switch to an async-aware locks). - Add iterator API to `cht::SegmentedHashMap`. - Major API changes on `future::Cache`. See the `doc/migration-guide.md` for more details. - Change the delivery mode of the eviction listener of `future::Cache` from `Queued` to `Immediate`. - Update the unit and integration tests. - But unit tests in `future::base_cache` are disabled yet.
Configuration menu - View commit details
-
Copy full SHA for 3efd3aa - Browse repository at this point
Copy the full SHA 3efd3aaView commit details
Commits on Aug 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fcfa669 - Browse repository at this point
Copy the full SHA fcfa669View commit details -
Remove the thread pool from
future::Cache
Ensure that `future::Cache` will remove key-level locks after eviction notifications are delivered.
Configuration menu - View commit details
-
Copy full SHA for 656ea57 - Browse repository at this point
Copy the full SHA 656ea57View commit details -
Remove the thread pool from
future::Cache
- Remove `async-io` crate. - Refactor some internal methods.
Configuration menu - View commit details
-
Copy full SHA for 58176fd - Browse repository at this point
Copy the full SHA 58176fdView commit details -
Remove the thread pool from
future::Cache
- Bump the version to v0.12.0. - Move `flush` method from `future::ConcurrentCacheExt` trait to `future::Cache` struct.
Configuration menu - View commit details
-
Copy full SHA for 0d65e4b - Browse repository at this point
Copy the full SHA 0d65e4bView commit details -
Remove the thread pool from
future::Cache
Clean up dependencies and feature flags.
Configuration menu - View commit details
-
Copy full SHA for d637ecf - Browse repository at this point
Copy the full SHA d637ecfView commit details -
Remove the thread pool from
future::Cache
Clean up dependencies and feature flags.
Configuration menu - View commit details
-
Copy full SHA for a8fa8a0 - Browse repository at this point
Copy the full SHA a8fa8a0View commit details
Commits on Aug 7, 2023
-
Refactoring on
sync_base::base_cache::Inner::admit
The same refactoring as `future::base_cache::Inner::admit` is applied to `sync_base::base_cache::Inner::admit`.
Configuration menu - View commit details
-
Copy full SHA for 95b6f0b - Browse repository at this point
Copy the full SHA 95b6f0bView commit details -
Remove the thread pool from
future::Cache
- Add `beta.1` to the version. - Reenable a unit test.
Configuration menu - View commit details
-
Copy full SHA for ca59ce8 - Browse repository at this point
Copy the full SHA ca59ce8View commit details -
Remove the thread pool from
future::Cache
Update the integration tests for async runtimes.
Configuration menu - View commit details
-
Copy full SHA for 9e83dcc - Browse repository at this point
Copy the full SHA 9e83dccView commit details
Commits on Aug 8, 2023
-
Remove the thread pool from
future::Cache
- Make `future::Cache`'s internal `schedule_write_op` method to yield to the other async tasks when the write op channel is full. - Strengthen the orderings of a `compare_exchange` operation in Housekeeper to ensure that other thread can see the updated value immediately.
Configuration menu - View commit details
-
Copy full SHA for c86e675 - Browse repository at this point
Copy the full SHA c86e675View commit details
Commits on Aug 11, 2023
-
Remove the thread pool from
future::Cache
Update the migration guide.
Configuration menu - View commit details
-
Copy full SHA for 5f06064 - Browse repository at this point
Copy the full SHA 5f06064View commit details
Commits on Aug 19, 2023
-
Remove the thread pool from
future::Cache
- Rename `eviction_listener` method of `future::CacheBuilder` to `async_eviction_listener`. This method takes a closure that returns a `ListenerFuture`. - Add `eviction_listener` method. This method takes a closure that returns nothing. - Update the documentation.
Configuration menu - View commit details
-
Copy full SHA for ec396f2 - Browse repository at this point
Copy the full SHA ec396f2View commit details -
Solve a TODO comment in a private method of
base_cache::Inner
Replace `entry.last_modified().is_none()` with `entry.is_dirty()`.
Configuration menu - View commit details
-
Copy full SHA for f8c516a - Browse repository at this point
Copy the full SHA f8c516aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5368cc - Browse repository at this point
Copy the full SHA c5368ccView commit details
Commits on Aug 20, 2023
-
Remove the thread pool from
future::Cache
Update the change log, readme, and migration guide.
Configuration menu - View commit details
-
Copy full SHA for 13e3a08 - Browse repository at this point
Copy the full SHA 13e3a08View commit details -
Remove the thread pool from
future::Cache
- Rename `flush` method of `future::Cache` to `run_pending_tasks`. - Enable unit tests in `future::base_cache`.
Configuration menu - View commit details
-
Copy full SHA for 6e7e912 - Browse repository at this point
Copy the full SHA 6e7e912View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16b4f89 - Browse repository at this point
Copy the full SHA 16b4f89View commit details -
Remove the thread pool from
future::Cache
Try to make `run_pending_tasks` to be cancelling safe.
Configuration menu - View commit details
-
Copy full SHA for 4f8eff7 - Browse repository at this point
Copy the full SHA 4f8eff7View commit details -
Remove the thread pool from
future::Cache
Make `run_pending_tasks` to be cancelling safe.
Configuration menu - View commit details
-
Copy full SHA for 1c8e0eb - Browse repository at this point
Copy the full SHA 1c8e0ebView commit details
Commits on Aug 21, 2023
-
Update the minimum version of
futures-util
to v0.3.17`futures-util` v0.3.17 is the first version that supports `poll_immediate`.
Configuration menu - View commit details
-
Copy full SHA for 3b82416 - Browse repository at this point
Copy the full SHA 3b82416View commit details -
Remove the thread pool from
future::Cache
- Remove unsafe `Send` and incorrect `Sync` impls from internal `cht::iter::Iter`. - Update some code comments.
Configuration menu - View commit details
-
Copy full SHA for c024119 - Browse repository at this point
Copy the full SHA c024119View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5765faa - Browse repository at this point
Copy the full SHA 5765faaView commit details
Commits on Aug 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 460692e - Browse repository at this point
Copy the full SHA 460692eView commit details -
Remove the thread pool from
future::Cache
Tweak the migration guide.
Configuration menu - View commit details
-
Copy full SHA for a0c6c23 - Browse repository at this point
Copy the full SHA a0c6c23View commit details -
Allow
clippy::option_env_unwrap
clippy 0.1.73 (680cdf8168a 2023-08-21)
Configuration menu - View commit details
-
Copy full SHA for 9e35a47 - Browse repository at this point
Copy the full SHA 9e35a47View commit details