简体   繁体   English

我应该为我的 API 使用什么样的 DigitalOcean droplet。 是使用php和mysql,涉及到mysql的所有操作

[英]What kind of DigitalOcean droplet should I use for my API. It is using php and mysql, involving all the mysql operations

I am working on my startup and for our mobile app I'm creating an API.我正在我的初创公司工作,我正在为我们的移动应用程序创建一个 API。 I need recommendation on where I should host it.我需要关于我应该在哪里托管它的建议。 I like DigitalOcean very much.我非常喜欢 DigitalOcean。

DigitalOcean have three kind of droplets: Standard, General Purpose, CPU-Optimized DigitalOcean 有三种液滴:标准型、通用型、CPU 优化型

My API is based on PHP and MySQL.我的 API 基于 PHP 和 MySQL。 It involves all the basic database actions.它涉及所有基本的数据库操作。 Not considering the traffic I just want to know which type of droplet I should use.不考虑流量,我只想知道我应该使用哪种类型的 Droplet。

Know More about Droplets: https://www.digitalocean.com/products/droplets/了解有关 Droplets 的更多信息: https : //www.digitalocean.com/products/droplets/

My advice is standard droplets are good and cheaper for development and you can upgrade the same droplet for specifics after you are done with you api.我的建议是标准的 droplet 很好,而且开发成本更低,你可以在完成 api 后升级相同的 droplet 以了解具体情况。

You might also want to use PhpMyAdmin droplet from the DigitalOcean Marketplace as it comes preset with php7 and mysql.您可能还想使用来自 DigitalOcean Marketplace 的 PhpMyAdmin droplet,因为它预设了 php7 和 mysql。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM