0

Does MemoryCache create thread for each instance of the memory cache or there is a single thread across all memory cache instances? I have a few documentations that say that the granularity of the cache is 20 seconds and every 20 seconds a thread goes over the list of items and expires items that are expired. However, I have been not able to find documentation that lists how many threads are created.

Yogesh
  • 2,198
  • 1
  • 19
  • 28
  • Why do you think it directly create threads rather then using `ThreadPool`? – user4003407 Jun 03 '18 at 21:41
  • Okay. That indirectly answers my question. I wasn't sure myself that it was using a threadpool but your question lead me to do further research on Timer class which uses a threadpool. – Yogesh Jun 04 '18 at 04:49

0 Answers0