there are several component entities run as daemons in spark(standalone),know to what/how they are working is necessary indeed.
akka msg flow similar to tcp
note:
register driver =RequestSubmitDriver
register app=ResigterApplication which sends by AppClient to master when startups SparkDeploySchedulerBackend in dirver
ref:
[spark-src]-source reading