exponential back-off
클라이언트의 재시도 간에 일정한 수준의 대기 시간을 유지하는 것을 백오프라고 하는데,
매 시도 후에 대기 시간이 지수적으로 증가하는 것을 지수 백오프라고 한다.
지수 백오프는 재시도 대기 시간이 기하급수적으로 증가하기 때문에 구현 시에는 백오프 제한의 최댓값을 설정한다.
↪︎ AWS Amazon Builders' Library - Timeouts retries and backoff with jitter
Exponential backoff is an algorithm that retries requests to the server based on certain status codes in the server response. The retries exponentially increase the waiting time up to a certain threshold. The idea is that if the server is down temporarily, it is not overwhelmed with requests hitting at the same time when it comes back up.
↪︎ Google HTTP Client for JAVA
이진 트리:
이진 탐색 트리:
인덱스란
- 언제 사용하며 어떻게 구현:
- 모든 컬럼에 대해 index를 설정할 수 있는지?:
SQL : 관계형 데이터베이스
NoSQL : 비관계형 데이터베이스
SQL
-
해시 테이블 (hash table)