visheshdembla / Panorama

Highly Available, Fault Tolerant Photo Sharing App
0 stars 2 forks source link

JMeter Setup for Load Testing #198

Closed ayishacs closed 3 years ago

ayishacs commented 3 years ago

The issue is created to setup JMeter and test the load handling capacity of running pods and services.

Perform the following tests by incrementing the replica count and plot the graphs accordingly.

  1. Analyze the response times of the application by incrementing the pod capacity.
  2. Analyze the peak load for the application.
ayishacs commented 3 years ago

Analysis of Response times vs Incremental Capacity

Pod count: 1 Number of concurrent users: 1000 image

ayishacs commented 3 years ago

Pod count: 2 Number of concurrent users: 1000

image

ayishacs commented 3 years ago

Pod count: 3 Number of concurrent users: 1000

image

ayishacs commented 3 years ago

Pod count: 4 Number of concurrent users: 1000

image

visheshdembla commented 3 years ago

Hi @ayishacs , could you clarify for what requests are the graphs generated? Also can you please upload the scripts in the repo in some branch. Since the integration of the services was just completed now on a different cluster, I don't know if these results are valid or not. Could you please also provide some clarification on the same?

visheshdembla commented 3 years ago

Meanwhile I believe @surajp28 is working on JMeter scripts for functionalities in the backend. Could you please sync with him on what you've covered and take it from there?

ayishacs commented 3 years ago

@visheshdembla @surajp28 The graphs are generated for the UI. We will have to continue our load and spike tests for API and other Microservices. The script will be committed to github after completing the integration tests for all the services. Let us schedule a call to run the load, spike and fault tolerance tests .

surajp28 commented 3 years ago

A folder for JMX testing has been created. The script and results are have been uploaded as well. Kindly go through them. The following partner has been observed 100 users with 100 data entries 100 users with 500 data entries 100 users with 1000 data entries 100 users with 10000 data entries

500 users with 500 data entries 500 users with 1000 data entries 500 users with 1000 data entries

1000 users with 1000 data entries 1000 users with 10000 data entries

10000 users with 10000 data entries

I would upload the login functionality soon

surajp28 commented 3 years ago

Login functionality added as well

visheshdembla commented 3 years ago

Fixed issues in image service and other microservices to ensure load testing works.

surajp28 commented 3 years ago

The load testing for signin, signup, image store and image retrieval has been completed. It shall be updated to the wiki shortly