We are going to deploy a newly created WebApplication in the next weeks from a project i'm working in as a software guy. We do not expect high load in the first 6 month, but we want to build the system architecture in a scalable way. I have a idea, but not sure if this is common or performs well:
- i would create 2 or more mysql-ndb cluster nodes
- i would create 2 or more Webapplication nodes WITH the MySQL Frontend servers on it, connecting to the ndb storage.
- If i would deploy a new webapplication node it will always be shipped with mysql Frontend server installed on it. So, every Webapplication would connect to localhost for MySQL connection.
I know there are security considerations in this scenario. The Webapplication is behind a reverse proxy and not directly accessible from outside.
Are there any disadvantages in this scenario? Just a theoretical question; what if i would have more frontend MySQL Servers than NDB Nodes on the storage Layer?