EIP – Polling Consumer

A polling consumer design pattern is a software architecture pattern commonly used in messaging systems, where a client application polls a message queue or a data source periodically to check…

PNS Scale Design to 1 Million Users Per Day

Summary This post summarises the effort going from Google KMS to Azure. We are migrating from Google Apigee and Google KMS to Azure AD, Azure B2C, Key Vault, and Notification…

Machine Learning using K-Nearest Neighbours

A Machine Learning algorithm that takes a series of questions and answers them. Written in C#, feel free to use it for any projects you have in mind. using System;…

State Machines Explained

State machines belong to the domain of computer science and engineering, specifically the sub-domain of finite state machines. A state machine is a model of behavior composed of a set…

Distributed Coordination Algorithms

Distributed coordination algorithms are algorithms that enable multiple computers or nodes to coordinate with each other to complete tasks. These algorithms are used in distributed systems, where multiple computers are…

Differences between AMQP 1.0 vs. 0.91 Protocol

AMQP 1.0 (Advanced Message Queuing Protocol) is an open-source, binary wire protocol designed to provide a messaging backbone for distributed applications. It is designed to provide reliable, secure and robust…

MapReduce Function in C++

MapReduce is a framework for processing large datasets in a distributed computing environment. It is an algorithm for performing distributed computing on large data sets, and it is a programing…

Redis Cache

Summary Redis Cache is an open-source, in-memory data structure store used as a database, cache, and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets…

One client credential type required either

Summary I got this error recently when I forgot to add a Client Secret to my appsettings.json file. One client credential type required either: ClientSecret, Certificate, ClientAssertion or AppTokenProvider must…

MapReduce for Distributed Indexing

MapReduce is a programming model commonly used within the Hadoop framework to access big data stored in the Hadoop File System (HDFS). It consists of several phases: Map phase, Shuffle…