DEV Community

Margaret W.N
Margaret W.N

Posted on


Day 42: Migrating to monogdb atlas

Words can't describe today's errors. I decided to move to mongodb on the cloud. It is been a long day of learning from errors. I had a lot of trouble getting mongodb to work again. In a nutshell:

Resources used:

I managed to fix the connection issue and also learnt an important lesson:

If it works don't touch it!!
Day 42

Top comments (0)

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.