You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, papaya and seize are configured to avoid tail latency spikes and prevent memory usage spikes caused by stalled threads. However, for short-lived applications (often CLIs), this is unnecessary. It might be helpful to add a easy way to configure for throughput without having to pull in the seize dependency. Something like HashMap::builder().prioritize_throughput().build(), which would set ResizeMode::Blocking and epoch_frequency(None). At the very least, the combination of these settings should be documented.
The text was updated successfully, but these errors were encountered:
By default,
papaya
andseize
are configured to avoid tail latency spikes and prevent memory usage spikes caused by stalled threads. However, for short-lived applications (often CLIs), this is unnecessary. It might be helpful to add a easy way to configure for throughput without having to pull in theseize
dependency. Something likeHashMap::builder().prioritize_throughput().build()
, which would setResizeMode::Blocking
andepoch_frequency(None)
. At the very least, the combination of these settings should be documented.The text was updated successfully, but these errors were encountered: