반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- RabbitMQ
- JPA
- Hibernate
- Airflow
- mybatis
- jmeter
- argo cd
- coalesce
- Netty
- Redis Sentinel
- redis
- weblogic 10
- Selenium
- Docker Compose
- docker
- docker-compose
- spring cloud
- KAFKA
- QueryDSL
- netflix oss
- Spring Open Feign
- spring boot
- grafana
- ChannelPipeline
- docker compose mysql
- WebLogic
- MySQL
- vue.js
- spring boot redis
- cassandra
Archives
- Today
- Total
목록api 재요청 시간 (1)
IT.FARMER
API call back off time(재요청 타시간)
back off 알고리즘 통신할때 충돌이 일어난 경우 일정시간동안 기다린후 다시 호출 하는 방식 /** * API 실행 실패에 대한 재시도 정책 적용 * Backoff Time = 재시도 횟수 * 3 SEC , 최대 3회 * * @param apiRequest * @return * @throws Exception */ private String apiCall(APIRequest apiRequest) throws Exception { int tryCount = 0; boolean isSuccess = false; String responseData = null; do { try { tryCount++; responseData = apiRequest.executeBlock(String.class); isSu..
JAVA
2019. 5. 7. 16:49