Persistent handle in perl daemon


I am looking to embed an aeorspike lookup in nginx. This is always going to be a single bin lookup for an input key

I can write code in mod perl and use the aerospike client library.

But I do not want to connect to aerospike for every new request. How can I maintain persistent connections to aerospike