티스토리 뷰

1. Order 서비스 구동하기

 

명령어

cd order

mvn spring-boot:run

2. Inventory 서비스 구동하기

 

명령어

cd inventory

mvn spring-boot:run

3. 초기 재고량 입력하기

 

- 초기 재고 10000개 입력

명령어

http :8082/inventories id=1 stock=10000

 

4. 부하 툴을 사용하여 동시 사용자 2명의 주문 10초간 넣기

 

명령어

siege -c2 -t10S -v --content-type "application/json" 'http://localhost:8081/orders POST {"customerId":1001, "customerId":1001, "productId":1, "qty":1}'

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2026/04   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
글 보관함