Report this

What is the reason for this report?

Web unit and computing unit

Posted on May 1, 2020
mfnx

By mfnx

So I managed to get my website working on a droplet (docker image with nginx, gunicorn, django). The website is still under development (I’m new to web development). The website is intended to be an interface for the user to interact with an finite element solver I wrote in C++. Each time the user hits the solve button, the C++ must be invoked to solve the problem. Now, solving such a problem can be time consuming as well as computationally expensive. So, I guess it wouldn’t be wise to host both the web and the app on one single droplet, since the website wouldn’t run smoothly anymore (is that correct?). So I thought to get another droplet which would take care of the computation part. Is this the right way of thinking? And if so, can I pass the input of the user from the web droplet to the computing droplet?

The developer cloud

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

Start building today

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