OriginProtocol / origin

Monorepo for our developer tools and decentralized marketplace application
https://www.originprotocol.com/developers
MIT License
652 stars 196 forks source link

GraphQL server optimizations #3596

Open nick opened 4 years ago

nick commented 4 years ago

A quick glance at the network tab when loading shoporigin.com shows that most of the app latency comes from waiting on GraphQL server results. Here are the query times from when I looked just now:

We should try to optimize these queries to return in < 500ms each so the user is not waiting around getting frustrated. AllListings should ideally return in < 250ms.

Suggest we start by writing a benchmark script that returns numbers for all these queries, then work on optimizing them.


At Origin, we use ZenHub to manage our engineering tasks and product development. Download their browser extension and check out our open workspace at github.com/originprotocol/origin#zenhub.

micahalcorn commented 4 years ago

Deprioritizing this for now 🙁