[
https://issues.apache.org/jira/browse/TINKERPOP-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880283#comment-16880283
]
Stark Arya commented on TINKERPOP-2252:
---------------------------------------
I am sorry for Two days' delay。
when i prepare pr: [https://github.com/apache/tinkerpop/pull/1157];
it seems .Net and gremlin server/console compile error,but under my machine,
all seems ok
console:
mvn clean install -q -DskipTests && mvn verify -pl
:gremlin-server,:gremlin-console -DskipIntegrationTests=false
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache TinkerPop :: Gremlin Server 3.5.0-SNAPSHOT .. SUCCESS [24:24 min]
[INFO] Apache TinkerPop :: Gremlin Console 3.5.0-SNAPSHOT . SUCCESS [01:51 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26:15 min
[INFO] Finished at: 2019-07-08T20:35:02+08:00
[INFO] ------------------------------------------------------------------------
.Net :
touch gremlin-dotnet/src/.glv && touch gremlin-dotnet/test/.glv && mvn clean
install -q -DskipTests && mvn verify -pl :gremlin-dotnet,:gremlin-dotnet-tests
-P gremlin-dotnet
[INFO] --- dotnet-maven-plugin:0.24:integration-test-verify
(default-integration-test-verify) @ gremlin-dotnet-tests ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache TinkerPop :: Gremlin.Net 3.5.0-SNAPSHOT ..... SUCCESS [ 6.948 s]
[INFO] Apache TinkerPop :: Gremlin.Net - Tests 3.5.0-SNAPSHOT SUCCESS [01:18
min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:25 min
[INFO] Finished at: 2019-07-08T20:47:48+08:00
> a meaningful way to support session based byteCode interaction through
> gremlin-driver
> ---------------------------------------------------------------------------------------
>
> Key: TINKERPOP-2252
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2252
> Project: TinkerPop
> Issue Type: Improvement
> Components: groovy
> Affects Versions: 3.5.0
> Reporter: Stark Arya
> Priority: Major
> Attachments: image-2019-07-02-10-23-50-901.png,
> image-2019-07-02-22-04-16-651.png, image-2019-07-02-22-05-38-063.png,
> image-2019-07-02-22-19-19-539.png
>
>
> As in topic
> [https://groups.google.com/forum/#!topic/gremlin-users/cHl4FB-H7Nc] we have
> discussed,TinkerPop currently support:
> # Script sessionLess which is auto transaction;
> # ByteCode sessionLess which is also auto transaction;
> # Script session which user could control transaction through g.tx().open /
> rollback / commit;
> As we knows that ByteCode based requests are themselves code written in the
> native language and could be checked to validate the Gremlin during the
> development process。 => so many user prefer to use ByteCode over Script。
> But as we known,auto transaction need to persistence data changes per request
> which needs high cost and in some scenarios user even unbearable。=> so in
> some performance sensitive situation user prefer to use sessionBased
> interaction over sessionLess。
> Here,we face the real trouble: if user need both high performance and good
> write experience,we sank into despair because we do not support byteCode
> session,here is another user‘s
> sample:[https://stackoverflow.com/questions/55454068/tinkerpop-gremlin-transaction-processor-with-bytecode]。
> We must solve this problem even it is in less use because we all want to
> provide sufficiently good service to our user,but better transaction support
> in TP4 is still far away。 Here is my simple and meaningful solution:
> We can provide a function which change byteCode into Parameterized Scripts
> (not a simple Script which we already have, Its performance is 10X lower) 。
> Yes,we just need to add a new translate function in
> "org.apache.tinkerpop.gremlin.groovy.jsr223.GroovyTranslator.java"。
> The code is ready and through test, if anyone agree that this it's
> meaningful, i will submit PR later, thanks for your patience。
> The user code would like:
> !image-2019-07-02-10-23-50-901.png!
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)