---
title: "Dongda (@dongE) | Hashnode"
description: "Connecting the dots. Read the latest articles by Dongda on Hashnode."
url: "https://hashnode.com/@dongE"
---

@dongE

# Dongda

@dongE · Joined February 2025

Connecting the dots

### [Jpa 영속성 컨텍스트 및 이점](https://dongda.hashnode.dev/jpa?utm_source=hashnode&utm_medium=feed)

영속성 컨텍스트란? 영속성 컨텍스트란 엔티티를 영구 저장하는 환경으로 JPA가 엔티티를 메모리에서 관리하는 공간이다. 엔티티 매니저 팩토리를 통해서 고객의 요청이 올때마다 엔티티 매니저를 생성하고, 이때 엔티티 매니저와 1:1로 영속성 컨텍스트가 생긴다. EntityManaver.persist(entity); 위의 코드에서 entity는 persist 됨과 동시에 영속성 컨텍스트에서 관리하게된다. 영속성 컨텍스트에서 관리한다는것은 DB 에 저...

3 min read · [dongda.hashnode.dev](https://dongda.hashnode.dev/jpa?utm_source=hashnode&utm_medium=feed)

[Jul 6, 2025](https://hashnode.com/posts/jpa/686a4d17b84ddf499c642ba7)

### [CI/CD 적용 이후 고민과 Health Check 도입](https://dongda.hashnode.dev/cicd?utm_source=hashnode&utm_medium=feed)

CI/CD 도입 후 서버가 온전한지 체크할 수 있는 Health check 결과를 추가적으로 workflow 에 구성하게되었습니다.

3 min read · [dongda.hashnode.dev](https://dongda.hashnode.dev/cicd?utm_source=hashnode&utm_medium=feed)

[Jun 11, 2025](https://hashnode.com/posts/cicd/6849a320f43c37aea0553633)

### [Redis 캐싱전략 - Cache Aside, Write Around](https://dongda.hashnode.dev/redis-cache-aside-write-around?utm_source=hashnode&utm_medium=feed)

캐시(Cache), 캐싱(Caching)이란? 캐시란, 원본 저장소보다 빠르게 가져올 수 있는 임시 데이터 저장소 캐싱이란? 캐싱이란, 캐시(임시저장소)에 접근해서 데이터를 빠르게 가져오는 방식을 의미한다. 예시) “이 API는 응답 속도가 너무 느린데? 이 응답 데이터는 캐싱(Cahing) 해두고 쓰는 게 어때?’ 데이터를 캐싱할때 사용하는 전략(Cache Aside, Write Around) 레디스를 캐스로 쓸때 어떤 방식으로 사용할지 ...

1 min read · [dongda.hashnode.dev](https://dongda.hashnode.dev/redis-cache-aside-write-around?utm_source=hashnode&utm_medium=feed)

[Jun 1, 2025](https://hashnode.com/posts/redis-cache-aside-write-around/683c06c14eaf391588485412)

### [try catch finally VS try with resources](https://dongda.hashnode.dev/try-catch-finally-vs-try-with-resources?utm_source=hashnode&utm_medium=feed)

예외를 처리할때, 사용한 외부자원은 반드시 반납해야한다. 예외 처리는 try catch finally 와 try with resources 두가지 구문으로 처리할 수 있는데 이 둘의 가장 큰 차이는 자원을 반납하는 방식에 있다. try catch finally 예외 처리 시 외부자원은 사용후 반드시 반납되어야 한다. 자바는 이것을 위해 어떤 경우라도 반드시 호출되는 finally 기능을 제공한다. try - catch - finally 구조는...

2 min read · [dongda.hashnode.dev](https://dongda.hashnode.dev/try-catch-finally-vs-try-with-resources?utm_source=hashnode&utm_medium=feed)

[May 27, 2025](https://hashnode.com/posts/try-catch-finally-vs-try-with-resources/6835e539b2fdd87024c3a0a9)

### [선착순 출석체크, firefinger 개발 중 고민](https://dongda.hashnode.dev/firefinger?utm_source=hashnode&utm_medium=feed)

복불복에 대해 회의한 뒤 생긴 고민 → 조회할때마다 동시 출석자의 순서가 바뀔 수도 있지 않을까? 생각의 오류 API 를 여러번 조회해보았을때, 동시 출석자의 순서는 바뀌지 않았다. 나는 이것이 mysql 내부에서 데이터를 정렬하는 로직에 있어서 “어떠한 규칙”을 통해 조회되기 때문이라 생각했다. 하지만..! 나의 생각은 일부는 맞고 일부는 틀렸다. 왜냐하면 mysql 은 데이터를 조회할때, 인덱스 정렬 또는 파일정렬을 사용하는데 추가로 ...

2 min read · [dongda.hashnode.dev](https://dongda.hashnode.dev/firefinger?utm_source=hashnode&utm_medium=feed)

[Feb 19, 2025](https://hashnode.com/posts/firefinger/67b5fc41da9725c45d715f24)
