-
Notifications
You must be signed in to change notification settings - Fork 17
VWRs edits #1193
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
base: main
Are you sure you want to change the base?
VWRs edits #1193
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ghost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
ghost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
|
||
| ## The VWR Workflow | ||
|
|
||
| During moments of peak traffic, VWRs makes a new page separate from your origin to organize visitors. The VWRs workflow ensures that users are directed to the appropriate origin service while ensuring fairness in the queue and providing metrics and alerts to the administrator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand "makes a new page". What do you mean?
|
|
||
| During moments of peak traffic, VWRs makes a new page separate from your origin to organize visitors. The VWRs workflow ensures that users are directed to the appropriate origin service while ensuring fairness in the queue and providing metrics and alerts to the administrator. | ||
|
|
||
| 1. The Akamai EdgeWorkers check the virtual room service to confirm if a waiting room is set up for an origin service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is only one EdgeWorker. So is "EdgeWorkers" still correct? Below it is singular.
"check the virtual room service"... Do you "check the virtual room service" or "check with the virtual room service"?
Did you mean to call it "virtual room service" and not "virtual waiting room service"?
| - If no waiting room, the EdgeWorker sends the traffic request directly to the origin service. | ||
| - If there is a waiting room, the EdgeWorker sends to the waiting room. | ||
|
|
||
| 3. The waiting room service adds the request to the waiting room associated with the domain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am confused about "domain". Is this the old nomenclature "domain" or is this a different domain?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's okay for this to stay as-is.
docs/photoniq/vwrs/04-queue-types.md
Outdated
|
|
||
| ## FIFO | ||
|
|
||
| This FIFO (first in, first out) queue operates on a "first come, first served" basis. Every new request pushes older requests to the front of the queue, closer to the origin server. Thus, when the system removes a request from the front, all subsequent elements move up one position. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is "this" referencing?
|
|
||
| ## Available Metrics | ||
|
|
||
| The metrics response body includes the following properties: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"response body" ?? I think this is about an REST API, but there was no reference to a REST API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a response to an API call. I'll make it clearer in my next commit
Co-authored-by: Joubert Berger <88400412+joubert-macrometa@users.noreply.github.com>
Co-authored-by: Joubert Berger <88400412+joubert-macrometa@users.noreply.github.com>
Co-authored-by: Joubert Berger <88400412+joubert-macrometa@users.noreply.github.com>
Co-authored-by: Joubert Berger <88400412+joubert-macrometa@users.noreply.github.com>
Implemented some edits
docs/photoniq/vwrs/03-configuration-and-setup/02-configure-waiting-rooms.md
Outdated
Show resolved
Hide resolved
docs/photoniq/vwrs/03-configuration-and-setup/04-customizing-vwrs.md
Outdated
Show resolved
Hide resolved
docs/photoniq/vwrs/03-configuration-and-setup/01-configuring-edgeworkers.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't feel bad about the large number of comments, VWRS is a bit rough around the edges. Seven services, deprecated parts, unimplemented parts, EdgeWorkers, CDNs, oh my 😄
…ting-rooms.md Co-authored-by: Todor <153493191+todor-macrometa@users.noreply.github.com>
…ting-rooms.md Co-authored-by: Joubert Berger <88400412+joubert-macrometa@users.noreply.github.com>
todor-macrometa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See suggestions.
|
|
||
| ```bash | ||
| curl -X 'PATCH' \ | ||
| https://api-vwr-service.gdn-akamai.com/api/vwr/v1/origins/example3.com \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| https://api-vwr-service.gdn-akamai.com/api/vwr/v1/origins/example3.com \ | |
| https://api-vwr-service.gdn-akamai.com/api/vwr/v1/waitingrooms/example3.com \ |
|
|
||
| - The waiting room service periodically checks the sessions to remove requests for expired sessions from the queues. | ||
| - The waiting room service collects the metrics for each waiting room. | ||
| - The administrator can turn customer domains on or off through Configuration APIs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - The administrator can turn customer domains on or off through Configuration APIs. | |
| - The administrator can turn customer waiting rooms on or off through Configuration APIs. |
| - If no waiting room, the EdgeWorker sends the traffic request directly to the origin service. | ||
| - If there is a waiting room, the EdgeWorker sends to the waiting room. | ||
|
|
||
| 3. The waiting room service adds the request to the waiting room associated with the domain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's okay for this to stay as-is.
Co-authored-by: Todor <153493191+todor-macrometa@users.noreply.github.com>
Apologies for the misleading branch name. I made some changes to VWRs.