1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 05:02:10 +02:00
tldr/pages.ko/common/redis-benchmark.md
코드싸이 fd7d9f925b
common/r*: add Korean translation (#14644)
* common/r*: add Korean translation

* Update rtv.md

* Update pages.ko/common/rtv.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-11-07 10:35:14 +09:00

32 lines
909 B
Markdown

# redis-benchmark
> Redis 서버의 성능을 테스트.
> 더 많은 정보: <https://redis.io/docs/latest/operate/oss_and_stack/management/optimization/benchmarks/>.
- 전체 벤치마크 실행:
`redis-benchmark`
- 특정 Redis 서버에서 벤치마크 실행:
`redis-benchmark -h {{호스트}} -p {{포트}} -a {{비밀번호}}`
- 기본 100000 요청으로 테스트의 일부 실행:
`redis-benchmark -h {{호스트}} -p {{포트}} -t {{set,lpush}} -n {{100000}}`
- 특정 스크립트로 실행:
`redis-benchmark -n {{100000}} script load "{{redis.call('set', 'foo', 'bar')}}"`
- 100000개의 [r]andom 키를 사용하여 벤치마크 실행:
`redis-benchmark -t {{set}} -r {{100000}}`
- 16개의 명령으로 [P]ipelining하여 벤치마크 실행:
`redis-benchmark -n {{1000000}} -t {{set,get}} -P {{16}}`
- [q]uietly 실행하여 초당 쿼리 결과만 표시:
`redis-benchmark -q`