<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://officialhwempire.github.io/</id><title>정신없이 살아가는 하루</title><subtitle>A minimal, responsive and feature-rich Jekyll theme for technical writing.</subtitle> <updated>2026-03-09T09:07:53+09:00</updated> <author> <name>hwang_jun_yeong</name> <uri>https://officialhwempire.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://officialhwempire.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="ko-KR" href="https://officialhwempire.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 hwang_jun_yeong </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title></title><link href="https://officialhwempire.github.io/posts/2026-03-09-@Cache/" rel="alternate" type="text/html" title="" /><published>2026-03-09T09:07:53+09:00</published> <updated>2026-03-09T09:07:53+09:00</updated> <id>https://officialhwempire.github.io/posts/2026-03-09-@Cache/</id> <content type="text/html" src="https://officialhwempire.github.io/posts/2026-03-09-@Cache/" /> <author> <name>hwang_jun_yeong</name> </author> <summary>Spring Cache 의 기능들 0. Spring Cache 어노테이션 Spring Cache 어노테이션은 애플리케이션에서 캐시 기능을 쉽게 적용할 수 있도록 제공되는 선언적(Declarative) 캐시 처리 방식입니다. 개발자가 직접 캐시 로직을 구현하지 않아도 어노테이션만으로 캐시 조회, 저장, 삭제 등의 기능을 사용할 수 있습니다. Spring은 캐시에 대한 추상화를 제공하며, 실제 캐시 저장소는 다양한 구현체를 사용할 수 있습니다. 대표적인 캐시 구현체 Redis Caffeine 1. @Cacheable @Cacheable은 메서드의 실행 결과를 캐시에 저장하고, 동일한 요청이 들어오면 메서드를 실행하지 않고 캐시된 데이터를 반환하는 어노테이션입니다. 메서드 ...</summary> </entry> <entry><title>로컬 캐시와 분산 캐시</title><link href="https://officialhwempire.github.io/posts/LocalCash/" rel="alternate" type="text/html" title="로컬 캐시와 분산 캐시" /><published>2026-03-09T00:00:00+09:00</published> <updated>2026-03-09T00:00:00+09:00</updated> <id>https://officialhwempire.github.io/posts/LocalCash/</id> <content type="text/html" src="https://officialhwempire.github.io/posts/LocalCash/" /> <author> <name>hwang_jun_yeong</name> </author> <category term="JAVA" /> <summary>로컬 캐시 VS 분산 캐시 1. 캐시란 캐시(Cache) 는 자주 조회하는 데이터를 빠르게 유저에게 제공하기 위해 DB 이전 단계에서 임시 저장소에 데이터을 저장하는 기술입니다. 일반적으로 메모리에 저장해 두었다가 재사용함으로써 응답속도를 향상시키고 DB 과부하를 줄입니다. 2. 로컬 캐시 로컬 캐시는 애플리케이션 서버 내부 메모리에 데이터를 저장하는 캐시 방식입니다. 즉 하나의 서버 프로세스 내부에서만 접근 가능한 캐시이며, 해당 서버가 관리합니다. 대표적인 로컬 캐시 라이브러리로는 Caffeine Ehcache 등이 있습니다. 3. 로컬 캐시 특징 장점 매우 빠른 속도 직관적인 설계 구조 네트워크 비용 감소 단덤 캐시 일관성 관리 어려움 유지 보수 및 확...</summary> </entry> <entry><title>OAuth 와 Authorization Code Grant</title><link href="https://officialhwempire.github.io/posts/oauth/" rel="alternate" type="text/html" title="OAuth 와 Authorization Code Grant" /><published>2026-02-01T00:00:00+09:00</published> <updated>2026-02-01T00:00:00+09:00</updated> <id>https://officialhwempire.github.io/posts/oauth/</id> <content type="text/html" src="https://officialhwempire.github.io/posts/oauth/" /> <author> <name>hwang_jun_yeong</name> </author> <category term="JAVA" /> <summary>OAuth 2.0 주요 컴포넌트 &amp;amp; Authorization Code Grant 1. OAuth 란? OAuth는 사용자 비밀번호를 직접 공유하지 않고도, 외부 애플리케이션이 사용자의 리소스에 제한된 권한으로 접근할 수 있도록 하는 표준 인가(Authorization) 프로토콜입니다. 주로 소셜 로그인 및 외부 API 접근 제어에 사용됩니다. 대표적인 예로는 네이버, 구글, 카카오 로그인 연동 서비스가 있습니다. 2. OAuth 주요 컴포넌트 Resource Owner : 사용자 Client: OAuth를 통해 리소스 접근을 요청하는 애플리케이션 Authorization Server : 사용자 인증 및 권한 동의 후 토큰을 발급하는 서버 Resource Server: A...</summary> </entry> <entry><title>세션 기반 인증 vs 토큰 기반 인증</title><link href="https://officialhwempire.github.io/posts/authorization/" rel="alternate" type="text/html" title="세션 기반 인증 vs 토큰 기반 인증" /><published>2026-02-01T00:00:00+09:00</published> <updated>2026-02-01T00:00:00+09:00</updated> <id>https://officialhwempire.github.io/posts/authorization/</id> <content type="text/html" src="https://officialhwempire.github.io/posts/authorization/" /> <author> <name>hwang_jun_yeong</name> </author> <category term="JAVA" /> <summary>세션 기반 인증 VS 토큰 기반 인증 1. 세션 기반 인증이란? 세션 기반 인증은 사용자가 애플리케이션에 접속했을 때 혹은 로그인 하였을시 사용자 정보를 세션으로 저장하는 방식입니다. 서버는 세션을 저장하고, 클라이언트에 세션 정보가 담긴 쿠기를 전송합니다. 클라이언트는 쿠키를 통해 서버로 부터 인증을 받을 수 있습니다. 서버 메모리 혹은 REDIS 를 사용하여 상태를 유지하는 Stateful 방식입니다. 2. 세션 기반 인증 보안 고려사항 세션 탈취 방지를 위해 HTTPS 필수 쿠키 취약점 방지를 위해 HTTPONLY, SECURE,SAMESITE 등의 설정 필요 CSRF 공격 방지를 위한 CSRF 토큰 필요 서버 마이그레이션 시 세션 동기화 필요 3. 토큰 기반 인증이란?...</summary> </entry> <entry><title>부트캠프 스프링 중간 프로젝트</title><link href="https://officialhwempire.github.io/posts/monew/" rel="alternate" type="text/html" title="부트캠프 스프링 중간 프로젝트" /><published>2026-01-24T00:00:00+09:00</published> <updated>2026-01-24T00:00:00+09:00</updated> <id>https://officialhwempire.github.io/posts/monew/</id> <content type="text/html" src="https://officialhwempire.github.io/posts/monew/" /> <author> <name>hwang_jun_yeong</name> </author> <category term="자바 프로젝트" /> <summary>황준영 개인 개발 리포트 1. 프로젝트 개요 프로젝트 개요 제목: 모뉴 (MoNew) 부제: MongoDB 및 PostgreSQL을 활용한 뉴스 통합 관리 및 백업·복구 시스템 소개 모뉴는 여러 뉴스 API(네이버 API, RSS(조선일보, 한국경제, 연합뉴스 등))를 통합하여 사용자가 관심 있는 주제·키워드 중심으로 뉴스를 수집·저장·관리할 수 있는 플랫폼입니다. 단순 뉴스 피드 소비를 넘어, 다음의 맞춤형 기능을 제공합니다: 중복 기사 자동 감지 및 병합 처리 관심사 기반 필터링 및 뉴스 저장 검색어 강조(볼드) 표시 사용자 간 의견 공유를 위한 소셜 기능(댓글, 좋아요 등) MongoDB는 뉴스 기사처럼 구조가 유연한 비정형 데이터를 저장하고, 사용자 활동 내역...</summary> </entry> </feed>
