excess_flow
High precision redis based rate limiter
파일 탐색기
- config.yml
- console
- setup
- configuration.rb
- configuration_error.rb
- constants.rb
- failed_execution.rb
- fixed_window_strategy.rb
- global_mutex.rb
- rate_limited_execution_result.rb
- redis_connection.rb
- sliding_window_strategy.rb
- strategy.rb
- throttle_configuration.rb
- throttled_executor.rb
- excess_flow.rb
- fixed_window_strategy_spec.rb
- global_mutex_spec.rb
- rate_limited_execution_result_spec.rb
- sliding_window_strategy_spec.rb
- strategy_spec.rb
- throttle_configuration_spec.rb
- throttled_executor_spec.rb
- window_strategy_spec.rb
- excess_flow_spec.rb
- spec_helper.rb
- .gitignore
- .rspec
- .rubocop.yml
- .travis.yml
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- excess_flow.gemspec
- Gemfile
- Gemfile.lock
- LICENSE.txt
- Rakefile
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
bundle
설명 보기 ▼
bundle
Ruby 프로그래밍 언어의 종속성 관리자.
더 많은 정보: <https://bundler.io/man/bundle.1.html>.
bundle install
작업 디렉토리에 있는 `Gemfile`에 정의된 모든 gem을 설치:
bundle exec {{command}} {{arguments}}
현재 번들의 컨텍스트에서 명령을 실행:
bundle update
`Gemfile` 에 정의된 규칙에 따라 모든 gem을 업데이트 하고 `Gemfile.lock`을 재생성:
gem
설명 보기 ▼
gem
Ruby 프로그래밍 언어용 패키지 관리자.
더 많은 정보: <https://guides.rubygems.org/command-reference/>.
gem search {{regex}} {{[-a|--all]}}
원격 gem을 검색하고 사용 가능한 모든 버전을 표시:
gem install {{gem_name}}
최신 버전의 gem을 설치:
gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}
특정 버전의 gem을 설치:
rspec
설명 보기 ▼
rspec
Ruby 코드를 테스트하기 위한 Ruby로 작성된 행동 주도 개발 테스트 프레임워크.
더 많은 정보: <https://rspec.info/features/3-13/rspec-core/command-line/>.
rspec --init
`.rspec` 구성 파일과 spec 헬퍼 파일 초기화:
rspec
모든 테스트 실행:
rspec {{path/to/directory}}
특정 디렉터리의 테스트 실행:
