Dockerized Node/Nginx, MongoDB, Redis app setup

Introduction Docker is an app development tool that eases the process of creating, running, and deploying applications. It uses the concept of containers which work just like a Virtual Machine does. While Docker runs more like a Virtual Machine does, it is more advantageous than a VM. It let us define OS-like images like we are writing an actual OS that includes the only tools that we need, aside this, Docker utilizes the concept of layers which makes its images very much extensible....

March 19, 2020 · 12 min · Aleem Isiaka

SocketIO - App structure and architecture

Introduction SocketIO is a JavaScript library that makes developers’ lives easier when dealing with web socket and socket programming. This is the fact that SocketIO has abstracted out all the low-level and tedious steps that are associated with setting up a socket server and client; it has made the question of programmers be “How can I structure my application.” While I have done different types of socket implementations, I will walk us through a setup that has always work for me and has proven to be the best in cases that I have had to use SocketIO....

March 15, 2020 · 9 min · Aleem Isiaka

Asynchronous Javascript

In computation systems, names like concurrent, sequential, parallel, serial, synchronous, asynchronous, non-blocking, shared state, message passing, and likes, stand as a forbearer for the actual task that happens in a system. While all of the above techniques have their use cases, in the world of JavaScript, asynchronous and synchronous programming never leave the tongues of its programmers. In his Concurrency glossary, slikts (dabas@untu.ms) wrote about asynchronous, he said: Asynchrony means “not happening at the same time”, and asynchronous message passing is a communication model that does not require the sending and receiving to be synchronized, meaning that the sender isn’t blocked until the receiver is ready....

March 3, 2020 · 12 min · Aleem Isiaka