Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

JMeter Distributed Mode #8

Open
cda210 opened this issue Aug 9, 2019 · 3 comments
Open

JMeter Distributed Mode #8

cda210 opened this issue Aug 9, 2019 · 3 comments
Labels
question Further information is requested

Comments

@cda210
Copy link

cda210 commented Aug 9, 2019

How can the task containers be configured as hosts when taurus.yml is configured using JMeter in Distributed Mode? I know networking with fargate can be tricky without an ALB. Looking for some insight here, please? Thanks. Great stuff here BTW!

@ferdingler ferdingler added the question Further information is requested label Aug 12, 2019
@ferdingler
Copy link
Member

Hi @cda210, thanks for giving this tool a try!

Would you even want to run JMeter in distributed mode though? This tool runs an instance of taurus per Fargate task, which is distributed by design already. I'm curious to hear how would you expect/like the distributed mode to work? What would you get that you aren't getting already?

Networking with Fargate is not that much different than networking on EC2. Each task gets it's own Elastic Network Interface (ENI) with it's own IP address from the VPC. Containers within the Fargate task can communicate with each other through localhost. If tasks want to communicate with each other, they can use their corresponding private IP address.

@cda210
Copy link
Author

cda210 commented Aug 13, 2019 via email

@ferdingler
Copy link
Member

It's awesome as is, but I am looking into heavily customization of JMeter's
execution. This is one critical component I will need - IP addresses of
each task before the load test is ran - so at the very latest during ramp
up period.

Is the intention of knowing the IP addresses to whitelist them in your target system? If so, you could have an external process (i.e. Lambda function) monitor the running tasks in the cluster and get their IP addresses as they get scheduled in Fargate. The tasks will actually get an ENI with an IP address assigned even while they are in the PENDING status (before RUNNING).

It would be easier if you could Bring your own ENIs to Fargate, and specify them at the RunTask API, but unfortunately that's not a feature Fargate supports at the moment.

For example - there was a request for the below, which I working within the
constaints of AWS: tasks > 10 being spawned in groups of 10

Are you working on it? that would be great if you can do a pull request for it. Shouldn't be too complicated to loop in groups of 10 if count is greater than 10.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants