Monday, June 18, 2018

We were discussing virtualization and software defined stacks. Software defined technology stack aims to virtualize compute, network, storage and security aspects. 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. That said security and compliance needs to be studied with SDS deployments because they open up immense possibilities that go against hardening.
SDS can also move up the stack. This layer does not have to adhere to the hardware and can move up into applications and business operations. As an enabler for runtime it can host one or more workloads depending on what it is used for.


#codingexercise
int GetCountSquareSubMatrixSizekCountZeros (int[,] A, int rows, int cols, int k)  
 
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] == 0) 
                            count += 1;   
             If (count == k * k) 
                  total += 1; 
      }  
 
return total;  
 

No comments:

Post a Comment