목록패스트캠퍼스 (34)
개발자는 기록이 답이다

Reactive Streams를 알기 위해서는 Reactive manifesto에 대해 알아야 한다. Reactive Streams를 만들기 위해 어떠한 조건과 구성요소를 갖춰야 한다고 선언하는게 Reactive manifesto이다. 1. Reactive란? 1. reacting to events or situations rather than acting first to change or prevent something 2. (무언가를 바꾸거나 예방하기 위해) 먼저 향동하기 보다는 사건이나 상황에 반응하는 2. Reactive manifesto 소프트웨어 아키텍처에 대한 선언문 구체적인 실천 방아나 이나 개발론을 갖고 있기 보다는 Reactive Streams 의 특성을 강조하고 구축에 필요한 가이드 ..

1. Reactive Streams의 역사 2011년 6월 MS 닷넷 프레임워크를 위한 Reactive Extensions 배포 2013년 2월 Netflix 기술 블로그에서 RxJava공개 (0.5버전) 2013년 9월 Reactive manifesto v1 공표 2013년 11월 Pivotal Project reactor 1.0.0 배포 2014년 9월 Reactive manifesto v2 공표 2014년 11월 Netflix RxJava 1.0 배포 2015년 4월 Reactive Streams 1.0 배포 2017년 8월 Reactive Stream 1.0.1 배포 2021년 8월 red hat의 mutiny 1.0배포 2. Netflix 트래픽 증가로 인한 문제 발생 https://www.in..

1. CompletableFuture public class CompletableFuture implements Future, CompletionStage { public static CompletableFuture supplyAsync(Supplier supplier) {...} public static CompletableFuture runAsync(Runnable runnable) {...} public boolean complete(T value) {...} public boolean isCompletedExceptionally() {...} public static CompletableFuture allOf(CompletableFuture... cfs) {...} public static Com..

Future와 CompletionStage 1. CompletableFuture 2014년에 발표된 java 8에 처음 도입 비동기 프로그래밍 지원 Lambda, Method reference 등 Java 9의 새로운 기능 지원 Lambda : 함수형 인터페이스에 좀 더 간소화된 표현식 Method reference : 콜론 2개(::)를 이용해서 함수에 대한 참조를 간결하게 표현 static method reference instance method reference constructor method reference 2. Future 인터페이스 public interface Future { boolean cancel(boolean mayInterruptIfRunning); boolean isCance..