Skip to Content
이벤트 기반 마이크로서비스 구축
book

이벤트 기반 마이크로서비스 구축

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
136
이벤트 기반 마이크로서비스 구축
처리 시간(
processing
time
)
컨슈머가 이벤트 처리를 완료한 월클럭 시간
스트림 처리기
마이크로서비스
컨슈머
인입 시간
파티션
0
파티션
1
처리 시간
브로커
인입 시간
이벤트 시간
이벤트 브로커이벤트 프로듀서
그림
6-1
입력 이벤트를 타임스탬프 순서대로 정렬
[그림
6
-
1
]에서 보다시피, 이벤트가 발생한 시간은 이벤트 브로커를 통해 컨슈머로 전파되므
로 컨슈머 로직은 이 시간을 기반으로 뭔가 결정을 내릴 수 있습니다. 이 장을 시작하면서 화두
로 던졌던 세 가지 질문에 점점 다가가고 있는 느낌이네요. 그런데 타임스탬프는 어떻게 생성
되는 걸까요?
6.2.1
분산 타임스탬프 동기화
독립된 두 시스템의 시스템 클럭 시간을 정확하게 동일하게 맞추기란 물리적으로 불가능합니
다. 내부 클럭 회로 소자의 공차
tolerance
나 칩의 작동 온도 편차
variation
, 동기화 도중에도 일정치
않은 네트워크 통신 지연 등 다양한 물성 탓에 시스템 클럭의 정밀도는 떨어질 수밖에 없습니
다. 그러나 로컬 시스템의 클럭 시간을 ‘거의
nearly
’ 동기화할 수는 있으니 이 정도면 대부분의 컴
퓨팅 목적으로는 충분합니다.
클럭 타임은 주로 네트워크 타임 프로토콜
Network
Time
Protocol
(
NTP
) 서버와 동기화합니다. 아마
존, 구글 등의 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

케이시 시에라, 버트 베이츠
클라우드 핀옵스: 비용은 최소화 운영은 최적화

클라우드 핀옵스: 비용은 최소화 운영은 최적화

오성근, J. R. 스토먼트, 마이크 풀러

Publisher Resources

ISBN: 9791162244173