Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Testing for capacity

Testing for capacity

How does Spotify plan capacity for their micro service architecture? What are the challenges and the tools Spotify uses? Here's short travel into HTTP part of that.

http://www.meetup.com/Prestandaforum-Stockholm/events/203673172/

Sergey Vysotskiy

October 01, 2014
Tweet

More Decks by Sergey Vysotskiy

Other Decks in Technology

Transcript

  1. NEXT 30 MINUTES: HOW TO COUNT SERVERS GOAL INFLUENCE ON

    TESTS ENVIRONMENT INFLUENCE ON TESTS
  2. NEXT 30 MINUTES: HOW TO COUNT SERVERS GOAL INFLUENCE ON

    TESTS ENVIRONMENT INFLUENCE ON TESTS SHINY TOOLS WE LIKE
  3. 10% of A 40% of B 50 % of C

    10000 RPS Test data
  4. 10% of A 40% of B 50 % of C

    10000 RPS Test itself
  5. address=203.0.113.1 port=80 rps_schedule=const(10, 10m) header_http = 1.1 headers = [Host:

    www.target.example.com] [Connection: close] ammofile=/tmp/access.log ammo_type=access
  6. address=203.0.113.1 port=80 rps_schedule=const(10, 10m) header_http = 1.1 headers = [Host:

    www.target.example.com] [Connection: close] ammofile=/tmp/access.log ammo_type=access
  7. address=203.0.113.1 port=80 rps_schedule=const(10, 10m) header_http = 1.1 headers = [Host:

    www.target.example.com] [Connection: close] ammofile=/tmp/access.log ammo_type=access
  8. address=203.0.113.1 port=80 rps_schedule=const(10, 10m) header_http = 1.1 headers = [Host:

    www.target.example.com] [Connection: close] ammofile=/tmp/access.log ammo_type=access
  9. address=203.0.113.1 port=80 rps_schedule=const(10, 10m) header_http = 1.1 headers = [Host:

    www.target.example.com] [Connection: close] ammofile=/tmp/access.log ammo_type=access
  10. address=203.0.113.1 port=80 rps_schedule=const(10, 10m) header_http = 1.1 headers = [Host:

    www.target.example.com] [Connection: close] uris = / /lekjfvnieoqr?fvjgr=werb245