When should we avoid using caching

SAS
0
When to Avoid Caching in Apache Spark
Answer Thumbnail

Avoid caching when:

  1. The dataset is used only once.
  2. Memory constraints exist, and caching large datasets may lead to disk spills or OutOfMemory errors.
  3. The cost of recomputation is lower than the cost of storing intermediate data.
  4. Unnecessary caching can degrade performance by using valuable cluster resources.



Tags:

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Check Now
Ok, Go it!