0 votes
in Spark Preliminaries by
what broadcast variables are.

1 Answer

0 votes
by

With broadcast variables, a programmer can send a copy of a read-only variable with each task. Instead, the variable is cached on each computer. Spark has two types of mutual variables: broadcast variables and accumulators. Broadcast variables are kept in Array Buffers, which send values that can only be read to the nodes that are doing work.

Related questions

+1 vote
asked Aug 26, 2020 in Cyber Security by sharadyadav1986
0 votes
asked Feb 16, 2023 in Spark Preliminaries by Robindeniel
...