Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
leeyoshinari committed Jul 28, 2024
1 parent ec014bb commit c3115c6
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 1,601 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ It is a platform mainly used for performance testing, here are some simple featu
![](https://github.com/leeyoshinari/MyPlatform/blob/main/staticfiles/img/home.JPG)
14. Access permission management page, url: `http://ip:port/(prefix in config.conf)/admin`
15. For more information, please [click me](https://blog.ihuster.top).
51 changes: 1 addition & 50 deletions templates/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,6 @@
- 文件服务器:MinIO - 用于存储文件
- 性能测试工具:JMeter - 用于执行 JMeter 脚本

## 架构图
![](https://github.com/leeyoshinari/MyPlatform/blob/main/staticfiles/img/myPlarform.png)
如需满足较多用户使用,请部署集群;如需高可用,请自行部署keepalive。

#### 说明
**[collector-agent](https://github.com/leeyoshinari/collector_agent )**<br>
数据收集工具。所有agent的数据都会发给collector-agent,然后由collector-agent统一写InfluxDB/写redis。<br>
这样可以避免:如果每个agent单独连接数据库,可能会导致数据库连接不够用或者超过服务器允许的连接数。但也会有一个问题:如果agent太多,导致collector-agent不能及时写库,那就增大collector-agent的线程池大小,如果还不行,那就集群部署,增加集群节点。

**[monitor-agent](https://github.com/leeyoshinari/monitor_agent )**<br>
服务器资源监控工具。通过执行Linux命令实时采集服务器的 CPU、内存、磁盘、网络、TCP 等数据。

**[nginx-agent](https://github.com/leeyoshinari/nginx_agent )**<br>
nginx流量采集工具。通过实时处理nginx的访问日志(access.log),将接口的访问信息(访问时间、客户端IP、接口名称、请求方法、协议、状态码、响应体大小、响应时间)等存储到数据库。<br>

**[jmeter-agent](https://github.com/leeyoshinari/jmeter_agent )**<br>
性能测试执行工具。通过调用JMeter执行性能测试,支持分布式压测和全链路压测。

## 部署
1、克隆
```shell script
Expand Down Expand Up @@ -132,35 +114,4 @@ sh startup.sh

14、访问权限控制页面,url是 `http://ip:port/config.conf中的prefix/admin`

15、部署数据收集工具,[快点我](https://github.com/leeyoshinari/collector_agent)

16、部署服务器资源监控执行工具,[快点我](https://github.com/leeyoshinari/monitor_agent)

17、部署性能测试执行工具,[快点我](https://github.com/leeyoshinari/jmeter_agent)

18、部署Nginx流量采集工具,[快点我](https://github.com/leeyoshinari/nginx_agent)

## 注意
1、如需了解更多消息,[请点我](https://github.com/leeyoshinari/MyPlatform/blob/main/templates/course_zh.md) ,或者部署后查看教程。

2、由于本人只有一台云服务器,故未进行大规模集群验证和大规模分布式、全链路压测验证,仅验证集群功能和分布式压测功能。如您在使用中发现问题,欢迎反馈。

## Requirements
本地开发环境:
- python 3.9.10

第三方包的版本:
- aiohttp==3.7.4.post0
- aiohttp-jinja2==1.5
- channels==3.0.4
- daphne==3.0.2
- Django==4.0.1
- django-compressor==4.1
- influxdb==2.6.0
- Jinja2==3.0.3
- minio==7.1.3
- paramiko==2.10.3
- PyMySQL==1.0.2
- redis==4.1.1
- requests==2.27.1
- sqlparse==0.4.2
15、如需了解更多信息,请[点我](https://blog.ihuster.top)
373 changes: 0 additions & 373 deletions templates/course_en.html

This file was deleted.

Loading

0 comments on commit c3115c6

Please sign in to comment.