- 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.
- Instant Node Package Manager
- Java系統(tǒng)分析與架構(gòu)設(shè)計(jì)
- Java:Data Science Made Easy
- 老“碼”識(shí)途
- Java加密與解密的藝術(shù)
- Java EE 7 Development with NetBeans 8
- SQL基礎(chǔ)教程(視頻教學(xué)版)
- 基于Swift語(yǔ)言的iOS App 商業(yè)實(shí)戰(zhàn)教程
- SQL Server 2016數(shù)據(jù)庫(kù)應(yīng)用與開(kāi)發(fā)習(xí)題解答與上機(jī)指導(dǎo)
- 微信小程序入門(mén)指南
- 低代碼平臺(tái)開(kāi)發(fā)實(shí)踐:基于React
- 從零開(kāi)始學(xué)C#
- OpenMP核心技術(shù)指南
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- Python 3快速入門(mén)與實(shí)戰(zhàn)