-
Notifications
You must be signed in to change notification settings - Fork 6
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
Pre-defined number of users in OLB-database scope #45
Comments
Why can't we just use code below instead? @OverRide |
I can see that the getInstrumentationDescription()-method sets the granularity to fine-grained for DB_SCOPE, but this is not set for the other scopes. Maybe there is something here about finding the appropriate granularity level? And what does the Nop.Web.Controllers.ShoppingCartController:ProblemMethod mean for the SYNC_SCOPE in the same method? |
I do not see any good reason for this. However, the code modifies the Am 05.10.15 um 13:01 schrieb Tor M:
Prof. Steffen Becker Technische Universität Chemnitz Tel: +49 371 531-36144 |
This would not modify the granularity. You could test this and see Am 05.10.15 um 13:10 schrieb Tor M:
Prof. Steffen Becker Technische Universität Chemnitz Tel: +49 371 531-36144 |
Am 05.10.15 um 13:18 schrieb Tor M:
Prof. Steffen Becker Technische Universität Chemnitz Tel: +49 371 531-36144 |
Good answers as always! So the granularity actually refers to the sampling amount, e.g. getInstrumentationDescription(1.0) means 10 times more sampling than getInstrumentationDescription(0.1). I'm trying to understand (parts) the code in order to know what the DynSpotter actually can do for me. In my pursuit I have come up with 4 more questions:
|
Am 05.10.15 um 14:54 schrieb Tor M:
It is about to be released as test version. I have changed the
A method scope is on the other hand the parent concept of the API scope, Now finally, I do not understand what the SYNC scope was supposed to do.
There are more sophisticated scopes in AIM which I just begin to
However, this would make more sense in a child detector of the Ramp
Prof. Steffen Becker Technische Universität Chemnitz Tel: +49 371 531-36144 |
When testing the the database scope in OLB, the code overrides my settings from the DynamicSpotter. Happens in OLBDetectionController.java (see below). Any good reason for this?
@OverRide
public void executeExperiments() throws InstrumentationException, MeasurementException, WorkloadException {
if (!reuser) {
// TODO: fix that
if (scope.equals(OLBExtension.DB_SCOPE)) {
instrumentApplication(getInstrumentationDescription(1.0));
runExperiment(this, 1);
uninstrumentApplication();
The text was updated successfully, but these errors were encountered: