development:tps-qps
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
development:tps-qps [2024/08/21 07:45] – [Bài toán] tungnt | development:tps-qps [2024/08/21 07:50] (current) – [Bài toán] tungnt | ||
---|---|---|---|
Line 42: | Line 42: | ||
* QPS = CONCURENT/ | * QPS = CONCURENT/ | ||
* SV = QPS/60 = 92.5/60 ~ 2 (Cần 2 Server) | * SV = QPS/60 = 92.5/60 ~ 2 (Cần 2 Server) | ||
+ | |||
+ | **Để cải thiện QPS cần:** | ||
+ | * Tăng CONCURENT: Tăng luồng xử lý đồng thời (thread), mở rộng Backend,... | ||
+ | * Giảm RT: tối ưu giảm thời gian xử lý - sử dụng cache, tối ưu hoá CSDL, tối ưu hoá code, giảm response không cần thiết, đẩy nhanh tác vụ (sử dụng rabbitmq, kafka, |
development/tps-qps.1724226302.txt.gz · Last modified: 2024/08/21 07:45 by tungnt