leaky-bucket
A token-based rate limiter based on the leaky bucket algorithm.
파일 탐색기
최종 버전 다운로드 (.zip)- ci.yml
- basic.rs
- block_forever.rs
- over_max.rs
- threaded.rs
- try_acquire.rs
- unfair_scheduling.rs
- lib.rs
- Cargo.toml
- lib.rs
- linked_list.rs
- issue5.rs
- limits.rs
- test_core_movements.rs
- test_drop.rs
- test_fast_path.rs
- test_idle.rs
- test_overflow.rs
- test_rate_limit_target.rs
- test_threaded.rs
- test_try_acquire.rs
- .gitignore
- Cargo.toml
- LICENSE-APACHE
- LICENSE-MIT
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/udoprog/leaky-bucket
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd leaky-bucket
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Rust
보통 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
> cargo run --example block_forever
빌드 후 바로 실행까지 진행합니다.
cargo run --example unfair_scheduling
빌드 후 바로 실행까지 진행합니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
