Skip to content

*: update and fix benchmark script - #1264

Merged
mreiferson merged 1 commit into
nsqio:masterfrom
mreiferson:fix-benchmark-script
Jun 16, 2020
Merged

*: update and fix benchmark script#1264
mreiferson merged 1 commit into
nsqio:masterfrom
mreiferson:fix-benchmark-script

Conversation

@mreiferson

@mreiferson mreiferson commented Jun 14, 2020

Copy link
Copy Markdown
Member

replaces #1204
fixes #1202

cc @martingrambow @ploxiln

Comment thread bench/bench.py Outdated

for ssh_client, chan in nsqd_chans:
chan.close()
if hasattr(chan, 'close'):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

odd that this is needed

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

agreed, missed that change, updated

Comment thread bench/bench.py Outdated
tornado.options.define('ssh_key_name', type=str, default='default',
help='SSH key name')
tornado.options.define('instance_type', type=str, default='c3.2xlarge',
tornado.options.define('instance_type', type=str, default='c3.xlarge',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

may I suggest c5.large

(which would also require changing the AMI to an HVM-EBS variant, I think ami-0ac80df6eff0e70b5 would do it, and maybe instance-create would then need a root-ebs-size parameter)

... but this could be updated in a separate PR, I could try that after this is merged

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

c5.large is VPC-only, so until we rewrite it to setup an entire VPC (not likely), this is Good Enough ™️

I didn't mean to change this from the original default, I'll update it.

@mreiferson
mreiferson force-pushed the fix-benchmark-script branch from 3976eae to 7c4e954 Compare June 16, 2020 15:12
@mreiferson
mreiferson merged commit c9001fc into nsqio:master Jun 16, 2020
@mreiferson
mreiferson deleted the fix-benchmark-script branch June 16, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nsqd: ec2 benchmark is broken

3 participants