I currently own only one computer, and I won't have another.
I run Spark on its CPU cores :
master=local[5], using it directly : I setspark-coreandspark-sqlfor dependencies, do quite no other configuration, and my programs start immediately. It's confortable, of course.But should I attempt to create an architecture with a master and some workers by the mean of Docker containers or minikube (Kubernetes) on my computer ?
Will solution #2 - with all the settings it requires - reward me with better performances, because Spark is truly designed to work that way, even on a single computer,
or will I loose some time, because the mode I'm currently running it, without network usage, without need of data locality will always give me better performances, and solution #1 will always be the best on a single computer ?
My hypothesis is that #1 is fine. But I have no true measurement for that. No source of comparison. Who have experienced the two manners of doing things on a sigle computer ?