Add caching to mongodb connector
toan-quach opened this issue · comments
Toan Quach commented
Description
Currently, we will reestablish connections to the MongoDB via pymongo every time we try to fetch any data. We should introduce some caching to improve performance and reduce resource costs. We can take inspiration from the enterprise version
MongoDB connector function is in src/taipy/core/common/_mongo_connector.py
under the name _connect_mongodb()
Toan Quach commented
This ticket has already been fixed