DEV Community

Fulton Browne
Fulton Browne

Posted on

 

cloud or local sever? where should I run my back-ends

whats your process for deciding which to use?

Top comments (4)

Collapse
 
fultonbrowne profile image
Fulton Browne

thanks I think this will help inform my decision.

Collapse
 
siy profile image
Sergiy Yevtushenko

Cloud is preferred choice most of the time. Local server is a rare animal these days, nobody wants to maintain infrastructure unless there are specific requirements which can't be satisfied in cloud.

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.