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년 전1269회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠