In distributed systems, Nodes need to know if their peers are still healthy and update their peer lists accordingly. The simplest way to do this is with heartbeats. If there is a network with nodes
A sends heartbeat messages to its peers
We’ll build a simple monitor that will track the number of people that followed us on specific dates, using Medium as the use case. This is just a bare prototype and can be done for any other social media or networking platform.
In the end, we should have something like…
Table of Contents
This Telegram bot, would simply take three commands.
Hello, fellow members of the night’s watch. We will be looking at one of Node’s core API’s, the File System. I know we’ve been concerned with code splitting, bundle splitting, preloading and the never ending woes of the Internet Explorer, but we will be learning how Node interacts with our…
In Nigeria, Sundays are specially dedicated to Church. Once ‘daddy’ and ‘mummy’ are going to church that means everybody in the house(age,religion and financial status notwithstanding!) is going to Church. This kind of family is my definition of a “church family”.
As a single youth, you go to church alone…
Hello! We will be looking at the effects of redis on the performance of our API server. Redis (Remote dictionary server) can be used as a database, a cache and several other things. For this project, we will be using Redis for caching.
API’s are application programmable interfaces that allow you use a part of another software on your own software. It is like the middleware which allows two softwares communicate.
A Platform-as-a-Service(PaaS) saves us the time required to set up virtual servers, makes scalability easier and depletes the cost implication of setting up the servers.
Initially, setting up a server in the cloud required connecting and configuring all types of components but the introduction of Serverless,Docker,Heroku and the likes have…
NETWORKING BASICS(PART ONE)
Computer Networking involves several technical terminologies and protocols, but lets go back to the basics. There is nothing more important than understanding the basics, and from there we can build. Computer Networking is simply communication between computers. …