Distributed system is a system whose components are located in different computer systems and all these nodes are able to communicate by passing messages to each other.In computer science, the CAP theorem, also named Brewer’s theorem after computer scientist Eric Brewer. This theorem state that it is impossible for any distributed system to achieve more than two out of three properties at the same time.
Read MoreCharacteristics of Distributed Systems
Key characteristics of a distributed system include Scalability, Reliability,
Availability, Efficiency, and Manageability. Let’s briefly review them:
Scalability
Scalability is the capability of a system, process, or a network to grow and
manage increased demand. Any distributed system that can continuously evolve in order to support the growing amount of work is considered to be scalable.
Flyweight design pattern
Introduction
In this post, we will talk about Flyweight design pattern. We will see when one should use this design pattern and how we can implement it. In below example, we will use C# language to implement the example of it.
Type: Structural design pattern
Read MoreRedis example with Docker in C#
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. Lets install redis server in docker. Beauty of docker is that without installation of actual software, you can install it in docker and can access those application. Lets create a simple example and divide it in two parts.
Read MoreGrpc example in c#
Lets follow below steps to create simple Grpc service in C#. This service will have a simple method called “Reverse” which will take one string parameter and return reverse of that string. This example contains proto file also. I would recommend you to please go through this post if you don’t know about protobuf. This example is divided in two parts. 1. Service and 2. Consumer.
Read More