No streaming resources are available when connecting to an Appstream streaming url

0

We've seen that when the fleet that we've available is scaling out instances people is prompted with a pop up with the following message "No streaming resources are available, try again after a few minutes" with a retry button available.

In this situation we would have expected that if after a while there are no instances available the streaming url generated will expired after the time value configured for url validity 60 seconds but it's not, users can retry even when the url should have expired.

Can someone confirms that url validity doesn't take effect in this situation? if so, what's the max time the user can use that given url after is invalidated if he remains clicking retry periodically?

We already know that the recommended approach is ensuring that there are enough instances for incoming users but we can't predict our usage patterns accurately and we end up reaching this more than desired affecting to our user experience.

質問済み 2年前1268ビュー
2回答
1

In this situation we would have expected that if after a while there are no instances available the streaming url generated will expired after the time value configured for url validity 60 seconds but it's not, users can retry even when the url should have expired.

Can someone confirms that url validity doesn't take effect in this situation? if so, what's the max time the user can use that given url after is invalidated if he remains clicking retry periodically?

The streaming URL validity, and ability to generate streaming URLs, are not related to the capacity in the fleet at any given time. The streaming URL authorizes a user to access a specific stack, and the URL remains active only for the validity period that was entered (if 60 seconds, then the user has 60 seconds from URL generation to access the stack). Once the user lands on the AppStream 2.0 application catalog, they can attempt to access an instance, or continue retrying (I think for 16 hours). However, they will not be able to use the streaming URL to access the application catalog page again.

We already know that the recommended approach is ensuring that there are enough instances for incoming users but we can't predict our usage patterns accurately and we end up reaching this more than desired affecting to our user experience.

You will need to ensure sufficient capacity for your users to access to avoid having them see that URL. We generally recommend customers over provision their fleets for a duration to understand what the utilization pattern will look like, then use a combination of target tracking and scheduled scaling to meet that demand. Eg: use scheduled scaling to set a higher minimum during business hours, then use scheduled scaling to reduce the minimum outside business hours - and target tracking will grow/shrink within those boundaries.

If your application can be made portable, you could consider using Elastic fleets. Elastic fleets eliminates the need to predict usage patterns or create/manage scaling policies entirely. As long as your application can be delivered to the streaming instance on the fly, this might be a good option. Elastic fleets also bill per second, with a minimum duration of 15 minutes, so may reduce your costs, too.

エキスパート
回答済み 2年前
0

I see thanks, summarizing:

is this right?

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ