I am using Neptune (AWS) graph data base, and my client api is in java spring. My application read and write into my database. Actually we have 2 clusters for reading and writing as a bean. W e are generating several traversal and after submitting each we decided to close it by using try with ressource.
Is it a best practice to close traversal and recreate it traversal().withRemote(..) ?
In huge project with several connection in one thread what is the best practice?