Skip to Content
데이터 엔지니어를 위한 97가지 조언
book

데이터 엔지니어를 위한 97가지 조언

by Tobias Macey, 임혜연(Lim Hye Yeon)
November 2023
Beginner to intermediate
344 pages
3h 47m
Korean
Gilbut
Content preview from 데이터 엔지니어를 위한 97가지 조언

01 서점 재고관리 시스템으로 알아보는 최종 일관성

 

데니즈 쾨슬러 고스넬(Denise Koessler Gosnell) 박사

여러분이 서점 주인이라고 생각해보세요.1 언젠가는 서점에 있는 모든 책의 재고 목록을 관리하는 시스템을 만들고 싶을 겁니다.

처음에는 한 곳에 약 천여 권의 책을 둘 수 있도록 설계된 시스템을 선택했습니다. 이 시스템은 고객이 계산하는 동안 재고 기록을 갱신합니다. 고객이 책을 사러 계산대로 오면 재고 관리 시스템은 다음 순서로 일합니다.

 

1. 원장ledger에서 재고 세부 사항을 확인합니다.

2. 새 구매를 기록합니다.

3. 모든 기록을 갱신합니다.

4. 고객에게 영수증을 돌려줍니다.

 

영수증을 통해 고객이 책을 구매했고 그에 맞춰 재고 관리 시스템이 최신 정보로 갱신되었음을 확정합니다. 이런 재고 관리 시스템에서는 모든 거래가 강한 일관성strong consistency을 가져야 합니다. 여기서 강한 일관성이란 점포의 재고 장부 읽기 요청이 순차적으로 처리되며, 다음에도 재고 관리 시스템을 통해 읽는 상태가 동일하다는 의미입니다.

시간이 지나 서점이 아주 잘 되어서 늘어나는 고객층을 잡으려고 점포를 여러 곳 더 열게 되었습니다. 이제 여러 점포에 있는 재고를 어떻게 관리해야 할까요?

일단 현재 시스템 아키텍처를 ...

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

클라우드 엔지니어를 위한 97가지 조언

클라우드 엔지니어를 위한 97가지 조언

Emily Freeman, Nathen Harvey, 정기훈(Jung Ki Hun)
데이터 익명화를 위한 파이프라인

데이터 익명화를 위한 파이프라인

루크 아버클, 칼리드 엘 에맘
파이썬 라이브러리를 활용한 텍스트 분석

파이썬 라이브러리를 활용한 텍스트 분석

젠스 알브레히트, 싯다르트 라마찬드란, 크리스티안 윙클러

Publisher Resources

ISBN: 9791140706815