Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your 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 there @michielfenaux,
I like the approach of keeping the different services separately, it’s kind of leaning to the whole microservices architecture. That way the services (your frontend and the computation service) would be loosely coupled and independently deployable, so in case that the computation service goes down due to overload, your website would still remain running.
Actually this would be your approach even if you go for Kubernetes for example, you would have your different services, packaged into Docker images, and deployed as separate services to the cluster.
Of course, you could always have all of the components on a single Droplet in the beginning and later scale with a few Droplets.
Passing the input from your website to the backend service which would be doing the computation could be done through an API. For example, on the backend service, you could expose an endpoint that expects a certain payload, and then you could just hit that API endpoint with a POST request including the necessary parameters from your frontend.
Hope that this helps! Regards, Bobby
Thanks @bobbyiliev, this was helpful to understand the big picture (not familiar with kubernetes yet).
As I understand it, in this situation, my web on one droplet is considered as a frontend and my other droplet with the C++ app would be the backend. I would then send information forth and back by means of requests. Is that correct?