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 persist() and cache()?



What is the difference between persist() and cache()?..

Answer / Hari Shankar

"The main difference lies in storage level: cache() stores data in memory, while persist() allows for more flexibility by allowing you to specify a storage level (such as MEMORY_ONLY, MEMORY_AND_DISK, or OFF_HEAP)."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

How is streaming implemented in spark? Explain with examples.

1 Answers  


How is fault tolerance achieved in Apache Spark?

1 Answers  


How do I use spark with big data?

1 Answers  


Can you use Spark for ETL process?

1 Answers  


Why do we need sparkcontext?

1 Answers  


Explain about the popular use cases of Apache Spark

1 Answers  


Explain the term paired RDD in Apache Spark?

1 Answers  


What is graphx spark?

1 Answers  


Is it possible to run Spark and Mesos along with Hadoop?

1 Answers  


What are the common faults of the developer while using Apache Spark?

1 Answers  


What is parallelize in spark?

1 Answers  


When creating an RDD, what goes on internally?

1 Answers  


Categories