Closed david-yorku closed 3 years ago
--> Applying Creational Design Pattern to caches.py file in app folder
--> Ensuring that only one database connection is made at a time to prevent multiple connections to the same database.
--> Using the Singleton Design approach.
What?
--> Applying Creational Design Pattern to caches.py file in app folder
Why?
--> Ensuring that only one database connection is made at a time to prevent multiple connections to the same database.
How?
--> Using the Singleton Design approach.