반응형
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
- Netty
- redis
- grafana
- Spring Open Feign
- mybatis
- argo cd
- spring boot redis
- spring boot
- Redis Sentinel
- docker-compose
- WebLogic
- MySQL
- KAFKA
- docker
- coalesce
- QueryDSL
- Airflow
- Hibernate
- vue.js
- RabbitMQ
- ChannelPipeline
- spring cloud
- Selenium
- netflix oss
- Docker Compose
- docker compose mysql
- JPA
- weblogic 10
- cassandra
- jmeter
Archives
- Today
- Total
목록BackOff (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