Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-25-2020 12:36 PM
Hello.
I will be creating various Python programs running over NGINX. I'll be connection from Python to my Aura instance. For each Python script, I have to open and close the database...as we know, the most expensive request you can make.
I would love to know if there's a way to keep a connection open or if I can install a daemon that keeps a connection open and shares the connection with Python.
Thank you in advance.
Rhys
Solved! Go to Solution.
05-30-2020 04:18 AM
05-29-2020 04:49 PM
Hello @rhys
Did you try to create a REST API in Python? You could create several endpoints to access your database while the connection will stay open since it will be up when the API will be online.
Regards,
Cobra
05-30-2020 04:18 AM
Yes your app can hold a driver instance in its state.
See here
05-30-2020 05:52 AM
That's exactly what I needed, thank you.
All the sessions of the conference are now available online