“I meet dead people at the diner every day. People who have given up. That’s all death requires of us, to give up living. The thing is, the only real sign of life is growth. And growth requires pain. So to choose life is to accept pain. Some people go to such lengths to avoid pain that they give up on life. They bury their hearts or they drink themselves numb until they don’t feel anything anymore. The irony is, in the end, their escape becomes more painful than what they are avoiding. Ultimately we decide whether our lives are good or bad, ugly or beautiful. Some people in this world have stopped looking for beauty, then wonder why their lives are so ugly. Everyone carries divinity in them. Only through helping others can we save ourselves.”
…ad or even a process, but Node. js, requests are run on the same thread with even shared resources. All Node JS applications uses “Single Threaded Event Loop Model” architecture to handle multiple concurrent clients. So Yes NodeJS is single threaded, but this is a half truth, actually it is event-driven and single-threaded with background workers. The main event loop is single-threaded but most of the I/O works run on separate threads, because …
eads, because the I/O APIs in No… but this is a half truth, actually it is event-driven and single-threaded with background workers. The main event loop is single-threaded but most of the I/O works run on separate threads, because the I/O APIs in Node.js are asynchronous/non-blocking by design, in order to accommodate the event loop.