I have a project with several existing databases (let’s say about 100).
My UI in Django will need to be able to query every database. Each user will probably only access 2-3 databases at a time while they’re logged in. Is it better to connect/disconnect at each query or does it make more sense to somehow cache the connections that are being used?
Lastly (and I’m guessing the answer is no), does Django have any built in settings or configuration to help with this situation? Thanks!