# mechanism

2개의 포스트
post-thumbnail

[Database] Transaction

Transaction DB의 상태를 변화시키기 위해 수행하는 가장 작은 작업의 단위. 특징 (A.C.I.D) > 원자성 (Atomicity) >> Transaction은 DB에 모두 반영되거나 모두 반영되지 않아야 함 쪼갤수 없는 가장 작은 단위 = 원자 > 일관성 (Consistency) >> Transaction의 작업 처리 결과가 항상 일관성이 있어야 함 > 독립성 (Isolation) >> 어떤 하나의 Transaction이라도, 다른 Transaction의 연산에 끼어들 수 없음 > 지속성 (Durability) >> Transaction이 성공적으로 완료됐을 경우, 결과는 영구적으로 반영되어야 함 > 예시 (계좌이체) > 과정 > 구매자의 계좌에서 돈이 출금됨 판매자의 계좌에 돈이 입금됨 > Query문 예상 오류 구매자의 돈이 출금됐는데 DB가 다운된

2023년 4월 16일
·
0개의 댓글
·
post-thumbnail

[Math] Attention Mechanism

Neural Machine Translation by Jointly Learning to Align and Translate (a.k.a. Bahdanau Attention) Go to Read > ### Effective Approaches to Attention-based Neural Machine Translation (a.k.a. Luong Attention) Go to Read > #### 어텐션 메커니즘은 신경망 기계 번역 연구에서 등장한 방법론이다. 두 논문 모두 비슷한 시기에 발행되었다. 여기서 잠깐 논문에 등장하는 모델 구조를 보도록 하자. > ### Bahdanau Attention >>![](https://velog.velcdn.com/images/sejinjeong/post/f903870b-4c09-4df

2022년 12월 22일
·
0개의 댓글
·