Skip to Content
마이크로서비스 아키텍처 구축(전면 개정판)
book

마이크로서비스 아키텍처 구축(전면 개정판)

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
530
2
구현
보자. 이 요청에서는 데이터베이스 수준에서 비용이 많이 드는 조인 쿼리가 포함될 수 있다. 이
쿼리의 결과를 캐싱할 수 있으므로 캐싱된 데이터가 무효할 때만 결과를 다시 생성하면 된다.
13.4.213.4.2
확장성을 위해 확장성을 위해
읽기를 캐시로 전환할 수 있다면 시스템 일부분에서 발생하는 경합을 피해 더 나은 확장성을
확보할 수 있다. 이 장에서 이미 다룬 데이터베이스 읽기 복제본을 사용하는 것이 그 예다. 읽
기 트래픽은 읽기 복제본에 의해 제공되므로 주 데이터베이스 노드의 부하가 줄어들어 읽기를
효과적으로 확장할 수 있다. 복제본에서 지난 데이터 읽기를 수행할 수 있다. 읽기 복제본은 결
국 주 노드에서 복제본 노드로의 복제를 통해 업데이트되며, 이러한 형태의 캐시 무효화는 데
이터베이스 기술에 의해 자동으로 처리된다.
더 넓게 보면, 확장성을 위한 캐싱은 원본이 경합 지점이 되는 모든 상황에서 유용하다. 클라이
언트와 원본 사이에 캐시를 배치하면 원본의 부하를 줄여 확장성을 높일 수 있다.
13.4.313.4.3
견고성을 위해 견고성을 위해
로컬 캐시에 전체 데이터 집합이 들어 있다면 원본이 가용하지 않을 경우에도 작동할 수 있으
므로 시스템의 견고성이 향상될 수 있다. 견고성을 위해 캐싱을 사용할 때 주의할 사항이 몇 가
지 있다. 가장 중요한 것은 오래된 데이터를 자동으로 제거하지 않도록 캐시 무효화 메커니즘
을 구성하고 업데이트할 수 있을 때까지 데이터를 캐시에 보관해야 한다는 것이다. 그렇지 않
으면 데이터가 ...
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

파이썬으로 살펴보는 아키텍처 패턴

파이썬으로 살펴보는 아키텍처 패턴

오현석, 해리 퍼시벌, 밥 그레고리
견고한 데이터 엔지니어링

견고한 데이터 엔지니어링

조 라이스, 맷 하우슬리
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀
개발 7년차, 매니저 1일차

개발 7년차, 매니저 1일차

권원상, 한민주, 카미유 푸르니에

Publisher Resources

ISBN: 9791169211192