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

finished lab #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 29 additions & 8 deletions labreports/LAB.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
Course: Messiah College CIS 411, Fall 2018<br/>
Instructors: [Joel Worrall](https://github.com/tangollama) & [Trevor Bunch](https://github.com/trevordbunch)<br/>

Name: YOUR NAME<br/>
Name: Andre Kerlin<br/>

GitHub: [YOUR_HANDLE](https://github.com/YOUR_HANDLE)<br/>
GitHub: [AndreKerlin](https://github.com/AndreKerlin)<br/>

# Step 1: Fork this repository
- The URL of my forked repository
- https://github.com/AndreKerlin/cis411_lab3.git

# Step 2: Clone your forked repository from the command line
- My GraphQL response from adding myself as an account on the test project
```
{
"data": {
"mutateAccount": {
"id": "a10db030-ded8-4397-a78f-30b79d3497ab",
"name": "MY NAME",
"email": "MY EMAIL"
"id": "b6e9181c-bc65-48cb-b63e-a1bc0cbd3789",
"name": "Andre Kerlin",
"email": "ak1393@messiah.edu"
}
}
}
```

# Step 3: Signup for and configure New Relic
- The chosen name of your New Relic ```app_name``` configuration
- The chosen name of your New Relic ```spacebar_3``` configuration
```
app_name: ['<YOUR APP NAME>']
app_name: ['<spacebar_3>']
```

# Step 4: Exercising the application / generating performance data
Expand All @@ -36,14 +36,35 @@ _Note: No lab notes required._
# Step 5: Explore your performance data
* What are your observations regarding the performance of this application?
* Is performance even or uneven?
-Id say uneven due to it seems that POSTs take much longer than GETs
* Between queries and mutations, what requests are less performant?
-Queries are less performant
* Among the less performant requests, which ones are the most problematic?
-the one where you pulled everything that had the word "everything in it took an age

# Step 6: Diagnosing an issue based on telemetry data
* Within the transactions you're examining, what segment(s) took the most time?
-post takes up about 99.5% of the work load
* Using New Relic, identify and record the least performant request(s).
- this request was defenitely the least performant

{
#retrieve all orders container the word everything
orders(query: "everything") {
id
customer {
id
email
}
items {
label
quantity
}
}
* Using the Transaction Trace capability in New Relic, identify which segment(s) in that request permiatation is/are the most problematic and record your findings.
-"queryOrdersBySearchTerm" takes up the most time and has the most issues. It has to go through literally everything to try and find a match and this O(n) is very inneficient.
* Recommend a solution for improving the performance of those most problematic request(s) / permiatation(s).
-Implement a way of sorting the data so that it makes it quicker to find specific items, or limit the searches to more specified searches.

# Step 7: Submitting a Pull Request
_Note: No lab notes required._
Expand Down
11 changes: 8 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.