전체 글 (227) 썸네일형 리스트형 3주차 - 랜덤I/O, 순차 I/O와 인덱스, B+Tree, B-Tree 질문 1. 랜덤 I/O와 순차 I/O에 대해서 설명해주세요. 랜덤 I/O vs 순차 I/O 랜덤 I/O는 디스크에서 비연속적인 위치에 있는 데이터를 읽는 방식이며, 순차 I/O는 데이터를 연속적인 순서로 읽는 방식이다. - 당연하게도 순차 I/O가 더 빠르다. (디스크 상의 연속적인 위치에 저장) - 데이터베이스 시스템에서는 종종 랜덤 I/O가 필요하다. 데이터베이스에는 다양한 쿼리가 수행되며, 이 쿼리들은 테이블의 여러 위치에 저장된 데이터를 요구하기 때문. 특히 인덱스 검색이나 특정 조건에 맞는 레코드 검색과 같은 작업에서 랜덤 I/O가 필수적이다. - 인덱스 레인지 스캔은 데이터를 읽기 위해 주로 랜덤 I/O를 사용하며, 풀 테이블 스캔은 순차 I/O를 사용한다. 2. 인덱스에 대해서 설명해주세요... Pinpoint와 Scouter 주요 기능 분석 구성 Diagram(Flow) 라이브러리 버전 ### OS centOS 7 openJDK 1.8 ### pinpoint pinpoint : 2.3.3 hbase : 1.4.6 flink : 1.6.3 ### scouter scouter : v2.20.0(latest) scouter paper : 2.6.4 Latest 구성 환경은 다음과 같다. Pinpoint DashBoard 1. Server Map - Dashboard의 형태로 Agent가 심어진 서버와 연관된 모듈간의 Flow 및 흐름 시각화 제공 2. RealTime Active Thread Chart Active Thread Chart의 경우만 리얼타임이였는데, 1.5.2 version부터 Scatter Chart(3)까지 리얼타임으로 제공하고.. [Pinpoint]startTimestamp must be less than endTimestamp 에러 오류 상황 java.lang.IllegalArgumentException: startTimestamp must be less than endTimestamp at com.navercorp.pinpoint.web.vo.timeline.inspector.AgentStatusTimelineBuilder$AgentLifeCycle.(AgentStatusTimelineBuilder.java:311) at com.navercorp.pinpoint.web.vo.timeline.inspector.AgentStatusTimelineBuilder$AgentLifeCycle.(AgentStatusTimelineBuilder.java:300) at com.navercorp.pinpoint.web.vo.timeline.insp.. Pinpoint 구축 완료 및 Shell Script(boot, close) Flink Data스트림 에러 해결 및, 실행/ 중지를 스크립트를 통해 관리하게 하였다. boot.sh ######parameter####### HBASE_HOME="/opt/hbase-1.4.6/bin" HBASE_LOG="/opt/hbase-1.4.6/logs" FLINK_HOME="/opt/flink-1.6.3/bin" PINPOINT_HOME="/opt/pinpoint/pinpoint" PINPOINT_VERSION="2.3.3" ###parameter for log dir CURRENT_TIME=$(TZ="Asia/Seoul" date +"%Y%m%d_%H%M") FLINK_JOB_DIR="/opt/script/logs/flink_job" PINPOINT_WEB_DIR="/opt/script/l.. Scouter 설치와 적용 자세한 정리와 핵심 요약 포스팅 https://csg1353.tistory.com/168 [포팅 메뉴얼] 스카우터(Scouter), 핀포인트(Pinpoint) 설치 가이드 - 1 핀포인트(Pinpoint)의 경우 문서가 길어져 분리하였다. 다음 링크를 참조할 것 : 이번 포스팅에서는, Scouter와 Pinpoint를 Linux 환경에 구축하는 메뉴얼을 작성하였다. 환경 사양의 경우 다음과 같다. csg1353.tistory.com 해당 포스팅을 바탕으로 새롭게 포스팅을 작성하였다. 구조도 나의 경우는 Collector(Linux 서버1), Tomcat 설치된 별도 서버(Linux 2), 그리고 Windows Client 환경을 사용하였다. CentOS 7 version 사용. Server .. 기본적인.. Pinpoint - flink 연동 2 https://csg1353.tistory.com/145 Pinpoint - Application Inspector 기능 적용 (Flink 연동) https://pinpoint-apm.github.io/pinpoint/applicationinspector.html#application-inspector-1 How to use Application Inspector | Leading Open-Source APM English | 한글 Application Inspector 1. Introduction Application inspector provides an aggregate view of csg1353.tistory.com 이전 게시글에서 이어서 리부트를 실행하였음. 환경 변수 밀어버린 이후 에러 발생.. Pinpoint - Application Inspector 기능 적용 (Flink 연동) https://pinpoint-apm.github.io/pinpoint/applicationinspector.html#application-inspector-1 How to use Application Inspector | Leading Open-Source APM English | 한글 Application Inspector 1. Introduction Application inspector provides an aggregate view of all the agent’s resource data (cpu, memory, tps, datasource connection count, etc) registered under the same application name. A separate view is .. pinpoint - dapper, 분산 추적에 대해 pinpoint와 dapper Google Dapper는 구글이 개발한 대규모 분산 시스템을 위한 추적 시스템이다. MSA에서 성능 문제를 진단하고, 시스템 내부에서 발생하는 복잡한 트랜잭션들을 추적하는 데 사용된다. Dapper는 분산 시스템의 성능 분석 및 모니터링을 가능하게 하며, 추적 데이터를 활용해 문제를 해결하는 데 도움을 준다는 점에서, Pinpoint가 이를 모델로 사용한 이유를 조금은 알 것 같았다. Dapper에 대해 : 분산 추적 Dapper는 분산 시스템 내의 모든 마이크로서비스 간의 요청과 응답을 추적한다. 각 요청에는 고유한 식별자(Trace ID)가 할당되어, 서비스 간을 이동하면서 해당 요청을 추적할 수 있다. HTTP 요청이 존재하는 상황이라고 가정 : HTTP Header.. 이전 1 ··· 11 12 13 14 15 16 17 ··· 29 다음