cloudflare / cloudflare/moq-rs

Consider use of ahash and parking_lot crates

Open
#113 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
166
Forks
59
Avg merge
18h 21m
Merged PRs (30d)
22

Description

At IETF 124 meeting, an individual recommended that we adopt the following crates:
- ahash - faster and more secure HashMap than Rusts standard HashMap, more info here: https://docs.rs/ahash/latest/ahash/
- parking_lot - faster and more flexible than built-in Rust Mutex, this effort includes a review of Mutex use and replace with RWLocks appropriately: more info here: https://docs.rs/parking_lot/latest/parking_lot/

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by auditing the repository's current HashMap and Mutex usage, then review the ahash and parking_lot documentation linked in the issue. Done means deciding whether to adopt either crate, identifying appropriate Mutex-to-RwLock changes, and documenting or implementing the resulting scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking, performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.