So my private app needs to call the shopify API at a pretty high QPS, at a rate that exceeds their rate limits. My thought here is to create my own GraphQL server for my private app to access, and that server would call Shopify's API say once an hour to get the most updated product/customer information to then server to the private app. Any other ideas on how to do this?
Appreciate ANY feedback!! thank you 🙏🏻
If there's no need to smash the Shopify servers and it's something you can do on your own systems that makes sense to me. Higher rates are available on Plus plans but let's skip that conversation for now.
Hi @Jason thanks for the quick response. A few clarifications:
What I'm proposing looks something like this:
Private App ---> Own Private GraphQL Server ----> Shopify API
Private graphql server would call Shopify API say once an hour to refresh the data. Private App can then call the Private Server as much as it wants.
- We should be able to handle up to 10QPS (MAX load) for queries that cost around 400 points.
- It's kind of complicated, but it's an external site that pulls information from the Shopify API...
- I was saying my own personal GraphQL server would call the Shopify API once an hour to make sure the data is the most up-to-date to serve to the private app. It doesn't matter if takes a moment to process.
The what is does is lacking still but get why you wouldn't go into that on a public forum. How you are approaching feels like the right path to me.
The only things to just keep in mind: