You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/11 00:48:00 UTC
[jira] [Commented] (TINKERPOP-2379) Consistent defaults and
initialization APIs for drivers
[ https://issues.apache.org/jira/browse/TINKERPOP-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413448#comment-17413448 ]
ASF GitHub Bot commented on TINKERPOP-2379:
-------------------------------------------
simonz-bq commented on pull request #1472:
URL: https://github.com/apache/tinkerpop/pull/1472#issuecomment-917306703
I updated the PR with the following changes:
- Use maxSimultaneousUsagePerConnection as the equivalent for the MaxInProcessPerConnection in .NET
- Added JIRA number in title
- Added description in upgrading for users section
- Squashed the commits (I'm used to just doing this when merging in the PR)
I think this is a reasonable state for the PR to be in until more discussion is done.
@spmallette The timeouts matched when there was an equivalent option. In JavaScript, I did not see any current configuration for the clients in a way that was changing similar fields as the other languages. Maybe it is worth investigating settings in the underlying clients but I believe that to be outside of the scope of this ticket. Doing something like that requires an agreement that we *do* want to change the default configuration of a different library, and even beyond that it also requires a discussion of whether or not it should be exposed as configuration for the user.
--
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: commits-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> Consistent defaults and initialization APIs for drivers
> -------------------------------------------------------
>
> Key: TINKERPOP-2379
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2379
> Project: TinkerPop
> Issue Type: Improvement
> Components: driver
> Affects Versions: 3.4.6
> Reporter: Stephen Mallette
> Priority: Minor
>
> Some drivers allow the connection URL to be directly set which means that it is wholly configurable. For example, Javascript allows:
> {code}
> const g = traversal().withRemote(new DriverRemoteConnection('ws://localhost:8182/gremlin'));
> {code}
> Python allows something similar, but Java and .NET do not. I don't recall a reason for that inconsistency and there are times when it seems that such options would be helpful.
> In addition, some drivers will take a file for configuration and some will not. Furthermore, defaults for various settings are different from one driver to the next.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)