Sorry, I am very new to this whole concept. Basically, I have a Django site. One of the view does a lot of work and leads to the server hanging up due to lack of memory. I want to take the functionality of that view and make it run on another server (Server B), and get the main server (Server A) to communicate with it like as if they both ran on the same server. My first guess Is I need to make Server B listen on a port that Server A can talk to and vice versa.
I'm not asking for a definite answer as this question in itself may be vague. Maybe, I can achieve this better by load balancing etc., I'm not sure. Any links pointing to information about how I can possibly achieve what I want is much appreciated. Thanks