The-Don-Himself / gremlin-ogm

A PHP Object Graph Mapper for Tinkerpop 3+ compatible Graph Databases (JanusGraph, Neo4j, etc.) that allows you to persist data and run gremlin queries.
MIT License
17 stars 2 forks source link

AWS Neptune Compatibility? #9

Open The-Don-Himself opened 6 years ago

The-Don-Himself commented 6 years ago

Got asked this on Twitter recently. Opening this issue to followup on it, also incase anyone has been able to test TwitterGraph on it. Perhaps @juhasev ?

juhasev commented 6 years ago

I will be testing Neptune shortly.... Right now I am having problem with unit tests using a different TinkerGraph instance that I access from Gremlin. In the configuration I can specify anything "graph" name and no errors are thrown. Have you had success using in memory Tinkergraph with the library?

The-Don-Himself commented 6 years ago

Thanks for testing with Neptune, I currently don't use AWS so it makes testing unfeasible right now. The Tinkergraph tests is quite interesting, I had never thought of trying it with TinkerGraph.

juhasev commented 6 years ago

Got TinkerGraph working with the unit tests and works quite nicely in the local dev box as well. Of course you loose all the information if you restart the server. It is possible to serialize everything to the disk and persistence if desired. I am working with Laravel, any thoughts about releasing Laravel specific gremlin-org-laravel package? I think it would be nice especially since there is such a huge laravel community out there.

I will ping back after I am done testing with Neptune.

The-Don-Himself commented 6 years ago

A Laravel specific package sounds nice, although my experience with Laravel is relatively limited, also I still feel there are quite a few areas within this package that we can improve before expanding out, such as https://github.com/The-Don-Himself/gremlin-ogm/issues/5

There are also unfinished areas such as the index, vertex and edge managers https://github.com/The-Don-Himself/gremlin-ogm/tree/master/src/Manager

juhasev commented 6 years ago

What would the managers exactly do? Maybe I can help as I progress.... I can already see issues for long term maintainability / code duplication in my app like mapping back to objects is largely manual process as of now.

The-Don-Himself commented 6 years ago

The managers basically help 'manage' certain graph elements for example, index creation, reindex, disabling and deletion. Almost the same with the other elements, vertex, edge, graph.