Research Article

C-Aware: A Cache Management Algorithm Considering Cache Media Access Characteristic in Cloud Computing

Algorithm 1

Algorithm of C-Aware core.
Cache_Handle (Request){
   Get cache_block from data cache according to current request
   if (cache_block ==NULL){
     if (Cache is full){
       if (Rule  1  or  Rule  2 is satisfied)
          Cache_Miss (Request);
       else
          Access the storage network directly;
     } else if (Rule  3  or  Rule  4 is satisfied){
       Access the storage network directly;
     } else {
       Cache_Miss (Request);
     }
   } else
     Cache_Hit (Request);
   }