Session and JWT Notes 두 방식의 공통점 세션과 JWT는 모두 “HTTP가 기본적으로 상태를 기억하지 않는다”는 문제를 보완하기 위한 장치다. 사용자가 로그인한 뒤 다음 요청에서도 인증 상태를 이어가려면, 서버나 토큰 어딘가에 인증 정보를 유지해야 한다. 세션 기반 인증 세션 방식에서는 서버가 로그인 상태를 저장한다. 흐름은 보통 다음과 같다. 사용자가 로그인... 2024/09/07 Notes, Web
Single Sign-On Notes SSO란 SSO, 즉 Single Sign-On은 한 번의 로그인으로 여러 시스템을 이용할 수 있게 하는 방식이다. 사용자는 애플리케이션마다 다시 로그인하지 않고, 중앙 인증 시스템이 발급한 인증 결과를 공유받는다. 왜 필요한가 서비스가 여러 개로 늘어나면 각각의 로그인 화면과 사용자 저장소를 따로 운영하는 것이 비효율적이다. SSO를 도입하면... 2024/09/07 Notes, Web
Token Authentication Notes Token Authentication References https://www.okta.com/identity-101/what-is-token-based-authentication/ https://auth0.com/docs/secure/tokens/token-best-practices 2024/09/05 Notes, Authentication Authentication Basics 2편
Unique ID Generation Strategy in Distributed Systems Notes Unique ID Generation Strategy in Distributed Systems 분산 환경에서 고유한 키를 생성하는 것에는 많은 고려사항이 있다. https://blog.devtrovert.com/p/how-to-generate-unique-ids-in-distributed https://medium.com/@sandeep4... 2024/09/05 Notes, Architecture
Microservices Architecture Notes The History of Software 소프트웨어의 역사를 보면 하드웨어에 의존적인 구조에서 점점 변화에 유연하고 하드웨어로부터 독립적인 방향으로 발전해왔다. 소프트웨어 아키텍처의 역사는 추상화를 거듭하면서 점점 더 고도의 관심사를 추구하는 방향으로 변화했다고 볼 수 있다. 1960 ~ 1980s: Fragile, Cowboys ... 2024/09/05 Notes, Architecture
Facade Notes Facade References https://www.geeksforgeeks.org/facade-design-pattern-introduction/ 2024/09/05 Notes, Architecture
Redis Cluster vs Sentinel Notes 두 방식이 해결하는 문제는 다르다 Redis Cluster와 Redis Sentinel은 둘 다 Redis를 여러 대 운영할 때 등장하지만, 목적이 다르다. Sentinel: 장애 감지와 자동 failover 중심 Cluster: 데이터 샤딩과 수평 확장 중심 즉 Sentinel은 같은 데이터를 더 안전하게 운영하는 구조이고, Clus... 2024/09/05 Notes, Cache
Introduction to Operating System Notes Introduction to Operating System 운영체제의 목적 1. 컴퓨터 시스템의 편의성을 제공 2. 컴퓨터 시스템의 자원을 효율적으로 관리 2024/09/05 Notes, Common
AWS Code Commit Notes AWS Code Commit User guide https://docs.aws.amazon.com/ko_kr/codecommit/latest/userguide/getting-started.html#getting-started-create-commit https://ap-northeast-2.console.aws.amazon.com/codes... 2024/09/05 Notes, Common
Concurrency Control Notes Concurrency Control In information technology and computer science, especially in the fields of computer programming, operating systems, multiprocessors, and databases, concurrency control ensu... 2024/09/05 Notes, Common