Periodic long delays when using Apollo & Django Backend


#1

I’ve built a GraphQL API in Django using Graphene. It works great. My colleagues have used the Apollo client with Angular 4 for the front-end. It generally works fine for them to make calls to my GraphQL API but once in a while, periodically when using Chrome, there are long delays of 1 to 2 minutes, even for simple queries.

Looking at Chrome Dev Tools, the request is sent to the server but for some reason the results aren’t displayed for the long period of time I cited.

This delay never happens with the GraphiQL testing UI.

I’m wondering if anyone else has experienced this phenomenon and if there are any workarounds?

Robert