SbloodyS commented on issue #3905: URL: https://github.com/apache/incubator-streampark/issues/3905#issuecomment-2242130189
Thanks for reply. @1996fanrui > I have a question: is the master server or the worker server single process? Or are they virtual(logical) role? From my persperctive, `master server` and `worker server` are two different process. This makes it easy for users to combine their number freely, such as 2 masters and 3 workers. > If master and worker are separate process, users need to start a series of process for HA mode(At least 2 workers and 2 masters). It will increase the deployment cost for users. For the deployment issue you mentioned, we can build a start and stop script so that the user can choose how to start. For example, `streampark-daemon.sh start/stop master-server/worker-server/all`. > Also, I'd like to rename the master server to rest service for 2 reasons: - In general, the master only have one active instance. - Server means a process, but one process could has multiple services. Since the master is not only responsible for API responsibilities, but also responsible for task distribution and task worker selection functions. I would prefer to use `master server`. And we may split the `API` module into a seprate process maybe call `api-server` or others if further optimization needed in the future. WDYT? @1996fanrui -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
