orientechnologies / orientdb-gremlin

TinkerPop3 Graph Structure Implementation for OrientDB
Apache License 2.0
91 stars 32 forks source link

Gremlin Server Support #114

Closed wolf4ood closed 5 years ago

GabCamarda commented 7 years ago

This would be very much appreciated! You would give devs the possibility to code with clients in different languages and it would also mean that we can use the same interface for multiple vendors. Thanks!

jacques- commented 7 years ago

Would be great to have this! What is the current status?

Seems like it should work, but running into problems: https://stackoverflow.com/questions/45730131/the-database-instance-is-not-set-in-the-current-thread-when-using-gremlin-serv

wolf4ood commented 7 years ago

Hi @jacques-

the support for the Gremlin server is not yet landed and the current OrientGraph implementation has not been tested with the Gremlin Server but I guess the observation in the question are right.

The OrientGraph cannot be shared between threads since it holds a ODatabaseDocument reference that is not thread safe

WolfgangFahl commented 5 years ago

I'd love to see this implemented

wolf4ood commented 5 years ago

Hi @WolfgangFahl

i forgot to close this.

If you download ODB version 3.0.x tp3 edition it embeds a GremlinServer

https://orientdb.com/download-2/

Thanks