>[danger]Tips:數據問題十分重要,規范的數據管理是有必要的
1. 定期備份系統數據
2. 編寫插件,定期將數據儲存到安全的地方
>[success] ### 自動化流程思考
**建立系統的自動化機制**
>>[info] 日志自動化
```[flow]
start=>start: 日志生產
input=>inputoutput: 日志分層處理,上報日志處理系統
operation=>operation: 日志自動分析處理,生成解決方案
condition=>condition: 定時通知運維人員
output=>inputoutput: 更新bug、優化系統性能
error=>operation: 繼續通知
end=>end: 得到強勁、穩定的系統
start->input
input->operation
operation->condition
condition(yes,bottom)->output
condition(no)->error(top)
output->end
```
***
<br>
>>[info]**數據備份自動化**
```[flow]
start=>start: 定時自動備份數據
input=>inputoutput: 系統插件上傳儲存備份數據(騰訊cos)
operation=>operation: 儲存一定周期的數據,刪除舊周期數據(7天)
condition=>condition: 系統故障、數據損壞
output=>inputoutput: 讀取恢復數據,執行數據恢復
error=>operation: 繼續保持自動化
end=>end: 系統穩定正常運行
start->input
input->operation
operation->condition
condition(yes,bottom)->output
condition(no)->error(top)->input
output->end
```
<br>
***
>>[info]**數據分析自動化**
```[flow]
start=>start: 制定分析規則、分析目的、建模
input=>inputoutput: 獲取備份數據
operation=>operation: 輸入備份數據
condition=>condition: 自動化數據分析
output=>inputoutput: 分發不同分析報表(郵件給boss)
error=>operation: 周期循環讀取、分析數據、時刻關注數據市場狀態
end=>end: 市場戰略,有方向有目的開拓
start->input
input->operation
operation->condition
condition(yes,bottom)->output
condition(no)->error(top)->input
output->end
```
<br>
***
>>[info]**系統自身優化自動化**
·
- 序言
- 為什么要編碼規范?
- 如何進行編碼規范?
- 編碼規范宏觀微觀細節
- PHP編碼規范
- 基礎規范
- 1 語法規范
- 2 變量命名規范
- 3 常量命名規范
- 4 類命名規范
- 5 函數命名規范
- 6 方法命名規范
- PSR-規范
- 基本代碼規范
- Tp項目規范
- TP命名規范
- Tp目錄規范
- Tp基礎目錄構架
- Tp項目開發思考
- Tp控制器規范
- 控制器構架
- Tp模型規范
- 模型性能優化
- Tp業務規范
- 返回結構規范
- 業務異常規范
- Tp輸出規范
- Restful API
- 模板渲染輸出
- Tp異常規范
- 異常碼狀態碼
- 異常輸出方式
- Tp驗證規范
- Tp路由規范
- Tp加密規范
- Password Hashing
- Tp緩存規范
- 常見數據緩存
- 緩存設計思考
- Tp日志規范
- 日志信息
- 日志分析
- Tp日志接管分析
- Tp性能優化
- vendor包規范
- 項目自動化思考
- 項目檢測告警思考
- 項目注釋規范
- Mysql設計規范
- 序言
- 命名規范
- 表及字段規范
- 索引規范
- 索引原理
- Sql規范
- 事務規范
- 讀寫分離
- 樂觀鎖悲觀鎖
- 數據庫審計
- 性能優化
- 查詢優化神器
- 慢查詢優化步驟
- 分庫分表、分區表
- 根據sql日志篩選數據
- 設計原則
- MongoDB規范
- MongoDB基礎
- MongoDB設計
- MongoDB安全性
- MongoDB備份
- 操作手冊規范
- API文檔說明規范
- 管理端操作手冊
- 用戶使用說明書
- 溯源項目構想