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

Experiment Execution #11

Open
riccardotommasini opened this issue Apr 29, 2017 · 2 comments
Open

Experiment Execution #11

riccardotommasini opened this issue Apr 29, 2017 · 2 comments

Comments

@riccardotommasini
Copy link
Member

We recently came across with the problem of experimental workflows.
We noticed that the implemented one, i.e. warm-up, steady state, cool down,
it is just an option and it was the most common one among existing benchmarks.

Actually, they do not expand the workflow but claim they results are obtained at
steady state, which implicitly calls for a warm-up phase.
This open interesting research scenarios where we can study new workflows.
One of my doubpt was, does it exists the master workflow?
I'd like to achive a declarative way to design it, therefore I immediately though about
how to implement it.

This is just an idea.
#rsp.deploy(e).execute(15,"minutes").undeploy()

The rationale is that any experiment but be deployed, i.e. it has some initial conditions that
need to be achieved (at least engine and stream running).
Then the experiment instance depends on its definition.
The standard way
#rsp.deploy(e).execute(15,"minutes").undeploy().report()
#rsp.deploy(e).execute([events]).undeploy().report()
#rsp.deploy(e).execute([monkeys]).undeploy().report() this refers to the caos monkey testing idea

@riccardotommasini
Copy link
Member Author

#rsp.deploy(e).execute([events]).undeploy().report()
#rsp.deploy(e).execute(Events.duration(15, "minutes")).undeploy().report() creates the event of duration expired

Events.add_query(q, timestamp)
Events.remove_query(q, timestamp)
Events.remove_stream(s, timestamp)
Events.stream_rate(s, speedup, timestamp)

@riccardotommasini
Copy link
Member Author

rsp.deploy(e).execute(Events.duration(15, "minutes”).on_occurence(rsp.undeploy(e)).report()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant