Tuesday, June 19, 2018

We were discussing the benefits of software defined stacks. One of the advantages of software defined services is that it can be repeated over and over again in different underlying layers with no change or impact to existing workloads. Another benefit of software defined services is that reconfiguration is super easy By changing the settings we can use the same software stack to behave differently.  Server utilization and capacity is also improved. There energy footprint of the data center is also reduced.  The automations possible with the SDS not only reduces the time to deploy but also the effort involved such as approvals and handovers.
An example of the above was demonstrated by an oncology focused software maker. The software was originally installed as a single instance multi-tenant application in the cloud. It was subsequently moved to PaaS.  The PaaS platform provided backend functions such as provisioning, deployment and security The separation of functionalities helped the oncology software maker to focus on application development and reduced schedule while the PaaS platform helped it grow.
This is true for organizations of any size. Even eBay and Paypal with its millions of users have found this strategy useful. As infrastructure and IT footprint grows, such automation improves agility.
#codingexercise
int GetCountSquareSubMatrixSizekCountZerosOrOnes(int[,] A, int rows, int cols, int k, int binary)  
 
int total = 0;
for int I = 0; I  < rows; i++) {  
    for int j = 0; j < cols; j++) {  
            // use this as the start of submatrix  
            int count = 0;  
            for int x = i; x < k; x++)  
                for int y = j; y < k; y++)  
                       If  ( x < rows && y < cols && A[x,y] == binary) 
                            count += 1;   
             If (count == k * k) 
                  total += 1; 
      }  
 
return total;  

 

No comments:

Post a Comment