일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 자바
- 머신러닝
- 리액트 네이티브 프로젝트 생성
- 모두를 위한 딥러닝
- 정리
- 모두의네트워크
- 네트워크
- 깃 연동
- 백준 4358번
- 모두의 네트워크
- React Native
- 문자열
- 깃허브 토큰 인증
- 딥러닝
- 지네릭스
- 깃 터미널 연동
- 백준 4358 자바
- 백준
- 스터디
- 백준 5525번
- 깃허브 로그인
- 모두를위한딥러닝
- 데베
- HTTP
- 백준 4949번
- SQL
- 데이터베이스
- 리액트 네이티브 시작하기
- 팀플회고
- 리액트 네이티브
- Today
- Total
목록dev (34)
솜이의 데브로그
GET 프록시 객체 반환 실제 사용할 때 DB 접근 Lazy Loading 비어있는 객체를 반환할 경우 EntityNotFoundException 발생 FIND 프록시가 아니라 실제로 DB에서 값을 찾아옴 Optional 로 한번 감싸서 값을 가져옴. 해당 id의 값이 없다면 Null 반환 해당하는 Entity가 없을 경우 Optional.empty() 반환 정리 내부의 값을 필요로 하지는 않고 다른 객체에게 할당하는 목적으로만 조회하는 경우, getReferenceById 를 사용하면 성능상 이점이 있을 수 있다. getReferenceById 는 EntityManager의 getReference 메서드를 호출하여 참조값만 가져온 후, 조회된 entity의 내부 값이 필요해지는 시점에 lazy load..
orphanRemoval = true 설정하기 리스트를 지우고 새로 생성 그다음에 entitymanager 가 변경감지해서 persist @OneToMany(fetch = FetchType.LAZY, mappedBy = "picture", cascade = CascadeType.ALL, orphanRemoval = true) private List tagGroupList = Lists.newArrayList(); public void update(BoardCommand.RegisterBoardRequest request) { this.filePath = request.getFilePath(); var registerTagGroupRequestList = request.getRegisterTagGroupR..

Spring 프로젝트를 ecr, ecs를 이용해 배포해보자 내가 하고자하는 로직은 다음과 같다. 1. 스프링 프로젝트를 github action 이용해서 특정 브랜치에 머지할 때 배포되도록 하고자 함. 2. 배포는 먼저 ECR에 도커 이미지를 빌드해서 푸시한다. 3. ECS 를 이용해서 ECR에 있는 도커 이미지를 가지고 오고, EC2에 배포한다. 예제들이 보통 ECS를 사용하면 fargate를 사용하거나 스프링프로젝트가 아니었어서 대략적으로 작성해본다. 1. ECR 생성하기 AWS에서 Amazon Elastic Container Registry 를 생성한다. ECR은 원하는 대로 private 또는 public으로 이름을 지정하여 생성한다. 나는 private으로 진행하였다. 여기서 생성만 하면 끝난다..

Lab5 : Continuous Delivery with Jenkins in Kubernetes Engine Goal Learn how to set up a continuous delivery pipeline with Jenkins on Kubernetes engine. Jenkins is the go-to automation server used by developers who frequently integrate their code in a shared repository. Provision a Jenkins application into a Kubernetes Engine Cluster Set up your Jenkins application using Helm Package Manager Expl..

Lab4 : Managing Deployments Using Kubernetes Engine Goal provide practice in sacling and managing containers so accomplish common scenarios where multiple heterogeneous deployments are being used. What you'll do Practice with kubectl tool Create deployment yaml files Launch, update, and scale deployments Practice with updating deployments and deployment styles heterogeneous deployments include t..

Lab3 : Orchestrating the Cloud with Kubernetes Lab 목표 Kubernetes Engine을 활용한 Kubernetes cluster provision kubectl 이용한 도커 컨테이너 배포 및 관리 Kubernetes의 Deployments와 Services를 활용해 application을 microservice 로 쪼개기 gcloud config set compute/zone us-central1-b zone 설정 gcloud container clusters create io 클러스터 생성 1. Get the sample code gsutil cp -r gs://spls/gsp021/* . GitHub repository를 클론한다. gs 로 시작하는게 goo..

Google Kubernetes Engine은 배포, 관리 그리고 scaling your containerized application하는 기능을 제공한다. GKE 클러스터를 실행 시, benefits Load balancing for Compute Engine instances Node pools to designate subsets of nodes within a cluster for additional flexibility Automatic scaling of your cluster's node instance count Automatic upgrades for your cluster's node software Node auto-repair to maintain node health and ava..

세션 목표 Docker Container build, run, debug Docker Hub로부터 Docker images pull 하기 Google Container Registry 에 Docker image push 하기 Google Cloud Cloud Shell 은 development tools 와 로드되는 가상 머신이다. gcloud is the command-line tool for Google Cloud. It comes pre-installed on Cloud Shell and supports tab-completion. Auth list 확인 docker run hello-world 도커 데몬은 hello-world 이미지를 로컬에서 찾지 못하면 Docker Hub에서 이미지를 pull..