Home
leeyh0216's devlog
Cancel

Streaming Systems - Streaming 101

Streaming 101 스트리밍 데이터 처리는 다음과 같은 장점을 가지고 있다. 배치 시스템에 비해 낮은 레이턴시를 보장할 수 있는 방법이다. 무한한 크기의 데이터를 처리하는 시스템을 통해 거대하고 Unbound 된 데이터를 처리할 수 있다. 데이터를 처리 워크로드를 분산시킬 수 있다. 스트리밍 시스템은 무한한 데이터를 처리할 수...

Spring IoC Container - Container, Bean overview

The IoC Container Introduction to the Spring IoC Container and Beans Inversion of Control(IoC, 제어의 역전)은 Dependency Injection(DI, 의존성 주입)로도 알려져 있다. 객체는 자신이 동작하는데에 필요한 의존성(객체)을 생성자 팩토리 메서드의 인...

Spring + MongoDB + Docker 조합 사용 테스트

프로젝트 초기화 git 초기화 Git 페이지에서 spring_mongodb_docker Repository를 초기화한다. git pull https://github.com/leeyh0216/spring_mongodb_docker.git 명령어를 통해 로컬로 Clone 한다. gitignore.io ...

Spring Core Technologies - Annotation-based container configuration(1)

Annotation-based container configuration 어노테이션 방식의 설정이 XML 방식의 설정보다 나은가? 어노테이션 방식과 XML 방식은 각각 장/단점이 있기 때문에, 어느 것이 낫다고 말할 수는 없다. 어노테이션 방식의 경우 명료하고 정확한 설정을 할 수 있도록 선언 내부에 많은 컨텍스트를 포함하고 있다는 장점이 있다....

Spring Core Technologies - Customizing the nature of a bean

Customizing the nature of a bean Lifecycle callbacks Spring에서 제공하는 InitializingBean 혹은 DisposableBean 인터페이스를 구현한다면, Bean의 Lifecycle을 Container에게 위임할 수 있다. Container는 Bean 생성 과정에서는 afterPropertie...

Spring Core Technologies - Bean Scopes

Bean Scopes Bean Definition을 만든다는 것은, Bean으로 생성할 클래스를 통해 어떻게 객체를 만들어 내는지에 대한 방법(Recipe)을 만들어 내는 것이다. Bean Definition에는 생성할 Bean의 의존성(Dependency) 설정값(Configuration values) Scope 이 포함된다. ...

Spring with RabbitMQ(2)

Spring with RabbitMQ RabbitMQ에서 사용하는 AMQP 0-9-1 모델과 RabbitMQ의 컨셉을 정리하기 위해 작성하였다. Spring과의 자세한 매핑은 이후 글에서 작성할 예정 AMQP 0-9-1 Model High-level Overview of AMQP 0-9-1 and the AMQP Model What is...

Spring with RabbitMQ(1)

Spring with RabbitMQ Pre Requirements RabbitMQ 3.6 RabbitMQ 설치(Docker) RabbitMQ를 물리 서버에 설치하기 위해서는 Erlang 설치를 선행한 후 RabbitMQ를 설치해야 하지만 테스트 용도이기 때문에 Docker로 설치 진행한다. Docker Hub의 RabbitMQ 페이지...

Spring Core Technologies - The IoC Container(4)

The IoC Container Dependencies 간단한 어플리케이션부터 기업형 어플리케이션까지 하나의 객체로만 동작하는 프로그램은 없다. 적어도 몇개의 객체들이 서로 상호작용하며 어플리케이션을 구성하고 있다. Dependency Injection 의존성 주입(Dependency Injection, D.I)은 객체들이 자신의 의존성(의존 ...

Inversion of Control Containers and the Dependency Injection pattern

이 글은 Martin Fowler의 Inversion of Control Containers and the Dependency Injection pattern을 요약 정리한 글입니다. Inversion of Control Containers and the Dependency Injection pattern 많은 오픈소스들은 J2EE 기술에 ...