Apache Kafka is a Java based, open-source event streaming platform which is used to design scalable , high-throughput , fault -tolerant systems to handle real-time data feeds. If you are unfamiliar with Kafka, you can get a complete idea by referring the official kafka guide

Scaling the consumer with Consumer Group concept

Scaling the consumer app is really simple with the Kafka Consumer Group concept. Load balancing the data with multiple consumers is done by Kafka itself, so nothing to worry from application side. Let’s see how it happens.

In Kafka, data is stored in topics. You can create topics with several partitions. Once a producer writes…

Elixir is a dynamic functional language which is built on top of Erlang. Elixir is highly recommended for building fault-tolerant, distributed applications.

In this article I’m going to create a simple Elixir application using mix , the famous build tool for Elixir. So Let’s Start 😃


  • Setting up Elixir Environment
  • Creating the Elixir project
  • Compiling the application
  • Using the interactive shell
  • Managing dependencies

Setting up Elixir Environment

All the details necessary to install Elixir in your OS are listed in this installation page. After installing you can check the current version of the Elixir by executing iex -v

$ iex -v
IEx 1.9.0 (compiled with…

In simple Words ,Finite State Machine (FSM) is a computational model that can be used to simulate sequential logic. The FSM has a finite number of states and it can be in exactly one of those states at a given time.

In this article I’m going to tell you how to implement Finite State Machines in Erlang using gen_fsm behaviour.

gen_fsm Behaviour

gen_fsm is an Erlang OTP Behaviour which is used to implement Finite State Machines. It has a standarad set of interface functions and functionalities for tracing and error reporting. As other OTP behaviours (e.g:-gen_server) …

Image Source :Wikipedia

Redis is a popular in memory key-value store used by many developers all around the world. Redis is an open source project which has been written in ANSI C.Its major developer is Salvatore Sanfilippo. Redis was initially released in 2009.

According to the latest (January 2018) rankings by DB-Engines ,Redis is the most popular key-value data store in the world. Redis supports various types of data types such as Strings, Lists, Hashes, Sets, Sorted Sets etc.

This article will give you the instructions on how to install Redis on Ubuntu and Windows .

Install Redis on Ubuntu

It is very simple to install Redis…

Kasun Edward

Software Engineer |Studied Computer Science & Engineering at University Of Moratuwa, Sri Lanka | Mobile and Web Full Stack Developer | Erlang Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store