Avaiga / taipy-core

A Python library to build powerful and customized data-driven back-end applications.
Apache License 2.0
38 stars 17 forks source link

Add caching to mongodb connector #797

Closed toan-quach closed 1 year ago

toan-quach commented 1 year ago

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 1 year ago

This ticket has already been fixed