sqlg
sqlg copied to clipboard
Cache gremlin results
A big maybe.
Sqlg can potentially keep stats on element labels. Or get the stats from the database itself. It can also keep stats on gremlin queries.
And then if a gremlin is executed frequently but the underlying tables change seldom it could cache the result. Subsequent executions of the gremlin would just de-serialize the result as oppose to executing the query with joins and whatever.
Probably serialize the result with the existing gremlin serialization framework.