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

Compare Kibana server performance with/without in-built APM #221

Open
dmlemeshko opened this issue Feb 2, 2022 · 3 comments
Open

Compare Kibana server performance with/without in-built APM #221

dmlemeshko opened this issue Feb 2, 2022 · 3 comments
Labels

Comments

@dmlemeshko
Copy link
Member

dmlemeshko commented Feb 2, 2022

Test environment:

Bare metal machine EX62
OS Linux, Node v16.13.2

Test scenarios:

DiscoverJourney

  • 1 min warm up with 20 conc. users
  • 3 min ramping up from 20 to 700 conc. users

CanvasJourney

  • 1 min warm up with 20 conc. users
  • 3 min ramping up from 20 to 100 conc. users

LensJourney

  • 1 min warm up with 20 conc. users
  • 3 min ramping up from 20 to 700 conc. users

APM configuration:

ELASTIC_APM_ACTIVE: true,
ELASTIC_APM_CONTEXT_PROPAGATION_ONLY: 'false',
ELASTIC_APM_ENVIRONMENT: 'ci',
ELASTIC_APM_TRANSACTION_SAMPLE_RATE: '1.0',
ELASTIC_APM_MAX_QUEUE_SIZE=20480
ELASTIC_APM_CAPTURE_SPAN_STACK_TRACES=false
ELASTIC_APM_METRICS_INTERVAL=60s

Results are available on Kibana-stats))

Example of 2 end-points called during DiscoverJourney
Screenshot 2022-02-02 at 15 52 04

Full results:
Screenshot 2022-02-10 at 11 41 57

The slowest end-points:
Screenshot 2022-02-10 at 11 46 02

@lizozom
Copy link

lizozom commented Feb 2, 2022

Wondering if we could repeat this with the current recommended configs?
elastic/kibana#117492

@dmlemeshko
Copy link
Member Author

Wondering if we could repeat this with the current recommended configs?

Here are the results:

Screenshot 2022-02-10 at 10 55 32

I should admit I did not set elastic.apm.propagateTracestate: true since I did not find the way of doing it via env variable. The APM configuration I used for testing can be reviewed here

Results for individual end-points are way better as well:

Screenshot 2022-02-10 at 11 25 10

@lizozom
Copy link

lizozom commented Feb 11, 2022

@dmlemeshko are these results implying that APM improves overall performance by upto 10% :-) ?
The large variance and negative values in diffs bother me a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants