I want to get exact reason behind having functions serializable in Spark and want to know the if possible want to know the scenarios, where can be issues because of Serialization,
As far as my understanding goes, to ensure seam less no side-effect parallel processing, instead of sending the data liike imperative paradigm,
function will be sent to the node and data gets processed parallely.
Is my above thought Correct.??? As far as my study, Functional programming is a very good way forward for parallel processing/concurrent programming, so i thought this is the reason.
As we are passing function, is it the security reason behind having functions serializable.?
Thanks In advance.