Avaiga / taipy-core

A Python library to build powerful and customized data-driven back-end applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add caching to mongodb connector

toan-quach opened this issue · comments

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()

This ticket has already been fixed