I found out the hard way that if you design your import function in python to use a single transaction for each node it will be incredibly slow.
I have millions of nodes, and they have to be processed in the fastest way possible. Currently, I have a gremlin script that returns a set of nodes and edges in a generator. This is efficient, as it is transactional. However, whenever I iterate over the edges, I have to know what node to connect them to for my application;
What I need to know is if, for any edge, does inV or outV on an edge force a remote lookup?