-
Notifications
You must be signed in to change notification settings - Fork 396
gsql-proxy endpoint causing additional delay in Query response #1039
-
|
As part of querying indexers all requests are routed to https://gql-proxy.subquery.network and then redirected to the actual indexers query node. I believe that this is causing unintended delay in the response time. For a indexer present and running in Central Europe the below is the response time when queried from a server located in London.
However when the test is repeated using a customer location from Chicago the response times are more or less equal. A quick check seems to indicate that https://gsql-proxy endpoint servers are both located in US-EAST location which maybe causing the additional delay due to round-trips from London to Us adding to the response time. |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 4 replies
-
Actually the requests are not routed to the proxy. The load generator doesn't have limitation of using http endpoints.
Beta Was this translation helpful? Give feedback.
All reactions
-
But I did see an indexer who put gql-proxy as their indexer url in the indexer metadata, which I think shouldn't be encouraged. gql-proxy is a fall-back solution only for indexer doesn't have https certs.
Beta Was this translation helpful? Give feedback.
All reactions
-
How exactly do we update in indexer metadata ? The default query URL is visible with gsql-proxy when checked in the projects-> indexer tab
image
Beta Was this translation helpful? Give feedback.
All reactions
-
In the UI, we added proxy for indexers whose endpoint isn't http.
The place for indexer to specify their endpoint is in the indexer app.
image
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi Ian
I have already set the end point in the admin page.
Even for your indexers I can see only the gsql-proxy endpoint in the indexers page(https://frontier.subquery.network/explorer/) of the projects .
Where are the consumers supposed to get the end point for querying from their indexers ?
I think it would be better to add a query URL in the (https://frontier.subquery.network/plans/service-agreements/ongoing) so that they can get the query URL of the indexers with who they have the service agreement instead of going through the entire list of indexers. This page can have the direct endpoint without the gsql proxy
Beta Was this translation helpful? Give feedback.
All reactions
-
I got your point, we can add a button so consumer can copy the original url.
For your suggestion, we are adding playground for ongoing agreements, you will see it soon within this week.
Beta Was this translation helpful? Give feedback.