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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
210
2
구현
단, 이와 같은 조치를 고려하기 전에 소비자들이 업그레이드하도록 하기 위해 다른 합리적인
노력을 모두 기울였는지 반드시 확인해야 한다!
5.85.8
마이크로서비스 세계에서 마이크로서비스 세계에서
DRYDRY
와 코드 재사용의 위험와 코드 재사용의 위험
개발자라면
DRY
Don
t
Repeat
Yourself
(‘반복하지 말라’라는 의미다 )라는 약어를 종종 듣게 된다. 코
드 중복을 피하려고 정의를 단순화하는 경우도 있지만,
DRY
는 시스템 동작과 지식의 중복을
피하고 싶다는 의미며 일반적으로 매우 현명한 조언이다. 동일한 작업을 수행하는 코드 라인이
많으면 코드베이스가 필요 이상으로 커져 파악하기가 더 어려워진다. 동작을 변경하려고 할 때
해당 동작이 시스템의 많은 곳에 복제돼 있다면 변경할 때 빠뜨리기 쉽고, 버그로도 이어질 수
있다. 따라서 일반적으로
DRY
는 ‘기도문’으로 사용하는 것이 적합하다.
DRY
는 재사용할 수 있는 코드를 만들도록 유도한다. 중복된 코드를 모아 추상화한 다음 여러
곳에서 호출할 수 있으며, 아마도 어디에서나 사용할 수 있는 공유 라이브러리를 만드는 단계
까지 갈 것이다! 하지만 마이크로서비스 환경에서 코드를 공유하는 것은 그보다 좀 더 복잡한
것으로 밝혀졌다. 항상 그렇듯이 고려해야 할 사항이 여러 가지다.
5.8.15.8.1
라이브러리를 통한 코드 공유 라이브러리를 통한 코드 공유
어떤 대가를 치르더라도 피하고 싶은 상황은 마이크로서비스와 소비자를 지나치게 결합해 마
이크로서비스 자체의 ...
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