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

Set up Tremor benchmarking infrastructure #722

Closed
anupdhml opened this issue Jan 28, 2021 · 14 comments
Closed

Set up Tremor benchmarking infrastructure #722

anupdhml opened this issue Jan 28, 2021 · 14 comments
Labels
enhancement New feature or request mentorship performance performance enhancements or issues

Comments

@anupdhml
Copy link
Contributor

anupdhml commented Jan 28, 2021

Describe the problem you are trying to solve

We would like to run various Tremor benchmarks periodically and use results from them to reliably measure how Tremor’s performance varies as we introduce new changes to the project.

Describe the solution you'd like

A setup that will be initially useful to catch any performance regressions that may occur between Tremor releases (this implies some storage for historical results). Over time, we should be able to evolve it to do the same on pull requests.

Ability to view historical benchmark results on-demand (eg: over a web browser) would be nice to have as well.

Notes

CNCF has provided us with a bare-metal machine for use here, via cncf/cluster#160. For folks working on this, we can help with the initial machine provisioning.

To run all the existing tremor benchmarks via the unified tremor cli, do: cargo run -p tremor-cli -- test bench tremor-cli/tests. Some old benchmarks (driven from shell-scripts) are also there in the codebase -- we can port all the useful ones from here to the newer tremor-cli based setup and clean these up.

We can also add net new benchmarks via the criterion lib:
https://github.com/bheisler/criterion.rs
https://github.com/bheisler/cargo-criterion

Also of interest, for CI use: https://github.com/bheisler/iai

@anupdhml anupdhml added enhancement New feature or request performance performance enhancements or issues labels Jan 28, 2021
@shivam-51
Copy link

shivam-51 commented Mar 6, 2021

Hey @humancalico , I would like to work on this issue under the LFX Mentorship Spring 2021. Can you please guide me on the next steps apart from official application?

@Licenser
Copy link
Member

Licenser commented Mar 6, 2021

Hi @shivam-51 I'm sorry the application process is closed by now and selections already made. But keep an eye out there are likely to be more mentorship opportunities coming up :) or come by our discord and say hi if you would want to toy around with something outside of the LFX Mentorship.

@shivam-51
Copy link

Hi @shivam-51 I'm sorry the application process is closed by now and selections already made. But keep an eye out there are likely to be more mentorship opportunities coming up :)

Absolutely! I'll try again in the next cohort :)

@Licenser
Copy link
Member

Licenser commented Mar 6, 2021

Awesome 👍 , keep an eye out on our Twitter and discord, we'll announce mentorship programs as soon as we can :)

@vielmetti
Copy link

vielmetti commented Sep 29, 2021

Hi @humancalico how did this benchmarking infrastructure setup go? We have a maintenance event at Equinix Metal in our FRA2 data center which will necessitate some changes on your side, if the work is still underway.

cc @anupdhml

@Licenser
Copy link
Member

👍 all good I suspect IP's are changing or something else?

@vielmetti
Copy link

@Licenser - Something else - data center migration, so it'll be a shiny new machine in a new data center, and you'll need to spin it up and set it up before we tear the old one down at the end of October.

@Licenser
Copy link
Member

uhhh shiny :D, we'll migrate, that shouldn't be a big issue. Thanks for the heads up!

@vielmetti
Copy link

@Licenser Can I run communications through you? If so please expect an email with particulars, or if it's all the same to you, we can just take care of things right here.

@Licenser
Copy link
Member

Yes absolutely, feel free to mail me any time or look into it from your side, really whatever is easier for you :) we'll adopt. I blocked out a day next week for migration just in case.

@vielmetti
Copy link

@Licenser - the suggestion is to spin up a new c3.small in our Frankfurt (FR) metro, set it up to your liking. When you're done and the new system is running, destroy the old one.

@darach
Copy link
Member

darach commented Oct 1, 2021

This works great @vielmetti 👍

@Licenser
Copy link
Member

Licenser commented Oct 5, 2021

@vielmetti the old server is gone :)

@Licenser Licenser closed this as completed Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mentorship performance performance enhancements or issues
Projects
None yet
Development

No branches or pull requests

7 participants