Cloud Foundry versus Octopus:
In the realm of software deployment for Cloud computing, there are different software stacks for Windows and Linux families. Usually they have their own solutions for deployment because by their nature they are different ecosystems and have different platforms. Take Ubuntu for example, and you will find the following list of software: Apache, MySQL, ZooKeeper, Storm, Kafka, Spark, Cassandra, Nginx, Marathon and Docker usually. And take windows and you will have the following list of software: .NET, Visual Studio, Team Foundation Server, Octopus etc. While Docker has made applications portable, we want to view the solution for continuous deployment as well as configuration management.
Let us first identify the two primary candidates for the deployment software. On Ubuntu we have Cloud Foundry and an Windows we have Octopus.
CloudFoundry is a tool for automated software deployment and hosting with the following benefits:
You decrease time to production
You can iterate faster –develop->build->test->deploy
You increase productivity of developers
You improve the quality of the products
You improve the efficiency of IT operations
You increase the utilization of hardware
Octopus is a tool that does massive deployments over several different virtual machines with the same configuration and software that you decide It can maintain simultaneous dev, test and production environments and tear them down at will. You can configure different VMs in different pools and they can be used as appropriate. Octopus can prepare a VM with any kind of installer.
Both CloudFoundry and Octopus have web interfaces that give you the overall picture of all your deployments. Both come with their security features as well as what’s in progress and what’s completed views.
However Octopus manages at VM level as well where as CloudFoundry manages based on application stacks. This is a tremendous advantage because you can choose different VMs specifically or could with a pool of VMs if you are not particular.
Both tools are scalable and have high performance but the level of control and features are different where Octopus comes out ahead.
The purpose of these comparisions is to see if there are some ideas that can be ported between the two ecosystems. At the same time, this study should also improve the understanding of these tools.
However, we should remind ourselves that these tools are built for different eco-systems with different requirements.
#coding question
Generate the following pattern when x is given upto Nth terms
For ex:
Input: x=2 ,N=5
OUTPUT:
2
12
1112
3112
132112
#coding question
Generate the following pattern when x is given upto Nth terms
For ex:
Input: x=2 ,N=5
OUTPUT:
2
12
1112
3112
132112
https://en.wikipedia.org/wiki/Look-and-say_sequence
Find the next higher no. Of x Whose binary represent does not contain consecutive 1s-
For ex:
Input:
12
Output:
16
int next_non_consecutive_one(int x)
{
bool previous = false;
bool current = false;
bool found = false;
while (!found){
x = x + 1;
int y = x;
while (y)
{
if ((y & 0x1) == 0x1)
current = true;
else
current = false;
if (previous == current && previous == true) {// consecutive 1
found = false;
break;
}
previous = current;
y = y >> 1;
}
if (y == 0) found = true;
}
return x;
Find the next higher no. Of x Whose binary represent does not contain consecutive 1s-
For ex:
Input:
12
Output:
16
int next_non_consecutive_one(int x)
{
bool previous = false;
bool current = false;
bool found = false;
while (!found){
x = x + 1;
int y = x;
while (y)
{
if ((y & 0x1) == 0x1)
current = true;
else
current = false;
if (previous == current && previous == true) {// consecutive 1
found = false;
break;
}
previous = current;
y = y >> 1;
}
if (y == 0) found = true;
}
return x;
}
Today I setup FishEye Crucible for code reviews in my team.
Today I setup FishEye Crucible for code reviews in my team.