I have a little app(PHP
) that uses data from a third party. That data is processed constantly and saved into a database. And now i want to create a RESTful API to allow access to that data.
Should i keep my app on the same droplet as the API or should i separate them?
The API will mainly be called by a Python
app(also mine) which runs on Windows.
PHP app is on a subdomain like this: app.example.com
[Droplet_1]
Thinking about creating the API on a second droplet with a subdomain like this: api.example.com
[Droplet_2]
P.S: I'm currently running on DigitalOcean droplets.