I am new to CUBA (from my previous post) and I would like to start right on developing a clustered application. As I can see when creating a bare project with Studio, I get all the application modules - global, core, web, etc. I have read the “scaling” section of the docs but it is unclear to me how to start such a project.
My questions are:
- How to I separate the web from the middleware in different servers? Do I need to create two projects? Which components/files go with which tier? (global, core, entities, services, etc.)
- If I decide to add more servers in the future, what properties/settings do I need to change?
- Can I create many middleware projects running on different ports which I can then call from the web tier?
Thanks in advance!