Hi,
    Can you please share your cache configuration.  How many nodes do you have in your cluster?
    If you are running in PARTITONED mode then some exchange of information will occur.  
    More details here: https://apacheignite.readme.io/docs/cache-modes
    Do you have a reproducer project?  
Thanks, Alex
  

On Wed, Aug 14, 2019 at 1:22 AM Shravya Nethula <shravya.nethula@aline-consulting.com> wrote:

Hi, 

I have created a cache using the following API: 
IgniteCache<String, Object> cache = (IgniteCache<String, Object>) ignite.getOrCreateCache(cacheCfg); 

Now when i try to delete the cache using IgniteCache.destroy() API, it is taking about 12-13 seconds. 

Why is it taking more execution time? Will there be any exchange of cache information among the nodes whenever a cache is deleted? 
Is there any way in which, the execution time can be optimized? 

Regards, 
Shravya Nethula.


Regards,

Shravya Nethula,

BigData Developer,


Hyderabad.