Skip to content

Commit 97758f3

Browse files
authored
Merge pull request #1 from KaranSinghG/develop
Create a simple unoptimized DB call
2 parents 41b6292 + 0005823 commit 97758f3

16 files changed

Lines changed: 795 additions & 3 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/mvnw text eol=lf
2+
*.cmd text eol=crlf

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
HELP.md
2+
target/
3+
.mvn/wrapper/maven-wrapper.jar
4+
!**/src/main/**/target/
5+
!**/src/test/**/target/
6+
7+
### VS Code ###
8+
.vscode/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wrapperVersion=3.3.4
2+
distributionType=only-script
3+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
A practical deep-dive into identifying and resolving database bottlenecks,
44
specifically the N+1 query problem and missing indexes in Spring Data JPA.
55

6-
## 📊 Performance Baseline (Unoptimized)
6+
## Performance Baseline (Unoptimized-Data-small)
77
- **Data Volume:** 1,000 Customers, 20,000 Orders
8-
- **Endpoint:** `/api/customers/report`
8+
- **Endpoint:** `/api/orders/all`
99
- **Total DB Queries Executed:** 1,001
10-
- **Average Response Time:**
10+
- **Average Response Time:** 83 ms (10 calls)
11+
12+
## Performance Baseline (Unoptimized-Data-large)
13+
- **Data Volume:** 10,000 Customers, 2,000,000 Orders
14+
- **Endpoint:** `/api/orders/all`
15+
- **Total DB Queries Executed:** 1,001
16+
- **Average Response Time:** 7.06 s (10 calls)

mvnw

Lines changed: 295 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)