Raft Consensus Algorithm

Consensus in Distributed Systems

In distributed systems, we will have multiple components running on multiple nodes which can communicate over a network, work together as a single system. For this system to be stable and reliable, these components need to talk to each other and need to agree on certain …

Continue reading »

Building Simple Full Text Search

Full Text Search

Full Text Search refers to technique of searching text across stored documents and obtaining matched results in order of the search score. When a user searches for a word or set of words across documents, the search engine has to fetch all the documents that contains one …

Continue reading »

Experimenting with Redis (DynamoDB)

Introduction

Recently, I have been exploring NoSQL DBs. During that, I came across DynamoDB.

DynamoDB is a fully managed distributed key-value and document database.

From AWS Documentation:

Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It's a fully managed, multiregion, multimaster, durable …

Continue reading »