-
Notifications
You must be signed in to change notification settings - Fork 6
Week 3/seokyeong237 #12
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
base: week-3/Seokyeong237
Are you sure you want to change the base?
Week 3/seokyeong237 #12
Conversation
DongGeon0908
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- DB๋ฝ์ ๊ฑธ๋ฉด ๋ฐ์ํ๋ ๋ฌธ์ ๋ฅผ ์๊ฐํด๋ด์ผ ํ ๊ฒ ๊ฐ์์.
- ํ ์คํธ ์ฝ๋ ๊ธฐ๋ฐ์ผ๋ก ์์ฑํ์ ์ฝ๋์ ์ด์๋ฅผ ํ์ ํด๋ณด๋ ๊ฒ๋ ์ข์ ๊ฒ ๊ฐ์์.
| testImplementation 'org.springframework.boot:spring-boot-starter-test' | ||
| testImplementation 'com.mysql:mysql-connector-j' | ||
| // Swagger ์ค์ | ||
| implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.1.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๋ฒ์ ์ ์์๋ก ๊ด๋ฆฌํ๋ฉด, ๋์ค์ ํธํด์,
| @Lock(LockModeType.PESSIMISTIC_WRITE) | ||
| @Query("UPDATE Todo t SET t.viewCount = t.viewCount + 1 WHERE t.id = :todoId") | ||
| public void updateViewCount() { | ||
| viewCount++; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Db์ ๋ฝ์ ๊ฑธ๋ช
๋ฐ์ํ๋ ๋ฌธ์ ๋?
๊ทธ๋ ๋ค๋ฉด, ๊ทธ๊ฒ์ ํด๊ฒฐํ๋ ๋ฐฉ๋ฒ์ผ๋ก๋!
๐ Summary
๐ฉโ๐ป Contents
[Swagger]

[Jacoco]


[์กฐํ์ API]


Jmeter๋ฅผ ์ด์ฉํ์ฌ 500๋ช ์ ์ ์ ๊ฐ 5์ด ๋์ ์กฐํํ ๋ ์กฐํ์๊ฐ ์ ์์ ์ผ๋ก ์ฆ๊ฐํ๋์ง๋ฅผ ํ์ธํ์์ต๋๋ค.