Netflix OSS

출처: https://netflixtechblog.com/netflixoss-season-2-episode-1-b477d8879799


Spring Cloud


모놀리틱의에서의 의존성 호출


Failure as a First Class Citizen

출처: https://github.com/Netflix/Hystrix/wiki


Circuit Breaker - Hystrix

Hystrix 적용하기

@HystrixCommand 
public String anyMethodWithExternalDependency() {
 URI uri = URI.create("http://172.32.1.22:8090/recommended"); 
 String result = this.restTemplate.getForObject(uri, String.class); 
 return result; 
}