Skip to content
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

[JFG-833] New implementation of RPS load with periodic workload process. #581

Merged
merged 9 commits into from
May 28, 2015

Conversation

amikryukov
Copy link
Contributor

Invocations starts with calculated period.
If thread pull is full (not enough threads to provide specified rps) - WARN message occurs.

@amikryukov
Copy link
Contributor Author

PerThreadWorkloadProcess remains the same (not using AbstractWorkloadProcess) by purpose.

this(DEFAULT_CORE_POOL_SIZE);
}

public PeriodSingleTaskScheduler(int corePoolSize) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for what purposes you need corePoolSize ?

amikryukov added a commit that referenced this pull request May 28, 2015
New implementation of RPS load with periodic workload process.
@amikryukov amikryukov merged commit 0e54fd6 into griddynamics:master May 28, 2015
// wait till execution stops
lfs.get();
} catch (InterruptedException e) {
e.printStackTrace();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WAT?

@nmusienko
Copy link

any tests? schema changes?

@amikryukov
Copy link
Contributor Author

There is one new test in smokes, and there are more tests in separate repo : https://github.com/amikryukov/qps-test-temporary

@nmusienko
Copy link

is new test uses periodic workload?

@amikryukov
Copy link
Contributor Author

Yes - actually now, all tests that uses "rps-load" - uses periodic workload, as from now on "rps-load" is parsed as new clock configuration, witch send "period" in configuration to Kernels(Workers) while ticking. And that is the way workload branch is choosing:

if (command.getScenarioContext().getWorkloadConfiguration().getPeriod() > 0) {

@dlatnikov dlatnikov changed the title New implementation of RPS load with periodic workload process. [JFG-833] New implementation of RPS load with periodic workload process. Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants