Good practice to have a single connection open for an application?


Hi! In our web app, we were requesting an Aerospike client connection for every HTTP request. This used to work perfectly fine. But to decrease the response time of the requests we rather created a single Aerospike connection (a static instance), which is used by all the requests.

I would like to know if having a single static Aerospike db connection open throughout the app’s lifecycle a good practice.