- Web Development with MongoDB and Node(Third Edition)
- Bruno Joseph D'mello Mithun Satheesh Jason Krol
- 253字
- 2021-07-08 10:32:37
When to use Node.js
You may have heard of this proverb by an american psychologist, Abraham Maslow:
This makes a lot of sense in this context. Node.js is not a technology to depend for on all the application problems that you intend to solve, and if not chosen wisely, the decision to use it will backfire. Node.js is well suited for applications that are expected to handle a huge amount of concurrent connections. Also, it should be noted, it is most suited for applications where each incoming request requires very few CPU cycles. This means that if you intend to do computation-intensive tasks upon request, it will end up blocking the event loop, thereby impacting other requests concurrently processed by the web server. Node.js is well suited for real-time web applications, such as chat rooms, collaboration tools, online games, and so on. So, when deciding whether or not to use Node.js, we should analyze the application context seriously and figure out whether Node.js really suits the context of the application.
As we have briefly gone through the concept and features of Node.js, now let's look into the NoSQL and MongoDB side.
- Python數據分析入門與實戰
- Android開發精要
- Python語言程序設計
- OpenStack Cloud Computing Cookbook(Fourth Edition)
- 大學計算機基礎(第2版)(微課版)
- Ext JS 4 Web Application Development Cookbook
- Android系統級深入開發
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- Learning Apache Karaf
- 一本書講透Java線程:原理與實踐
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- 詳解MATLAB圖形繪制技術
- ArcGIS for Desktop Cookbook
- 編寫高質量代碼:改善Objective-C程序的61個建議
- uni-app跨平臺開發與應用從入門到實踐