How I started doing load #testing on #graphql without writing a single Query
▻https://hackernoon.com/how-i-started-doing-load-testing-on-graphql-without-writing-a-single-que
EasyGraphQLSome time ago I was working on a GraphQL project that includes activities and each activity can have some comments with the info of the user that created the comment. The first thing that you might think is that it is a problem of query n + 1 , and yes; it is!I decided to implement dataloaders but for some reason, there was an error on the implementation, so it wasn’t caching the query and the result was a lot of request to the database. After finding that issue I implemented it on the right way reducing the queries to the database from 46 to 6.That’s why I decided to create an open source tool that will help me create queries and make load tests just passing my GraphQL schema.How it works:easygraphql-load-tester can be used on two ways for the moment; the first one is using (...)