kenhuuu commented on code in PR #2395: URL: https://github.com/apache/tinkerpop/pull/2395#discussion_r1424355020
########## docs/src/dev/future/proposal-multi-threaded-transaction-5.asciidoc: ########## @@ -0,0 +1,146 @@ +//// +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +//// +image::apache-tinkerpop-logo.png[width=500,link="https://tinkerpop.apache.org"] + +*x.y.z - Proposal 4* + +Proposal for adding support for tx which are not thread bound. + +=== Introduction +The current implementation of transactions and sessions uses approach with thread local variables that requires complex implementation and LifeCycle management. Using non-threaded sessions can improve performance in some scenarios. + +=== Motivation +* Simlify GremlinExecutor. Complex LifeCycle control is now used. +* Easier integration with HTTP because transactions can be used without being tied to a connection. + +=== Assumptions + +* Need to reuse existing code as much as possible. Review Comment: I don't think you should be restricted by needing to reuse code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
