일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
- CLASS
- error
- HTML
- JavaScript
- typeScript
- middleware
- useState
- REACT
- tailwindcss
- solidity
- nextJS
- bitcoin
- SSR
- graphQL
- express.js
- Props
- hardhat
- concept
- web
- Interface
- blockchain
- API
- Ethereum
- 삶
- 기준
- built in object
- CSS
- node.js
- evm
- Redux
- Today
- Total
목록Backend/Node.js (9)
ReasonJun
setTimeout, setImmediate, and process.nextTick are all functions that allow you to schedule a callback function to be executed after a delay. However, they work in different ways and have different performance implications. setTimeout(): setTimeout() schedules a callback function to be executed after a specified number of milliseconds. The callback function is placed on the event queue, and the ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/R7ERy/btssZg1lqAU/FCGFm5BeUlijWB5s6aukRk/img.png)
In Node.js, the event loop is a fundamental part of its architecture and is crucial for handling asynchronous operations efficiently. It allows Node.js to perform I/O operations and other tasks without blocking the execution of other code. Understanding the event loop is essential for writing scalable and performant Node.js applications. Here's an overview of how the event loop works in Node.js:..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/t09gT/btssVXgGGtd/0rPeVC5KgynItRHT38jzJ1/img.png)
"Single-threaded" and "multi-threaded" are terms used to describe how a program or a software application manages and executes multiple tasks or threads of execution. These concepts have significant implications for how programs handle concurrency, responsiveness, and performance. Let's explore the differences between single-threaded and multi-threaded environments: Single-Threaded: Definition: ..
In Node.js, blocking and non-blocking refer to how I/O (input/output) operations are handled by the runtime environment. Understanding the difference between these two approaches is crucial for building efficient and responsive applications, especially in scenarios with high concurrency, such as web servers. Let's explore both concepts: Blocking I/O (Synchronous): In a blocking or synchronous I/..
In the context of Node.js, "bindings" typically refer to native bindings or C/C++ addons. These are modules that allow you to integrate existing C or C++ code into your Node.js applications. This capability is essential when you need to interact with low-level system libraries, hardware, or existing C/C++ codebases from your Node.js application. Here's an overview of Node.js bindings: Native Add..
In Node.js, the relationship between V8 and libuv is crucial to understand how Node.js achieves its asynchronous, event-driven, and non-blocking I/O capabilities. Let's break down their roles and how they work together: V8 JavaScript Engine: V8 is an open-source JavaScript engine developed by Google. It's responsible for executing JavaScript code in the Node.js environment. V8 compiles JavaScrip..