Managing Serverless Multi-Tier Architectures in OpenSooq

The multi-tier application (three-tier, n-tier, etc.) has been a cornerstone architecture pattern for decades. The multi-tier pattern provides good guidelines for you to follow to ensure decoupled and scalable application components that can be separately managed and maintained (often by distinct teams). Multi-tiered applications are often built using a service-oriented architecture (SOA) approach to using web services. In this approach, the network acts as the boundary between tiers.

We show how we design multi-tiered architectures for popular patterns such as

Continue Reading

Running the Incompatible Socket.io Versions At The Same Time Is Making The Impossible Possible

Introduction

Socket.IO is commonly used for real-time, bidirectional and event-based communication. This library played a key role in OpenSooq’s successful Chat service providing tons of leads to our users. In OpenSooq, we have a lot of services managed internally and upgrading outdated technologies can improve business efficiency and help us gain a competitive edge. However, Missing updates can also mean missing out on bug fixes and functionality upgrades. In time, our service might

Continue Reading

On-the-fly ad-hoc docker compose development stack

The problem

In this blog post we are going to discuss an application stack that uses MongoDB, Redis and NodeJS. We want a single docker compose command that launches the entire stack, still we want to the developer be able to use his/her favorite IDE to edit the source code without having to rebuild docker images. We call this on-the-fly ad-hoc stack because it does not involve building any docker images or hosting a docker registry, the reason for this

Continue Reading

Running Kubernetes on AWS EC2

This article will walk-through installing and setting up Kubernetes on AWS instances step by step, This article not for people looking for fully automated command to setup Kubernetes cluster.

Note: This article not setup Kubernetes with SSL, and by default you should know AWS already.

Kubernetes Cluster Details:
1-To start install Kubernetes cluster you will need the below:
2- 3 AWS micro instances.
3- Kubernetes 1.9.0
4- Docker 1.13
5- Etcd 3.2
6-

Continue Reading

Site Footer

@ OpenSooq 2019