Vipul Sharma
Vipul Sharma

Reputation: 798

Gremlin - best approach for querying Titan db from Node.js

I am using Titan graph db with Cassandra and Elasticsearch, Node.js and building RESTful web services.

I am confused whether to connect to Gremlin server using HTTP or Web Sockets.

Please share your learnings and let me know if there are any good reads or video tutorials on this.

Upvotes: 0

Views: 538

Answers (1)

Misha Brukman
Misha Brukman

Reputation: 13424

Note: Titan is no longer maintained, you should switch to JanusGraph, which was forked from Titan and is maintained by an active community of users and developers.

You can use https://github.com/jbmusso/gremlin-javascript which can be found in the "Language drivers" section of the Apache TinkerPop site.

You can find sample code in https://github.com/jbmusso/gremlin-javascript/tree/master/gremlin-client

Upvotes: 1

Related Questions