Hi, thanks for your sharing. I have a question I would like to ask you. In your code you are opening a MongoDB client for each CRUD method. In your opinion, is it a solution that can be safely used in scenarios where there are many incoming requests? if not, what another way would be in your opinion?

Thanks.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Antonio Di Mariano
Antonio Di Mariano

Written by Antonio Di Mariano

Senior Software and Research Engineer with a passion for Distributed Systems, Microservices, and Python

No responses yet

Write a response