You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2023/12/11 13:05:55 UTC
(servicecomb-docs) branch porter created (now 0ea340f)
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a change to branch porter
in repository https://gitbox.apache.org/repos/asf/servicecomb-docs.git
at 0ea340f fix typo
This branch includes the following new commits:
new 0ea340f fix typo
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(servicecomb-docs) 01/01: fix typo
Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch porter
in repository https://gitbox.apache.org/repos/asf/servicecomb-docs.git
commit 0ea340f06211c93b9b4454f22dfde919a4b3afa3
Author: liubao <bi...@qq.com>
AuthorDate: Mon Dec 11 21:05:03 2023 +0800
fix typo
---
java-chassis-reference/zh_CN/docs/featured-topics/performance.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/java-chassis-reference/zh_CN/docs/featured-topics/performance.md b/java-chassis-reference/zh_CN/docs/featured-topics/performance.md
index 9dac41a..3aff681 100644
--- a/java-chassis-reference/zh_CN/docs/featured-topics/performance.md
+++ b/java-chassis-reference/zh_CN/docs/featured-topics/performance.md
@@ -90,9 +90,7 @@ servicecomb:
小于1ms的情况,进一步提升性能,需要考虑框架性能调优,还会涉及操作系统、网络等调优,比较复杂;大于1ms的情况,通常都需要
调优业务代码,框架不是性能瓶颈。
* 一个请求的平均时延在1ms~10ms之间,TPS可以达到1千~1万。
-* 一个请求的平均时延在100ms~100ms之间,TPS可以达到1百~1千。
+* 一个请求的平均时延在10ms~100ms之间,TPS可以达到1百~1千。
* 有个简单的公式,可以估算最大TPS: `CPU核数 * (1000/平均时延)` < TPS < `线程数 * (1000/平均时延)`。 越是计算密集型的
任务,TPS越接近`CPU核数 * (1000/平均时延)`;空闲等待任务越多,越是接近`线程数 * (1000/平均时延)`。 压测的时候,如果并发
请求大于上述估算值,那么就会出现大量请求超时。
-
-