My journey: Dockerized Java on Apache Mesos Container cluster on Azure – Setup Mesus cluster on Azure

September 2, 2016

At the end of the last post (see here) we finished when we have an "Automated Build Repository" on Docker-Hub. Now we need a containers platform to run it. I decided to use the Apache Mesus open source solution, when the cluster located on Azure cloud. Step 1: create the Apache Mesus cluster. Login to Azure Portal using this link. Press on the + New link On the search box write "Azure Container Service" The filter slide will open with the "Azure Container Service" text. Select the DC/OS on Azure container. Press the "Create" button. Step 1-Tag: create the SSH - Keys. I...
no comments

My journey: Dockerized Java on Apache Mesos Container cluster on Azure – Setup a Docker (Part II)

September 1, 2016

At the previous post we manage to create Automated Build Docker Repository. Now we need to create and configure the Docker. Now we have the skeleton and it's the same skeleton for all Docker types, whether it will hold Java / Python / Scala / .NET Core container, the skeleton is the same. Environment Setup - Linux So, we need an environment to work with the Dockers. I myself prefer to work with the Linux Server for that, I sure that there are another alternatives. Sill the terminal approach more clean to do so. I'm using Ubuntu 16.04 server on Oracle VirtualBox. (if...
no comments

My journey: Dockerized Java on Apache Mesos Container cluster on Azure – Setup a Docker (Part I)

August 26, 2016

On the previous post we declared our goal and solution. As we start some account should be created. Docker account on the Docker Hub portal Git or Bitbucket account, which required when using automated build Docker Create Docker Hub account Open the Docker Hub web site and subscribe for a new account. After the subscription and login you'll navigated to your Dashboard (at start empty). on the top left menu press the Explore link - this will used us later as a base for our Docker. The other thing that we need to set up is the source control provider. It's only required when using automated...
no comments

My journey: Dockerized Java on Apache Mesos Container cluster on Azure.

I want to start this journey from the basic. Although I'm pretty sure that Docker software solution are known knowledge, the all pack should cover it all. So, what we talking about it to take an exiting solution provided by Docker Hub and second solution provided by Apache Mesos and set it on a 3rd IaaS cluster solution stored on Azure. The main idea is to do it well and not step on each other toes. The project System Architecture. The project will contain the next layers: The Azure Cluster which contains the Mesos cluster. This part will be an IaaS solution...
no comments

HDInsight (Azure Hadoop) JSON Hive files – Tables setup

October 5, 2015

On my previous post HDInsight (Azure Hadoop) JSON Hive files – Environment setup, we focused on the Environment when it's one side of the solution when the other side is use it with the Echo-System. The basic Echo-System design The main idea is that we might have several endpoints (component types) which can write different JSON files to a Blob Storage, when the HDInsight will point to this B-Storage to query it by the relevant tables by the relevant files. (the design is not limited to JSON format files, but to all formats). How to query the HDInsight - Hive Cluster The good news...

HDInsight (Azure Hadoop) JSON Hive files – Environment setup

October 4, 2015

When I was asked to design an Echo system base Microsoft Azure Cloud system, I understand that I have challenge to stop thinking IAAS and start doing PAAS. For sure that my first question was why? and my second question (after a little thinking was) why not? I need minimal DevOps support. I need minimal tech support for my system. I need to pay only for what I'm using. I can scale when I need. And ... (I believe you can rise one or more things). The question on using PAAS is not only "Are they ready?" it's also "Are you (as a software architect...
no comments

Informal Use Case

July 27, 2014

In software and systems engineering, a use case is a list of steps, typically defining interactions between a role (known in Unified Modeling Language (UML) as an "actor") and a system, to achieve a goal. The actor can be a human or an external system. (by Wikipedia)   When we talk about steps; 1.     We are not talking about code, we are talking about actors and responsibilities. 2.     We are not talking about how to perform it, but how will do it. 3.     We are not talking about exception handling,...
one comment

Bigger is not Better – Small interfaces (coupling)

April 27, 2014

Hi, As part of my work, not a litte part of it, is the APIs. What we want to reveal? the way we going to do so, the encapsulation and all other things that will describe the functionality we give. But, more than once I found out that the bad experience is not  by the way the API is written but by what it revealing. I’m taking about “The road to hell is paved with good intentions”. For example you have a developer that got a mission to create an API for “Account Management”; Create account Find account by name Delete account by Id Now’ your...

Visitor Pattern

April 21, 2014

After I wrote the previous post I understand that must of the time by accident we couple the logic to the model too much, and that all in the name of capsulation. Let’s take for example the next Classes: We can see here 3 concrete Classes that diverted from SmartDevice Class. Tables, Phones & Watches. As you can see I reviled 4 methods here (I you can imagine there are more than that), By from my point of view under 2 categories: Close Method: No change on the logic, no extension required Support3G: By the device spec, or it’s supported of  not MemorySize: The same...

The S.O.L.I.D way: When it’s a Class and when it’s NOT???

April 17, 2014

Actually at first it's seems a very dumb question, because for sure we know when we declaring a new class. But I found that it's not so true!!! Let's take the next scenario. You are creating a new website for "Games how to???" For example: Soccer​ 2 teams, 11 players on each team 1.5 hours with one breaks Cannot touch with the hand Ball cannot get out from the field borders Need soccer field Basketball 2 teams, 5 players on each team 1 hour game, with 4 breaks Cannot walk with the without dribble Ball cannot get out from the field borders Need basketball field Cheese 2 players Each move can/or not...
no comments