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

chore: add initial simple loadgen #162

Merged
merged 2 commits into from
Sep 19, 2022
Merged

chore: add initial simple loadgen #162

merged 2 commits into from
Sep 19, 2022

Conversation

cprice404
Copy link
Contributor

This commit adds an initial port of the simple load generator
from the python/js SDKs. It will need some additional error
handling, and we need to add a client-side max TPS flag, but
should be usable for initial tuning work.

This commit adds an initial port of the simple load generator
from the python/js SDKs.  It will need some additional error
handling, and we need to add a client-side max TPS flag, but
should be usable for initial tuning work.
Momento.Sdk.sln Outdated Show resolved Hide resolved
Comment on lines +351 to +354
/**
* Configures the Momento client to timeout if a request exceeds this limit.
* Momento client default is 5 seconds.
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

Try using triple-front-slash /// for the C# docstrings

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks gtk

Momento.Sdk.sln Outdated Show resolved Hide resolved
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
<PackageReference Include="Momento.Sdk" Version="0.27.1" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Current release is 0.29.0, which I'm now realizing probably affects the other examples as well. Not to mention that will be wrong as soon as we cut a new release, so you may want to set this to 0.29.1 if you plan to release for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cool yeah i will update next time i'm in there but I don't think there are any perf-impacting changes in recent releases.

Copy link
Member

@eaddingtonwhite eaddingtonwhite left a comment

Choose a reason for hiding this comment

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

LGMT for first iteration 🚢 . Why no f# version :trollface:

@cprice404 cprice404 merged commit 8ae8d47 into main Sep 19, 2022
@cprice404 cprice404 deleted the add-loadgen branch September 19, 2022 23:57
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.

4 participants