How does AppStream Disconnect Timeout state affect my app

1

We're migrating an app that currently saves its state and users' work every 10 minutes. Persistent storage is configured. I wonder what happens in a situation where a user accidentally disconnects before the next 10 minutes (let's assume that 8 minutes of work has passed and the user closes the browser tab). Will our application stay alive, so to say, and be able to write to S3? I understand that session is in a Disconnect timeout state but will our app be able to save the last work made by a user in this state? Or does the instance enter some kind of hibernate state? Enter image description here

profile picture
Les
asked 2 years ago201 views
1 Answer
1
Accepted Answer

Hey Les,

Disconnect timeout in minutes keeps the AppStream session active after the user disconnects. So if you have configured for 10 mins, the session remains running for the next 10 mins. There is no concept of hibernate state here. Now, it really depends on your application whether it can write to S3 storage when there is no user interaction. If it can, you are good.

My recommendation is to test this out which i believe is quite straightforward. Set the timeout to 10 mins and disconnect the session to see how the application behaves.

Hope it helps,

-arun.

profile pictureAWS
Arun_PC
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions