-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Azure Maps - Azure Maps] API Review #28960
Comments
Notes from API Review meeting 5/23/24
This looks good for preview. Please incorporate the above into the preview if possible/desirable. |
|
I'm not sure I understand the concern with average latency for the /operations endpoint. The response will be small and quick while the operation is still in flight. When the operation is complete, users will only need one API call rather than two to obtain the results, and whether the results are small or large the performance of one call has to be better than two. As for streaming, I'm not sure what you mean there. HTTP allows "chunking" of the response body and this can be implemented on any response. If you actually mean pagination, then this needs to be added to "/results" now because it is a breaking change to add pagination later. |
I mean that if the result object is large, the user might have to wait about 20 seconds to get the result. However, if the result object is small, on average it only takes about 1 second. I expect that regardless of whether the status is success or failure, the user can receive the status in under 1 second. This way, they can quickly determine the current operation status and to decide if they want to download the result |
I don't understand how breaking this into two operations will reduce the time to receive the result. If the result is large, it's going to take a while to transfer. Breaking this into two operations only adds to the latency. |
The result time is fixed, but the user can check the status quickly. |
Is it a common use case to perform this operation and not want to download the result? |
The status API can be lightweight and designed for quick responses, while the download API can manage the heavier load of data transfer. If the status API takes too long, users might unexpectedly cancel, but now that we've separated them, they know their result is actually complete. Thus, they understand that their response is large and will take a long time to download. They can then tailor their logic based on their needs. |
New API Review meeting has been requested.
Service Name: Azure Maps - Azure Maps
Review Created By: Will Huang
Review Date: 05/23/2024 08:00 AM PT
Release Plan:
PR: #29153
Hero Scenarios Link: See
Core Concepts Doc Link: See
Description: SnapToRoads/RouteRange APIs refview
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here
The text was updated successfully, but these errors were encountered: