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…

Async API (Async HTTP)

In Event-driven architectures or architectures with long-running queries, a common architecture design pattern is to use Asynchronous API also known as Async HTTP. Note that the implementation of Async API…

Point-to-Point Messaging using Azure Service Bus Queues

Here is a quick snippet of code demonstrating how Point-to-point messaging works with Azure Service Bus and the Microsoft Dataverse. The Microsoft Dataverse emits a message that is pushed into…