deque-loader-derive

Crates.iodeque-loader-derive
lib.rsdeque-loader-derive
version0.1.0-beta.3
sourcesrc
created_at2021-07-31 01:43:14.833352
updated_at2021-07-31 01:43:14.833352
descriptionEfficient data loading via work stealing and thread local deques
homepage
repositoryhttps://github.com/Bajix/deque-loader-rs/
max_upload_size
id429492
size5,218
Thomas Sieverding (Bajix)

documentation

README

Channel Loader

License Cargo Documentation

A work-stealing data loader designed around optimal load batching and connection utilization. Rather than using yields to collect batches of loads as would other data loaders, loads are enqueued to thread local dequeus and task handlers are spawned to meet capacity. As field resolvers within the same request will already be scheduled, subsequent loads within the same request will be scheduled prior to the load task handler taking a task assignment and upon connection acquisition, all load requests will have been captured and loads by separate requests can be opportunistically batched together without introducing timeout overhead.

Commit count: 116

cargo fmt