I am trying to make a news feed kind of application. The problem is I have to make multiple http requests to generate the news feed which slows it down. The three API requests that I am making are following:
The problem is I have to make request #2 and #3 for each user and each activity respectively.This is taking 10-15 minutes to generate a news feed for a user with only 25 followers. How can I optimize it?
PS: I am using Google App Engine with Python along with datastore for my backend.