Web unit and computing unit
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?
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.×