I'd like to make a create a simple Rest API with DRF (https://www.django-rest-framework.org/). Another service is going to make requests in which it provides a JSON. This json is parsed and some rather simple pandas dataframe operations are going to take place. The result is sent back via JSON.
Is there a way to make this process multi-threaded? Even though the pandas operations are rather simple, they still might take ~0.5s-1s, and I'd like to avoid people waiting for a few secs if there's 3-4 of such requests made in the same moment for some reason.
Thanks!