沪江基于node的实践

最后更新于:2022-04-02 05:31:50

## 前言 本文主要介绍沪江在node端大规模应用的实践分享,由其前端架构师戴亮分享,仅供学习参考。 ## 为 么要在Node端渲染 spa不足的地方: seo 首页白屏 入口页面托管在后端服务器 ## Aconite-定制于Koa的MVC框架 ![结构部分](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/308026f2e1c1d6248b406c6901f4f0bd_1976x1598.png) ![架构描述](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/17ac6528822a8fd67156bb8d4e83ae1f_2264x1750.png) ![中间件机制](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/1aa485b48433fffe167c44c1cce1c3ac_1142x1544.png) ![路由器机制](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/510032ad5e5301e44180067271fe05c9_2084x1282.png) ![渲染机制](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/e4bd818db441804c64c0cdd509a2e381_2380x1566.png) ![chunkmap](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/d6cafce23a82b06bd201c2033b567bdb_2052x1250.png) ## 发布、部署 ![不同环境](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/f184f4ee11265e4da3452bd43c3d2b3e_2254x1544.png) ![部署](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/b0245eafd62c4805ad0cc22252681bf3_2262x1832.png) ![集成与测试](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/d653403656c199b2f424539fa9455b5b_2098x1616.png) ## 线上监控 ### 意义 * 排查问题 * 服务监测 * 问题预警 * 分析数据 * 用户研究 ### 方式 * Metrics * zipkin * Log * ELK * ## 其他 ## 总结
';