-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excessive reporters sessions #120
Comments
I see the potential problem, but I ask myself: Is this a real issue at the moment? Do we have real-life scenarios currently like that? I'd also not introduce another parameter for something like that. I'm not sure we won't run into serious troubles if we use only one single connection and if we change the internal behavior of connection usage to 2, this is nothing I want a user to decide (I also see no benefit in passing that decision to the user). |
Well... It's probably not just hypothetical issue. I actually have higly shared DB, where developer accounts have concurrent session limit of 4. Flexibility of max sessions as parameter would be great but isn't a must have.
|
Ok, so we have a real-life need to reduce the concurrent sessions. Can you explain what's the benefit you see in adding increased complexity by adding a parameter for "max sessions"? |
Potentially faster execution time if reading reporters output takes more time. |
Thought about this topic again. That way we would always use at most 3 sessions. |
Well, actually we could reuse the session of the live-consuming reporter so it would be 2 sessions at all. At the cost of the secondary reporters only being written after the complete test-run. |
When I run
utPLSQL-cli
with multiple reporters and outputs like:Ever reporter allocates separate session.
This can be challenging for environments, where users have limit of concurrent sessions.
It seems that API/cli could use only 2 sessions and still be successful.
session 1 - main session for running tests and collecting report outputs.
session 2 (asynchronous) for collecting real-time report info and putting it into screen.
Alternatively, maybe there should be a parameter for cli to set maximum number of concurrent sessions.
This could be minimum of 2 - like in the example above and max could be as many as needed.
If set to 0, there is no limit, if set to 1 all is synchronous.
default = 2?
The text was updated successfully, but these errors were encountered: