Skip to content

Commit

Permalink
11
Browse files Browse the repository at this point in the history
  • Loading branch information
YiRanCN committed Mar 3, 2024
1 parent 579baad commit 3d73dcb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/study/back/API网关/APISIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ Apache APISIX 是一个动态、实时、高性能的云原生 API 网关,提
[官方文档](https://apisix.apache.org/zh/docs/apisix/getting-started/README/)

基于 [OpenResty](https://openresty.org/cn/)[etcd](https://etcd.io/)

### APISIX 所展现出的性能如何?

与其它 API 网关相比,Apache APISIX 提供了更好的性能,其单核 QPS 高达 18,000,平均延迟仅为 0.2 ms。

如果您想获取性能基准测试的具体结果,请查看 [benchmark](https://apisix.apache.org/zh/docs/apisix/benchmark/)
5 changes: 5 additions & 0 deletions docs/study/back/API网关/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# API 网关

### 参考

- [博客园-如何设计一个高性能网关](https://www.cnblogs.com/2YSP/p/14223892.html)
8 changes: 8 additions & 0 deletions docs/study/program/JAVA/JDK17-bin.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ JVM Process status tool:JVM 进程状态工具,查看进程基本信息

Java Stack Trace :Java 堆栈跟踪工具

可以生成 JVM 当前时刻的线程快照,生成线程快照的主要目的是定位线程出现长时间停顿的原因,如线程间死锁、死循环、请求外部资源导致的长时间等待等。

```shell
jstack -l {PID} > jstack-dump.log
```

然后 放到 [fastthread.io](https://fastthread.io/) 分析

### jstat

JVM statistics monitoring tool : JVM 统计监控工具,查看堆,GC 详细信息
Expand Down

0 comments on commit 3d73dcb

Please sign in to comment.