Hello,
I'm novice on OrientDB and I'd like to use it in a web application that write and read graph-like linked informations.
My question is about which is the best approach to create connection to an orientdb graph; this essentially depends on intimate OrientDB and its driver architecture.
I think there are three kinds of approach:
- create a "connection" for each group of query/insert/update, then close/release it
- create a "connection" at start of web page elaboration, and close/release it
- create a "connection-less" reference and use it (like Jongo library do for MongoDB, that handle it transparently)
Which is the best? There are some other best approaches?