본문 바로가기

반응형

: Back-end

(4)
RabbitMQ vs Apache Kafka 비교 원문) https://www.cloudamqp.com/blog/when-to-use-rabbitmq-or-apache-kafka.html Kafka vs Rabbitmq Table of Contents The big question. When to use Kafka and RabbitMQ? Message handling (message replay) Protocol Routing Message Priority Acknowledgment (Commit or Confirm) How to work with the queues? 만약 Apache Kafka 가 RabbitMQ 중 어느게 나은지, 어느게 믿을 수 있는 건지 의문이 든다면, 잠깐 시간을 내서 읽어주길 바란다. 이 문서는 넓은 관점에서 두가지를 비교..
2 Phase Commit 2 Pahse Commit Table of Contents 1. What is 2 Pahse Commit? 2. Problem 3. Solution 3.1. Locks and Transaction Isolation 3.1.1. Deadlock Prevention 3.1.2. Commit and Rollback If you are more familiar with English than Korean, please see the below. References) https://martinfowler.com/articles/patterns-of-distributed-systems/two-phase-commit.html 1. What is 2 Pahse Commit? 여러 노드(클러스터)에서 하나의 동작처럼 리..
공부하면서 정리가 필요한 목록 Spring Spring 시작하기 (https://start.spring.io/) Springboot AOP, Filter, Interceptor Maven, Gradle application.yaml vs application.properties swagger.yaml vs swagger.json yaml vs yml (https://stackoverflow.com/questions/21059124/is-it-yaml-or-yml) (yaml.org/faq.html) -> Use .yaml why-is-using-a-wild-card-with-a-java-import-statement-bad (https://stackoverflow.com/questions/147454/why-is-using-a-wil..
[Node.js] Stream 원문) https://medium.com/edge-coders/node-js-streams-everything-you-need-to-know-c9141306be93 Node.js Streams: Everything you need to know [JS] Stream 에 대해 당신이 알아야 할 모든 것 Table of Contents 1. What are streams? 2. streams practical example 4 type of streams ReadableStream WritableStream Stream api example with multer 1. What are streams? 우선 node.js stream에 관한 공식 설명부터 읽어보자. A stream is an abstract i..