Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between Caching and Persistence in Apache Spark?



What is the difference between Caching and Persistence in Apache Spark?..

Answer / Ravi

Caching in Apache Spark stores RDDs (Resilient Distributed Datasets) in memory for faster access during subsequent tasks. Once cached, the data remains in memory until explicitly cleared or the application terminates. Persistence, on the other hand, saves DataFrames or Datasets to an external storage system like HDFS or Cassandra for long-term storage.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

What is spark in python?

1 Answers  


List down the languages supported by Apache Spark?

1 Answers  


What is Directed Acyclic Graph(DAG)?

1 Answers  


What are broadcast variables in Apache Spark? Why do we need them?

1 Answers  


Describe the run-time architecture of Spark?

1 Answers  


Why Spark?

1 Answers  


Describe Partition and Partitioner in Apache Spark?

1 Answers  


What is spark slang for?

1 Answers  


Which spark library allows reliable file sharing at memory speed across different cluster frameworks?

1 Answers  


Explain the lookup() operation in Spark?

1 Answers  


Can you use spark to access and analyze data stored in cassandra databases?

1 Answers  


List the advantage of Parquet files?

1 Answers  


Categories