Nodejs群集模块
Nodejs群集模块
关于本书
喜欢Nodejs的程序员,面对Java等看起来特别成熟,在服务端久经考验的样子,难免会关心到Nodejs在服务器端的表现。本书对常用的Nodejs群集模块和使用工具做出使用解析,帮助增强对它的服务器端编程和运维的信心。
书籍目录
-
理解NodeJS群集模块
- 介绍集群模块
- A basic example
- Comunicating master and worker processes
- Conclusion
-
群集的 HTTP
- How cluster module works with network connections ?
- 群集模块负载平衡的其他替代方法
- 结论
- 广告
-
使用PM2管理群集
- 介绍PM2
- PM2方式
- 结论
-
使用PM2优雅关闭服务
- 启动HTTP服务器
- How to shutdown properly an HTTP server ?
- Graceful shutdown/restart with and without PM2
- Conclusions
- 打赏
Leanpub 无条件、无风险的 100% 保证满意
從付款之後的 60 天內,只要點個兩下,你就可以完成退書並且取回先前支付的全數金額。退書是採用人工作業,因此可能需要花幾天的時間才能完成整個程序。
See full terms.
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 million USDwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them