Advantages: 1. Good performance, fast loading speed, the performance is quite 86 times times the PHP. 2. Rely on Chrome V8 Engine for Code Interpretation 3. Event-driven 4. Lightweight and efficient, real-time data interaction application 5.nodejs non-blocking IO brings high performance with low resource consumption and excellent load capacity 6. Is a cross-platform ecosystem, covering web development, mobile development, desktop development, through react Native and node ecosystems, developers can build a compatible web,ios,android application Cons: 1. Single-threaded, support only one-core CPU, once a process collapses, the entire server will crash 2.node is a relatively new open source project, not too stable, has been changing 3. Not available for compute-intensive applications 4. Insufficient third-party library support
node. JS Pros and cons