Hi Rully
The use of synchronous vs. asynchronous programming method depends entirely on your use case. There are plus and minuses in both method, but primarily, synchronous means that your program will execute from top to bottom in strict ordering (where the execution of one line will block until it’s finished). In contrast, asynchronous means that your program lines could execute out-of-order, and care must be taken to ensure the correctness of the program. As as example, Python is typically executed synchronously, while node.js is typically asynchronous (using callbacks, promises, etc.).
Unfortunately a discussion about programming model is out of scope of this group. We can help you if you’re having a specific issue with MongoDB or any of its supported drivers, but for a general programming question, StackOverflow or other general programming sites will be a more relevant forum.
Best regards
Kevin