https://github.com/sysulq/architecture-best-practice
Best practice from the ground up.
https://github.com/sysulq/architecture-best-practice
Last synced: 5 months ago
JSON representation
Best practice from the ground up.
- Host: GitHub
- URL: https://github.com/sysulq/architecture-best-practice
- Owner: sysulq
- License: mit
- Created: 2018-10-31T04:23:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T04:46:16.000Z (over 7 years ago)
- Last Synced: 2025-02-13T04:47:23.949Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# architecture-best-practice
Best practice from the ground up.
## 技术选型
* 前端:vue,elem,nodejs(页面渲染)
* 接口层:golang,protobuf,http,grpc
* 服务层:golang,protobuf,grpc
* 推送层:golang,websocket,grpc
* 数据层:mysql,redis,nsq
## 系统工具
* 版本控制:gitlab
* 代码发布:自研或基于go-pub改进
* 业务监控:prometheus
* 告警管理:prometheus alarm manager
* 配置管理:etcd,consul
## 接入架构
* lvs
* 外网nginx集群
* 内网nginx集群(支持http及grpc)
* 接口
* 服务
* 数据
基于外网nginx集群做域名级别监控,内网nginx集群做接口级别监控
## 接口定义
* protobuf:包括http与grpc
独立仓库统一管理protobuf,通过脚本实现包括规范检查,统一格式化及代码生成等
## 流程规范
* 需求分析
* 排期
* 定义接口protobuf
* 开发
* 联调
* 测试
* 上线(灰度或canary)