Definition The software architecture of a program or
- Slides: 24
소프트웨어 아키텍처의 정의 § Definition - “ The software architecture of a program or computing system is the structures of the system, which comprise the software elements, the externally visible properties of those elements, and the relationships among them” § Software Architecture - Architecture of Software Intensive System - Software + Hardware ( Knowledge ) § Software Intensive System - 소프트웨어에 의해서 핵심 기능들이 수행되는 소프트 웨어 중심의 시스템. - 단지 소프트웨어 만을 의지하지는 않으며, H/W도 포함 됨 2
금융 부분의 아키텍처 개념도 § 멀티 레이어 아키텍처로 일반적으로 채널 부분과 Integration부분, Core Business 부분이 레이어 상에 분리되어 있으며, 레이어는 다시 개별 시스템으로 세분화 § § 5 Client ü Web Broswer, 전용 소프트웨어 ü 외부 시스템 Multi Channel ü B 2 B 연계 부분 ü Call Center ü 통합 단말 (내부 사용자) ü 웹 기반 고객 서비스 § Channel Integration Hub ü ESB, EAI, MCI 솔루션 § Core Business ü CRM ü Customer Data Integration § Data Integration ü Data Analysis ü Data Warehouse Service Consumer Call Center 통합 단말 서버 대외 채널 (B 2 B Service Gateway) ESB / EAI Integration Micro-Flow Service Provider Secured Zone ( B 2 B ) Orchestration Channel Integration Core Business Component Data Analysis, Data Warehouse
금융 차세대 소프트웨어 아키텍처 이미지 § SOA 사상이 반영되어 코어 비즈니스 어플리케이션과 채널이 분리되고 대내외 채널 통합을 위한 Integration Layer 기반의 차세대 소프트웨어 아키텍처의 전형적인 이미지 § Q) 영역별 각 프레임워크의 구조와 설계는 유사할까? Multi Channel Layer Interface Layer Channel (Web) Operation Layer UI Integrity Channel (Call Center) Workflow Layer Application Logic Layer UI Model SSO A&A Presentation Controller Business Delegate Integration Adaptor Web Collaborator Message Broker Outgoing Agent IQ Processor In Queue Out Queue Business Delegate OQ Processor Incoming Agent Interface Layer Channel Framework Business Utility Record & Log Manager Web Services Integrity Channel Integrator Integration Adaptor Business Façade Domain Logic Layer Business Façade Recording &Logging Application Database Layer Data. Access Layer Record Repository Business Class DAO Class Business Collaborator Business Component Persistance Component Business Worker Business Class DAO Class Business Collaborator Business Class DAO Class Business Utility IQ Processor Integration Adaptor In Queue Out Queue Application Framework OQ Processor Integration Framework Interface Exchanger 6 Adaptor/Agent Application Builder Core Library Generic Platform DAO Platform Data. Base & Information Storage Channel (ASP) Business Application Layer Operation Data Ware House Data Mart
온라인 배치 ( = Center Cut ) 프로세스 § 처리 프로세스 : 대량의 온라인 업무에 대한 일괄 처리 ( 급여 이체, 지급 등) § 처리 구조 : 온라인 업무의 병렬적 처리를 위해 입력 테이블에서 읽어 들여 멀티 프로세스 & 쓰레드 구조로 병 행 처리함. Online Batch 처리 구조도 배치 프로그램 배치 스케줄러 job 1 ~ 10000 job 601 ~ 10000 job 201 ~ 300 job 10001 ~ 20000 job 20001 ~ 30000 job 30001 ~ 40000 1 ~ 100 101 ~ 200 201 ~ 300 301 ~ 400 401 ~ 500 501 ~ 600 Job Admin Quartz Controll er Job Scheduler 통제정보 (재처리 및 결과 통계) § Policy Data § Engine 1 Thread Common ( Con. Pool. ) Sprin g Online Batch Engine Thread Business Logic § Engine 4 Sprin g Batch Thread output Table Thread § Business Data Thread Common ( Con. Pool. ) Sprin g Online Batch Engine Thread Business Logic § Engine 3 Sprin g Batch Thread Thread Common ( Con. Pool. ) Sprin g Online Batch Engine Thread Business Logic § Engine 2 Sprin g Batch Thread Sprin g Online Batch Engine Thread Sprin g Batch Input Table 15 Online Batch Scheduler Script Thread 작업 종료 시간 예측 관리자는 분산된 서버에서 실행 중인 작업의 진 행 상황과 예상 완료 시간을 통제 Admin에서 원 하는 시점에 볼수 있어야 한다. Online Batch Admin Daemon Agent Thread 처리 Thread 통제 분산 처리 기반의 운영 시에 각 Thread별로 업무 처리를 통제 Admin에서 중단 시키면, 각 Thread 는 트랜잭션의 완료 후에 작업을 중단해야 한다. Admin UI ( GWT on Tomcat ) 예) Commit단위 : 100건 601 ~ 700 701 ~ 800 801 ~ 900 901 ~ 1000 품질 속성 시나리오 § Batch Scheduler §Online Batch Admin Business Logic Common ( Con. Pool. )
개발 프레임워크 – 아키텍처 예시 § Eclipse 기반의 개발 프레임워크 구조 - Eclipse 기반으로 개발 관점의 필요한 기능들을 완성하고 서버와 연계 통합 시킴 Eclipse IDE Package Explorer 개발 서버 업무 시스템 Eclipse Plug-In 모듈 관리 Plug-In Deploy & Analyzer Business Logic Test Agent I/O 관리 Plug-In Java Editor Parser (AST) Source Handler 모듈 테스트 Plug-In Run-Time Core Template Engine Framework Server Adaptor Deployment Manager Server Source Code DAO 모듈 구조 시각화 Plug-In Local Source Code 18 형상 관리 Configuration Item Meta DB 업무 DB
신뢰성 대응 기능 상세화 – 실행 서비스 예외 처리 § 선언적 예외 처리 - 서비스 Online 처리를 지원하기 위한 기능의 하나 - 예외 상황의 발생은 일괄적으로 잡아내어 기록하고, 관리자에게 통보. - 신뢰성 품질속성 시나리오에서 도출됨 선언적 예외처리 구조 선언적 예외처리 개요 2: 서비스 1: Request Processor 화면 화면 에러화면 7: Forword load Config XML 코어 비즈니스 S/W 아키텍처 개념도 Message. Resouce Service Façade 20 Business Utility Record & Log Manager Business Utility Recording &Logging Application Business Class 메소드 Call 5: throw Business Exception Handler 3: 메소드 Call 컴포넌트 DAO 4: throw Exception XXException Base. Exception Factory Record Repository Properties 파 msg_ko DAO 일 Class msg. err=실패 Data 1 msg. success=성공 DAO Class Business Component Business Worker Business Class DAO Class Business Collaborator Business Class DAO Class id locale Msg msg. er r ko 실패 msg. er r en fail msg_en msg. err=fail Persistance msg. success. Data 2 Component =success Business Collaborator Database Data 3 <global-exceptions> <exception path=“ktf. Errorpage" key="" type="com. ktf. exception. DCCException" handler=“com. dccexception. handler. Exception. Handler" /> <exception path=“dcc. Errorpage" key="" type="java. lang. Exception"/> </global-exceptions> § 설정 파일을 이용한 선언 적인 예외 처리 § Exception. Handler를 통 한 일관성 있는 예외처리 가능 ( 중복코드 제거) § Exception API를 이용 한 표준화된 예외처리 방 법 제공 § 사용자 로케일에 따른 key, value쌍의 properties File 형태의 메시지 리소스 사용가능 § Database를 이용한 메시 지 리소스 활용 가능
이야기의 끝. § Question & Answer ? § 감사합니다. 23 v E-mail : ch. h. baek@samsung. com , parnx@naver. com v 블로그 : http: //blog. naver. com/parnx
- The architecture business cycle
- Data centered architecture
- What does architecture mean in software
- 소프트웨어 아키텍처 예시
- Hình ảnh bộ gõ cơ thể búng tay
- Frameset trong html5
- Bổ thể
- Tỉ lệ cơ thể trẻ em
- Voi kéo gỗ như thế nào
- Tư thế worms-breton
- Chúa sống lại
- Các môn thể thao bắt đầu bằng từ đua
- Thế nào là hệ số cao nhất
- Các châu lục và đại dương trên thế giới
- Cong thức tính động năng
- Trời xanh đây là của chúng ta thể thơ
- Mật thư anh em như thể tay chân
- Làm thế nào để 102-1=99
- Phản ứng thế ankan
- Các châu lục và đại dương trên thế giới
- Thơ thất ngôn tứ tuyệt đường luật
- Quá trình desamine hóa có thể tạo ra
- Một số thể thơ truyền thống
- Cái miệng xinh xinh thế chỉ nói điều hay thôi
- Vẽ hình chiếu vuông góc của vật thể sau