Event loops are node.js' mechanism for handling non-blocking I/O operations -- even though JavaScript is single-threaded -- and they move operations to the system kernel...
Visit the address for a better reading experience. Nodejs has been developing at Ant and Ali for four or five years, from "front-end engineer's toy"...
Allows us to download third-party written packages from the NPM server for local use. Allows us to download and install third-party command-line programs from the...
Nuggets is a community that helps developers grow. It's Hacker News for developers, Designer News for designers, and Medium for product managers. The technical articles...
String processing will basically use regular expression, with it to do string matching, extraction, replacement and so on very convenient. However, regular expression learning is...
Meituan's container cluster management platform is called HULK. Marvel's HULK turns into the HULK when he's angry. This feature is similar to the container's "elastic...
For a Node.js Web framework, the design of routing system is the most important. This paper introduces a data structure, Radix Trie, and other applications...
The principle of selection: simple, easy to fall to the ground, no platform, no language, as little as possible dependence. Compared with Disconf, Apollo and...
Try stratification based on NodeJS and Good Practices, find another similar stratification while doing, continue to translate records. Over the past few years, we've seen...
When a page/interface is accessed through a browser, the data transferred is usually compressed. This article introduces various postures for content compression on node.js side...
Session synchronization problem. Suppose we have two sites, a.hello.com b.hello.com respectively. If we want to share cookies among multiple sites, we basically set the Domain...
ObjectWrap weak reference is the cause of node.js Addon. This article introduces the specific problem and troubleshooting process, as well as the use of ObjectWrap.
Based on the combination of many front-end routes, I gradually came up with my own ideas: front-end engineers should first be software engineers, and secondly,...