%A Petrescu, M. %A Petrescu, R. %D 2020 %T Log Replication in Raft vs Kafka %K %X The implementation of a fault-tolerant system requires some type of consensus algorithm for correct operation. From Paxos to View-stamped Replication and Raft multiple algorithms have been developed to handle this problem. This paper presents and compares the Raft algorithm and Apache Kafka, a distributed messaging system which, although at a higher level, implements many concepts present in Raft (strong leadership, append-only log, log compaction, etc.). This shows that mechanisms conceived to handle one class of problems (consensus algorithms) are very useful to handle a larger category in the context of distributed systems. %U https://www.cs.ubbcluj.ro/~studia-i/journal/journal/article/view/59 %J Studia Universitatis BabeČ™-Bolyai Informatica %0 Journal Article %R 10.24193/subbi.2020.2.05 %P 66-77%V 65 %N 2 %@ 2065-9601 %8 2020-12-12