Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-575

Implement RemoteGraph

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 3.0.2-incubating
    • 3.2.0-incubating
    • driver, process, server
    • None

    Description

      Consider implementing a graph that allows remote execution of portions of a gremlin query and locally executes steps that have lambda expressions.

      Graph r = new RemoteGraph("192.168.0.10") //Gremlin server

      r.V().has("age", 35).out().in().sideEffect(v->

      {do something});

      gets optimised to
      r.remoteStep("g.V().has("age", 35).out().in()").sideEffect(v->{do something}

      );

      The remote step would be transmitted to the server for execution and the results pulled back allow the side effect to take place locally.

      All remote step optimisation is done via traversal strategy.

      Things to think about are:
      Transactions have to span multiple requests to the server.
      Strategies only work on the server side.

      Attachments

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              bryncooke Bryn Cooke
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: