# sentinel-one **Repository Path**: johnyucn525/sentinel-one ## Basic Information - **Project Name**: sentinel-one - **Description**: 从头展示sentinel的原理及使用过程 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-08-08 - **Last Updated**: 2024-01-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 完整的Sentinel 的使用过程 ## V1.0: 使用硬编码方案 ## V2.0 利用Spring AOP 机制对业务方法生成:流量被控代理 ## V3.0 加入sentinel-transport-simple-http,并启动sentinel-dashboard ```shell java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=sentinel-dashboard -jar sentinel-dashboard-1.8.6.jar ``` 启动时加入虚机参数: ```shell -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=sen-service -Dserver.port=3000 ``` ## V4.0 使用配置中心,配置规则,并下发 sentinel-base-flow.json: ```json [ { "resource": "work", "limitApp": "default", "grade": 1, "count": 1, "strategy": 0, "controlBehavior": 0, "clusterMode": false } ] ```