Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference instance to test goblin against #100

Closed
fridex opened this issue Feb 20, 2018 · 3 comments
Closed

Reference instance to test goblin against #100

fridex opened this issue Feb 20, 2018 · 3 comments

Comments

@fridex
Copy link
Contributor

fridex commented Feb 20, 2018

Hi @davebshow,

I am trying to make goblin work. I have tried different versions of gremlin so far (mostly backed by elasticsearch as we want to use ES), but without success (however, I was able to make work raw gremlinpython). I dived into sources a bit and found this restriction https://github.com/davebshow/goblin/blob/master/goblin/app.py#L54 which says that goblin app works only with graphson of version 1. Is this still relevant? I haven't found any python implementation for graphson in version 1 (only version 2 and 3).

Also, is there some "reference" instance (a docker image or docker-compose) that I could use to make goblin work? What is preferred gremlin version to be used (I saw #85 (comment))?

BTW goblin sometimes gets stuck and (if configured) terminates with timeout error when there were issues on remote (e.g. serialization issues). Is there a way how to bypass such behavior?

Thanks!

@fridex
Copy link
Contributor Author

fridex commented Feb 20, 2018

Tried with the latest JanusGraph release (0.2.0 as of now) with aiogremlin==3.2.6rc1 gremlinpython==3.2.6 goblin==2.1.0, it looks like it works for me.

@davebshow
Copy link
Owner

davebshow commented Feb 20, 2018

That is good. Typically I ensure that aiogremlin/goblin run against the current TinkerGraph implementation. I have a fair few Janus users that typically keep me honest there as well.

Goblin as it currently exists in GitHub master should run with aiogremlin/gremlinpython 3.2.6 + (3.2.6, 3.2.7, 3.3.0, 3.3.1), using GraphSON2 or 3. I hope to formalize a release of Goblin soon that works well with Neptune, but I have been too busy (this is all a side project for me now, changed jobs).

So, you should be able to install the current Goblin and the aioremling/gremlinpython combo that matches the TinkerPop number for your provider (3.2.6 for Janus 0.2.0), and it should work out of the box.

Not really sure what you mean about the timeouts. Could you be a be more specific (example maybe)?

@fridex
Copy link
Contributor Author

fridex commented Feb 23, 2018

Not really sure what you mean about the timeouts. Could you be a be more specific (example maybe)?

I was not able to reproduce it with the currently installed stack. If encounter some issues, I will report back.

Thanks!

@fridex fridex closed this as completed Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants