5 karma · joined Nov 17, 2014 (12y ago) · 6 submissions
comment 12y ago · link · parent
In the example I've modeled each of your uses as a load generator. So you would have to add one load generator per user. Let me know if you have any questions.
comment 12y ago · link · parent
For instance, if you wish to represent each user as a load generator, your task_runner's state could store each load generator's user information in the state indexed by name.
You would then log in the user during the init state.
I'm on the subway but I'll describe it more in detail when I get home.
comment 12y ago · link · parent
A load_generator in essence is just a process generating triggers at requested frequency. Every trigger happens asynchronously so there is no way to thread state between triggers.
If there is enough interest I'd be happy to extend it to handle synchronous load generators where threading state makes sense. With that use case though, it'd be impossible to guarantee that the actual load matches the load_spec in all circumstances.
If you wish to keep state between triggers you have to implement this outside of ponos at this stage.
comment 12y ago · link · parent
The original name is based on the Greek god of hard labor and toil (http://en.wikipedia.org/wiki/Ponos).