graph-databases-testsuite icon indicating copy to clipboard operation
graph-databases-testsuite copied to clipboard

Shall we move away from Groovy

Open kuzeko opened this issue 6 years ago • 7 comments

Maybe using some other variant to use gremlin may be a better option for development and testing issues?

http://tinkerpop.apache.org/docs/current/reference/#gremlin-variants

kuzeko avatar Sep 19 '18 07:09 kuzeko

I would really love to consider gremlin-python

MartinBrugnara avatar Dec 12 '18 19:12 MartinBrugnara

see http://wiki.bitplan.com/index.php/Gremlin_python for a tutorial on how to do this. I hope we can share some experiences.

WolfgangFahl avatar Sep 23 '19 07:09 WolfgangFahl

Thanks @WolfgangFahl , we are looking into this, but it seems that any option other than native Java will add abstraction costs and hence risk to impact the reliability of the measures of the framework.

What's your take?

kuzeko avatar Oct 08 '19 11:10 kuzeko

In the tutorial i am still fighting with the integration part for the Gremlin Language Variants. I think it would be interesting to see whether there is a performance penalty in using GLVs. Given your experience in using different databases i hope to see viable setups. Also the size of the test databases matter. Ideally I'd love to see most of the test being done using docker containers to be able to reliably share the setup. On the other hand docker volume handling can be very slow so there is also a penalty.

WolfgangFahl avatar Oct 08 '19 11:10 WolfgangFahl

Hi @WolfgangFahl , I'm not sure I follow what you mean. I think there is a way to not incur in penalties by using external volumes (or something like that, I keep forgetting the correct terminology here)

kuzeko avatar Oct 10 '19 14:10 kuzeko

see e.g. https://github.com/docker/for-mac/issues/77 - the issue is only some 3 years old now in still open :-(

WolfgangFahl avatar Oct 10 '19 14:10 WolfgangFahl

Ah, but that is just for Mac OS

On Linux, bind-mounting a directory, like many Docker features, simply selectively exposes host resources directly to a container. Consequently, access to bind mounts carries little-to-no overhead compared to filesystem access in a regular process.

As state here: https://www.docker.com/blog/user-guided-caching-in-docker-for-mac/

kuzeko avatar Oct 10 '19 14:10 kuzeko