Question

Can we create a web service only with MYSQL cluster?

I am an android developer and don’t know so much about server side. I was using a simple hosting and firebase for my backend needs. However, now I need a high scale database. I want to use managed database mysql. Can I create a web service with only buying a mysql cluster or must I buy a droplet for my web service and use mysql cluster as a database ? Sorry if this question is so weird :)

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @uzunapps,

You can get a MySQL cluster but it won’t be enough to host your application. You’ll need a place to store your files which will be as you said a droplet, unless I haven’t understood the question in which case, please let me know.

The MySQL Cluster distributed database provides high availability and throughput for your MySQL database management system. A MySQL Cluster consists of one or more management nodes (ndb_mgmd) that store the cluster’s configuration and control the data nodes (ndbd), where cluster data is stored. After communicating with the management node, clients (MySQL clients, servers, or native APIs) connect directly to these data nodes. I’ll urge you to read more on the topic, there is a really good tutorial here :

https://www.digitalocean.com/community/tutorials/how-to-create-a-multi-node-mysql-cluster-on-ubuntu-18-04

Regards, KFSys