You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /v1/player/batch endpoint does not behave consistently when it comes to time. It sometimes takes more than 8 seconds to return when I query for 3 steam accounts that I've queried before. Other times it takes less than 0.2 seconds for the same request.
I understand that this can not be completely fixed (the data needs to be updated in some way), but it would be very nice to have some way of predicting how long a given request to the endpoint will take.
Please add some way of predicting how long a batch request will take.
Suggestion for a solution:
A new endpoint that returns if a user (unique ID) is already in the RLS database and doesn't need to be updated (can be returned quickly by the batch endpoint).
A parameter (probably in the POST json data) that chooses between 2 behaviours. One makes the batch endpoint have the current behaviour (load data for all requested users, even if it takes time). The other makes it only return data for the users that it doesn't need to update, and therefore returns the data quickly.
The text was updated successfully, but these errors were encountered:
The
/v1/player/batch
endpoint does not behave consistently when it comes to time. It sometimes takes more than 8 seconds to return when I query for 3 steam accounts that I've queried before. Other times it takes less than 0.2 seconds for the same request.I understand that this can not be completely fixed (the data needs to be updated in some way), but it would be very nice to have some way of predicting how long a given request to the endpoint will take.
Please add some way of predicting how long a batch request will take.
Suggestion for a solution:
The text was updated successfully, but these errors were encountered: