일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 탐색
- forkandjoinpool #threadpool #jvm #async #non-blocking
- spring cloud netflix zuul
- test
- docker
- Spring Data Redis
- Eureka
- dfs
- netflix
- container image #docker #layer #filesystem #content addressable
- spring cloud netflix
- 서비스스펙
- Dynamic Routing
- unit
- springcloud
- spring cloud
- netflix eureka
- unittest
- zuul
- microservice architecture
- code refactoring
- spring cloud netflix eureka
- Java
- java #jvm #reference #gc #strong reference
- 설계
- api-gateway
- 단위테스트
- BFS
- reactive
- Today
- Total
목록Docker & Kubernetes (3)
phantasmicmeans 기술 블로그
docker0, container network의 구조 NOTE 아래 그림은 docker의 network 구조를 간단히 도식화한 것이다. 여기서는 docker를 설치하면 가장 먼저 볼 수 있는 docker0 interface와 container network에 대해 알아본다. 1. docker0 interface Docker host를 설치한 후 host의 network interface를 보면, docker 0 이라는 interface를 볼 수 있다. $ifconfig 이 docker0 interface의 특징은, IP는 자동으로 172.17.0.1로 배정된다. IP는 DHCP로 자동할당이 되는 것이 아니고, docker 내부 로직에 따라 자동할당 된다. 이 docker0은 일반적은 interface가..
Mesh Network 메시 네트워크(mesh network)는 각각의 노드가 네트워크에 대해 데이터를 릴레하는 네트워크 토폴로지이다. 모든 메시 노드들은 네트워크 내의 데이터 분산에 협업한다. 출처 - wikipedia Service Mesh MicroService Architecture 시스템의 서비스간 통신이 Mesh Network 형태를 띄는것에 빗대어 명명 MSA 시스템이 커지고 서비스가 점점 증가하고 관리가 어려워지고.. 통신, 메트릭, 보안 등등 서비스간의 상호 동작이 복잡해지고 있다. A. 서비스가 몇개더라? 몇개의 서비스가 있지? 서비스 당 인스턴스는 몇개나 존재하지? 서비스 인스턴스에 로드밸런싱은 어떻게 하지? 잘 떠있나? B. 저기서 장애가! A -> B -> 외부 API 외부 API..
Docker에서 Container Image는 layer의 연속이다. 각 레이어는 Dockerfile에서의 각 명령(instruction)을 대표한다. 가장 상단의 layer를 제외하고는 모두 Read Only이다. 갑자기 가장 상단의 layer는 제외하고 Read Only라니 무슨 말인지 이해가 안될 것이다. 이에 대한 설명은 바로 아래에 있다. 1. Container Image, Writable Layer FROM ubuntu:16.04 COPY . /app RUN make /app CMD python /app/app.py 위 Dockerfile은 4개의 command를 가진다. 각 command는 layer를 생성하게 된다. 각 Layer는 stack 처럼 쌓인다. 또한 각 layer는 바로 이전 ..