{"id":13512083,"url":"https://github.com/aliyun-node/Node.js-Troubleshooting-Guide","last_synced_at":"2025-03-30T22:31:54.351Z","repository":{"id":44470627,"uuid":"177246606","full_name":"aliyun-node/Node.js-Troubleshooting-Guide","owner":"aliyun-node","description":"Node.js 应用线上/线下故障、压测问题和性能调优指南手册（一期更新结束）","archived":false,"fork":false,"pushed_at":"2019-06-17T11:32:04.000Z","size":85,"stargazers_count":1747,"open_issues_count":3,"forks_count":156,"subscribers_count":85,"default_branch":"master","last_synced_at":"2025-03-30T00:04:52.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aliyun-node.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-23T05:06:56.000Z","updated_at":"2025-03-25T08:56:59.000Z","dependencies_parsed_at":"2022-07-15T20:30:48.477Z","dependency_job_id":null,"html_url":"https://github.com/aliyun-node/Node.js-Troubleshooting-Guide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun-node%2FNode.js-Troubleshooting-Guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun-node%2FNode.js-Troubleshooting-Guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun-node%2FNode.js-Troubleshooting-Guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun-node%2FNode.js-Troubleshooting-Guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliyun-node","download_url":"https://codeload.github.com/aliyun-node/Node.js-Troubleshooting-Guide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390896,"owners_count":20769475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T03:01:28.598Z","updated_at":"2025-03-30T22:31:54.325Z","avatar_url":"https://github.com/aliyun-node.png","language":null,"readme":"# Node.js 应用故障排查手册\n\n本手册主要的目的是帮助广大的 Node.js 开发者应对开发和线上部署中遇到的问题：\n\n* 线上/线下应用出现故障时如何更快地定位问题\n* 应用部署前压测中遇到的性能不足问题调优\n\n## 目录\n\n* [序章：本书定位与大纲](0x00_序章.md)\n* 第一部分：预备篇 - 案发现场的蛛丝马迹\n  * \u003ca href=\"/0x01_%E9%A2%84%E5%A4%87%E7%AF%87_%E5%B8%B8%E8%A7%84%E6%8E%92%E6%9F%A5%E7%9A%84%E6%8C%87%E6%A0%87.md\"\u003e常规排查的指标\u003c/a\u003e\n  * \u003ca href=\"/0x02_%E9%A2%84%E5%A4%87%E7%AF%87_%E6%A0%B8%E5%BF%83%E8%BD%AC%E5%82%A8%EF%BC%88Core%20dump%EF%BC%89.md\"\u003e核心转储（Core dump）\u003c/a\u003e\n* 第二部分：工具篇 - 玩转排查利器\n  * \u003ca href=\"/0x03_%E5%B7%A5%E5%85%B7%E7%AF%87_%E6%AD%A3%E7%A1%AE%E6%89%93%E5%BC%80%20Chrome%20devtools.md\"\u003e正确打开 Chrome devtools\u003c/a\u003e\n  * \u003ca href=\"/0x04_%E5%B7%A5%E5%85%B7%E7%AF%87_Node.js%20%E6%80%A7%E8%83%BD%E5%B9%B3%E5%8F%B0%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97.md\"\u003eNode.js 性能平台使用指南\u003c/a\u003e\n* 第三部分：实践篇之一 - 专治疑难杂症\n  * \u003ca href=\"/0x05_%E5%AE%9E%E8%B7%B5%E7%AF%87_%E5%88%A9%E7%94%A8%20CPU%20%E5%88%86%E6%9E%90%E8%B0%83%E4%BC%98%E5%90%9E%E5%90%90%E9%87%8F.md\"\u003e利用 CPU 分析调优吞吐量\u003c/a\u003e\n  * \u003ca href=\"/0x07_%E5%AE%9E%E8%B7%B5%E7%AF%87_%E5%86%97%E4%BD%99%E9%85%8D%E7%BD%AE%E4%BC%A0%E9%80%92%E5%BC%95%E5%8F%91%E7%9A%84%E5%86%85%E5%AD%98%E6%BA%A2%E5%87%BA.md\"\u003e冗余配置传递引发的内存溢出\u003c/a\u003e\n  * \u003ca href=\"/0x08_%E5%AE%9E%E8%B7%B5%E7%AF%87_%E7%BB%BC%E5%90%88%E6%80%A7%20GC%20%E9%97%AE%E9%A2%98%E5%92%8C%E4%BC%98%E5%8C%96.md\"\u003e综合性 GC 问题和优化\u003c/a\u003e\n* 第四部分：实践篇之二 - 更极端的难题\n  * \u003ca href=\"/0x09_%E5%AE%9E%E8%B7%B5%E7%AF%87_%E7%B1%BB%E6%AD%BB%E5%BE%AA%E7%8E%AF%E5%AF%BC%E8%87%B4%E8%BF%9B%E7%A8%8B%E9%98%BB%E5%A1%9E.md\"\u003e类死循环导致进程阻塞\u003c/a\u003e\n  * \u003ca href=\"/0x10_%E5%AE%9E%E8%B7%B5%E7%AF%87_%E9%9B%AA%E5%B4%A9%E5%9E%8B%E5%86%85%E5%AD%98%E6%B3%84%E6%BC%8F%E9%97%AE%E9%A2%98.md\"\u003e雪崩型内存泄漏问题\u003c/a\u003e\n\n* 附录一：更多 Node.js 性能优化实践分享\n  * \u003ca href=\"/0x06_%E5%AE%9E%E8%B7%B5%E7%AF%87_Teambition%20%E5%90%8E%E7%AB%AF%E6%9C%8D%E5%8A%A1%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96%E6%80%BB%E7%BB%93.md\"\u003e后端服务性能优化总结\u003c/a\u003e（来自 Teambition）\n\n// TODO: 未完待续\n\n## 相关专栏\n\n本手册也会在云栖社区同步更新，我们的云栖社区 **Node.js 性能平台** 专栏有更多 Node.js 相关的技术分享，欢迎订阅，地址：https://yq.aliyun.com/teams/210\n\n知乎 Egg.js 核心团队运营的专栏也有许多 Egg.js/Node.js 各路大神的分享，欢迎关注，地址：https://zhuanlan.zhihu.com/eggjs\n\n## 贡献方式\n\n本手册目的是帮助 Node.js 开发者能更好地来应对开发过程中的各种问题，能更多的建立起使用 Node.js 踏足服务端领域的信心，也希望能让天下没有难用的 Node.js。我们非常欢迎大家有合适的案例和最佳实践来和大家一起分享。\n\n参与方法如下：\n\n* Fork 本仓库至你自己的 Github 仓库列表中\n* Clone 你 Fork 出来的仓库至本地开发\n* 添加你的案例或者最佳实践至合适的位置\n* 添加 README.md 中对应的描述，提交至你的远程仓库\n* 在 [PR](https://github.com/aliyun-node/Node.js-Troubleshooting-Guide/pulls) 页面选择 **New Pull Request**，继续选择 **compare across forks**，在列表中选中你的 Fork，然后创建新的 PR\n\n我们会在 Review 后选择合并至本仓库内，贡献者也会在 README.md 中的贡献者列表中展示。\n\n## 贡献列表\n\n以下贡献数据来自 `git summary`:\n\n* [hyj1991](https://github.com/hyj1991)  \u003csmall\u003e86.7%% ( 13 commits )\u003c/small\u003e\n* [richardwei195](https://github.com/richardwei195) \u003csmall\u003e6.7% ( 1 commits )\u003c/small\u003e\n* [Hui Hui](https://github.com/huihuimoe) \u003csmall\u003e6.7% ( 1 commits )\u003c/small\u003e\n\n## LICENSE\n\n本书采用 **保持署名—非商用** 创意共享 4.0 许可证。\n\n只要保持原作者署名和非商用，您可以自由地阅读、分享、修改本书。\n\n详细的法律条文请参见 [创意共享](https://creativecommons.org/licenses/by-nc/4.0/) 网站。\n\n","funding_links":[],"categories":["Others","目录","miscellaneous","NodeJS"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyun-node%2FNode.js-Troubleshooting-Guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliyun-node%2FNode.js-Troubleshooting-Guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyun-node%2FNode.js-Troubleshooting-Guide/lists"}