-
Notifications
You must be signed in to change notification settings - Fork 147
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
Create a "universal" load generator #1030
Comments
@minherz During the POC we created the universal log generator for logs using Python, will be happy to share source code in case you need it. |
Hi @minherz, I can work on this. Just wondering: what is wrong with the load generator included with the Online Boutique? It is able to send GET and POST requests to multiple points with complex scenarios, as configured in https://github.com/GoogleCloudPlatform/microservices-demo/blob/main/src/loadgenerator/locustfile.py: Could you provide a specific example of a feature that is currently missing? |
There is nothing wrong with LG in OB. the goal of this issue is to provide an alternative LG as a part of COS. |
Got it. I agree the LG in OB does not seem to support custom load shapes for example. But then I wonder how to make a "universal" load generator with a large (infinite?) number of scenarios with a reasonable amount of time and energy on our side. Would it make more sense to let users spawn their own Locust container on their local machines, with their custom tasks? And document the whole thing with an example on our side. |
This sounds like a great idea! I am unsure if we want to document the Locust load generator but we certainly can provide guidelines and to use Online Boutique as an example. |
Description
Demo applications that Cloud Ops Sandbox uses (Online Boutique in version 0.9 and 0.10) provide their own load generators. It is not always useful because these generators can lack certain features that are useful for observability use cases. For example, customization of the load or an ability to program dynamic load.
To have a load generator that can be configured vs. multiple endpoints of the application can prove useful for Cloud Ops Sandbox users.
Technical requirements
Implement a stand-alone load generator using one of the existing solutions. While the language is not limited, it is preferred to keep all code in Golang. The following load generator implementations can be checked as references:
The text was updated successfully, but these errors were encountered: