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