- 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.
- 國際大學生程序設計競賽中山大學內部選拔真題解(二)
- Arduino by Example
- R語言數據可視化實戰
- R的極客理想:工具篇
- Data Analysis with Stata
- SQL Server 2016數據庫應用與開發
- 組態軟件技術與應用
- 深入理解Elasticsearch(原書第3版)
- Unity 3D腳本編程:使用C#語言開發跨平臺游戲
- Redmine Cookbook
- 劍指大數據:企業級電商數據倉庫項目實戰(精華版)
- C語言從入門到精通(第5版)
- jBPM6 Developer Guide
- Developing RESTful Web Services with Jersey 2.0
- ServiceDesk Plus 8.x Essentials