CS
-
동시성 제어(Concurrency Control)CS 2024. 3. 26. 00:41
게시판을 만들다가 낙관적 락 이라는 단어를 주워 듣게 됐는데, 동시성 제어 기법 중 하나라는 것을 알게 되었다. 그래서 대충 알고 있었던 동시성 제어를 정리해봐야 겠다고 생각했다. 동시성 제어(Concurrency Control)란? 동시성 제어란 다수의 사용자로 인해 동시에 실행되는 여러개의 *트랜잭션 작업을 성공적으로 마칠 수 있도록 실행 순서를 제어하는 기법이다. *트랜잭션 DBMS에서 데이터를 다루는 논리적인 작업의 단위로 DB에서 여러 작업이 동시에 같은 데이터를 다룰 때가 이 작업을 서로 분리하는 단위가 된다. 트랜잭션은 전체가 수행되거나 또는 전혀 수행되지 않아야 한다.(All or Nothing) https://hsch19.tistory.com/13 @Transactional이란 무엇인가 ..
-
쿠키(Cookie)란 무엇인가? (+ Session 추가정리)CS 2023. 12. 18. 23:57
서버가 클라이언 인증을 확인하는 방식에 대표적으로 쿠키, 세션, 토큰이 있다. 그중에 세션과 JWT 인증 방법에 대해 알아봤었는데, 세션과 JWT의 근간이 되는 쿠키에 대한 내용이 없고 둘의 차이점에만 집중하다보니, 내용이 너무 부족했던거 같다. 그래서 이번에 포스팅하면서 이전 내용을 보충하고 추가적으로 공부하고자 한다. https://hsch19.tistory.com/7 JWT와 Session 개요 이제까지 배웠던 로그인 방식은 세션에 저장하는 방식만 배웠기에 다른 인증 방법이 있는줄 몰랐는데, 세션 방식말고도 토큰 방식 인증인 JWT가 있다는 것을 알게 돼서 정리해보고자 한다. hsch19.tistory.com 지난 포스팅에서도 언급했었지만 HTTP는 비연결성(Connectionless)와 무상태성(..
-
NoSQL이란 무엇인가?CS 2023. 12. 14. 23:59
NoSQL이란? NoSQL은 사람에 따라 No SQL, Not Only SQL, Non-Relational Operational Database SQL로 엇갈리는 의견들이 있지만, 현재 Not Only SQL로 풀어 설명하는 것이 다수를 차지하고 있다. NoSQL은 비관계형 데이터베이스로, 관계형 데이터베이스 모델을 사용하지 않는 다양한 형태의 데이터베이스 시스템을 통칭하는 용어이다. NoSQL은 전통적인 관계형 데이터베이스 시스템과 다르게 데이터를 저장하고 처리하는 다양한 방식을 제공하며, 주로 대규모 데이터나 분산환경에서 유용하게 사용된다. NoSQL 특징 RDBMS에 비해 대용량 데이터를 저장한다. 분산형 구조를 통해 여러대의 서버에 분산하여 저장하고 상호 복제하여 데이터 유실이나 서비스 중지에 대..
-
REST API란 무엇인가?CS 2023. 12. 5. 17:53
취업을 위해 모집공고를 보다보면 REST API/ RESTful API라는 단어를 찾아볼 수 있다. 그래서 지난 포스트에서 REST API에 대해 알아보고 정리를 하려고 했으나, HTTP API, HTTPmethod가 선행 되어야 할 것 같아서 HTTP API에 대해 먼저 정리를 했다. https://hsch19.tistory.com/23 HTTP API와 HTTP Method HTTP는 무엇인가? https://hsch19.tistory.com/4 HTTP 기초 HTTP란 HyperText Transfer Protocol 클라이언트와 서버간의 컨텐츠(HTML/JavaScript/Css/이미지 등)를 주고 받기위해 서로 알아볼 수 있는 메세지라고 할 수 있 hsch19.tistory.com REST란 무..
-
HTTP API와 HTTP MethodCS 2023. 12. 4. 23:58
HTTP는 무엇인가? https://hsch19.tistory.com/4 HTTP 기초 HTTP란 HyperText Transfer Protocol 클라이언트와 서버간의 컨텐츠(HTML/JavaScript/Css/이미지 등)를 주고 받기위해 서로 알아볼 수 있는 메세지라고 할 수 있다. HTML과 같은 Text파일뿐만 아니라 이미지 오디 hsch19.tistory.com HTTP란 간단하게 웹상에서 클라이언트와 서버간의 컨텐츠(HTML/JavaScript/Css/이미지 등)를 주고 받기위해 서로 알아볼 수 있는 메세지라고 할 수 있다. API는 무엇인가? API(Application Programming Interface)의 약자로 프로그램 간 상호작용을 위한 인터페이스를 나타낸다. 인터페이스 : 기기 ..
-
HTTP 기초CS 2023. 11. 11. 18:13
HTTP란 HyperText Transfer Protocol의 약자로 웹에서 클라이언트와 서버간의 컨텐츠(HTML/JavaScript/Css/이미지 등)를 주고 받기위해 서로 알아볼 수 있는 메세지이다. HTML과 같은 Text파일뿐만 아니라 이미지 오디오 동영상과 같은 다양한 멀티미디어 파일을 전송하는 프로토콜이다. 즉, HTTP는 클라이언트의 Request와 서버의 Response를 위한 메세지이다. 프로토콜(protcol) : 컴퓨터 네트워크나 통신 시스템에서 통신 간의 규칙이나 규약을 의미한다. 프로토콜은 특정한 통신 형태나 서비스의 표준화된 방법을 정의하며, 이는 효율적이고 정확한 데이터 교환을 가능케 한다. ex) TCP/IP(Transmission Control Protocol/ Intern..