GraphQL response times

Hi all,

We’re doing some tests with the graphql api on the free plan, but the response times of that are pretty high so far. Can anybody tell me if there is a performance difference for the graphql api between paid plans and the free plan?

Thanks,
Arjen

Hi @arjen.brink,

The response time is the same for both plans. However the rate-limit differs.

Could you tell me if the tests you are performing have a lot of includes or are meant to stress-test the GraphQL endpoint? Just to know, so we could try to analyse on our end the reason behind those response times.

Hi @Alma,

Thanks for the quick reply, not stresstesting, just a single query we run a couple of times.
Response times are very fluctuant, some are <100ms which is fine, but a sign. perc of times we see response times of >200ms and sometimes even taking >500ms.

the query:

query ($preview: Boolean, $locale: String) {

navMainLeft: navMainCollection(preview: $preview, locale: $locale, where: {position: “left”}, order: [sortOrder_ASC]) {
items {
item
link
isButton
buttonIconLeft
buttonIconRight
}
}
navMainRight: navMainCollection(preview: $preview, locale: $locale, where: {position: “right”}, order: [sortOrder_ASC]) {
items {
item
link
isButton
buttonIconLeft
buttonIconRight
}
}
heroFeatureCollection(locale: $locale, preview: $preview, where: {enabled: true}, order: [sortOrder_ASC]) {
items {
name
text
icon {
title
fileName
url
}
}
}
superdealCollection(locale: $locale, preview: $preview, where: {enabled: true}) {
items {
title {
json
}
text {
json
}
audience
slug
buttonText
image {
title
fileName
url
}
sticker {
title
fileName
url
}
}
}
phoneVariantCollection(preview: $preview, locale: $locale, order: [sortOrder_ASC], where: {showOnHomepage: true}, limit: 4) {
items {
colorCollection {
items {
name
}
}
slug
brand {
name
}
model {
name
imagesCollection {
items {
title
fileName
url
}
}
}
capacity {
name
}
discount
discountValidFrom
discountValidTo
}
}
subscriptionCollection(preview: $preview, locale: $locale, order: [mbMinSms_ASC, duration_ASC]) {
items {
mbMinSms
duration
priceMonthly
isFavourite
overridePriceConnection
overridePriceUnlimitedMinSms
overrideExtraUsageIfZiggo
}
}
simonlyBlocks: subscriptionCollection(preview: $preview, locale: $locale, order: [mbMinSms_ASC], where: {duration: 24}) {
items {
mbMinSms
icon {
title
contentType
fileName
url
}
}
}
}