분류 전체보기
-
[Linux] 잘못된 해시 값카테고리 없음 2024. 9. 10. 14:49
리눅스에서 sudo apt-get update 명령어를 수행할 때, 해시 합이 맞지 않는다는 오류 메시지가 출력될 때가 있다.# Cache 초기화sudo apt-get cleansudo rm -rf /var/lib/apt/lists/*# apt 정보 업데이트sudo apt-get update -o Acquire::CompressionTypes::Order::=gzsudo apt-get upgrade -ysudo apt-get update다음과 같은 명령어를 입력하게 되면 해결된다.
-
모놀리스/마이크로서비스Data Engineer 2024. 8. 28. 08:54
모놀리스가능한 한 많은 것을 한 지붕 아래에 포함하는 것 - 기술 결합(아키텍처 계층)과 도메인 결합(도메인이 결합하는 방식)의 두 가지 방식으로 살펴볼 수 있다다중 계층 아키텍처에는 다양하게 계층이 분리된 애플리케이션이 있지만, 여러 도메인을 공유할 수도 있다.단일 도메인을 제공하는 단일 계층 아키텍처를 사용할 수도 있다. 모놀리스의 강한 결합은 컴포넌트의 모듈화가 부족하다는 것을 의미아키텍처 전체에서 컴포넌트를 재사용하기 어렵고, 불가능하다 마이크로서비스복잡하게 뒤얽힌 서비스, 중앙 집중화, 서비스 간의 강한 결합과 같은 모놀리스 속성과 정반대- 개별적이고 분산되어 있으며 느슨하게 결합된 서비스로 구성, 각 서비스는 특정 기능이 있으며 도메인 내에서 운영되는 다른 서비스와 분리- 한 서비스가 일시적으..
-
[HAE Cloud] [DAY 1-2] DatabaseHAE Cloud 2024. 8. 27. 11:27
1-2일차가 빠르게 지나갔다.적응 기간이지만, JOIN 부분과 수요일 부터 배울 DCL, DDL 부분은 상당히 중요할 것으로 보인다.create database [데이터베이스 명]use [데이터베이스 명]5 SELECT1 FROM2 WHERE3 GROUP BY4 HAVING6 ORDER BYuse mysql;create database lim;use lim; -- emp table에서 부서번호 별로 그룹화한후 월급의 평균을 조회하시오단 동일한 부서번호가 4번 이상인 것만 조회 select deptno, avg(sal)from empwhere count(deptno) >= 4group by deptno -- sub query--- emp table에서 사원명이 밀러인 사원과 동일한 부서의 사원명을 조회 s..
-
-
Schema On ReadData Engineer 2024. 8. 20. 15:55
Legacy : Schema on Write(RDBMS)관계형 데이터베이스와 연동된 기존 시스템에서는 RDBMS에 데이터를 배치하기에 앞서 데이터 스키마를 완벽하게 확정하는 데 모든 노력을 집중데이터 스키마를 확정하려면 시스템 성능과 데이터 사용 패턴 등의 여러 사항을 사전에 고려해야 했고, 시스템 성능과 데이터 사용 패턴 등의 여러 사항을 사전에 고려데이터가 복잡한 경우 데이터 스키마 합의에 상당한 시간이 소요되어 데이터 입수 및 분석 작업이 지연되는 결과를 초래 Schema on Read(NoSQL)입수된 데이터가 실행 시점에 해석됨데이터를 읽어들이는 스키마가 디스크에 저장된 데이터의 실제 구조와 분리 -> 데이터 저장/해석도 별개로 분리 가능데이터를 서로 다른 형식으로 저장하면서도 이를 동일한 테이..
-
[Intern] Git Action 오류Intern 2024. 7. 26. 12:48
# cauldron Error : git actions 실행 시 repo를 찾지 못하는 문제# 원인 : ssh key 권한 x (Permission Denied) --> key update[Update]github profile > settings > SSH and GPG keys > 로컬 내 id_rsa.pub 붙여넣기(public key)github repo > settings > Security - Secrets and variables > actions > Repository secrets에서 New repository secret > 로컬 내 id_rsa 붙여넣기(private key)[github ssh key를 이용한 git action]계정 내 public_key와 repo 내 privat..
-
MVC 패턴Intern 2024. 7. 12. 09:09
- 사용자 인터페이스, 데이터 및 논리 제어를 구현하는데 널리 사용되는 소프트웨어 디자인 패턴- 소프트웨어의 비즈니스 로직과 화면을 구분하는 데 중점- MVVM, MVP, MVW 등의 파생 모델 존재 * Model : 데이터와 비즈니스 로직 관리앱이 포함해야할 데이터가 무엇인지를 정의* View : 레이아웃과 화면 처리앱의 데이터를 보여주는 방식* Controller : Model과 View로 명령을 전달 앱의 사용자로부터의 입력에 대한 응답으로 모델 및/또는 뷰를 업데이트하는 로직을 포함 MVC를 지키기 위한 5원칙1. Model은 Controller와 View에 의존하지 않아야 한다.2. View는 Model에만 의존해야 하고, Controller에는 의존하면 안된다.3. View가 Model로부터 ..
-
[CS] Disk SeekComputer Science 2024. 7. 9. 16:55
Disk SeekHDD의 주요동작디스크의 특정 위치로 Read/Write 헤드를 이동시키는 과정데이터 접근 시간의 중요한 요소 + HDD 성능에 큰 영향 플래터트랙 섹터실린더 읽기/쓰기 헤드 과정명령 수신: CPU가 특정 데이터 위치를 요청합니다.트랙 이동: 액추에이터가 명령된 트랙으로 읽기/쓰기 헤드를 이동시킵니다.섹터 위치 조정: 플래터가 회전하여 요청된 섹터가 헤드 아래로 옵니다.데이터 접근: 요청된 데이터를 읽거나 씁니다. Seek Time시크 시간은 읽기/쓰기 헤드가 한 트랙에서 다른 트랙으로 이동하는 데 걸리는 시간입니다. 평균 시크 시간(Average Seek Time)은 임의의 두 트랙 사이의 이동 시간의 평균을 나타냅니다. 시크 시간은 HDD 성능에 큰 영향을 미치며, SSD에서는 논리..