Notice for App being in use
-
Hi!
I maintain my Cloudron and have several sites (mostly Wordpress) hosted on it for clients. They are located in all kinds of time zones.
This morning (for me) I saw that there is the 6.0.1 upgrade available, which requires a restart I imagine. But before I do so, I wondered if any of my clients are on their sites doing something. I've tried before to send a quick message, but they don't always see it in the timeframe I'm hoping for.Soooo, if there a way for me to see if an app is "in use" from my Cloudron dashboard? Could there be a way for this sort of activity to be viewable, either a feature added by the Cloudron team, or a WP plugin that I could install and thus monitor the sites that way?
Thank you.
-
Hi!
I maintain my Cloudron and have several sites (mostly Wordpress) hosted on it for clients. They are located in all kinds of time zones.
This morning (for me) I saw that there is the 6.0.1 upgrade available, which requires a restart I imagine. But before I do so, I wondered if any of my clients are on their sites doing something. I've tried before to send a quick message, but they don't always see it in the timeframe I'm hoping for.Soooo, if there a way for me to see if an app is "in use" from my Cloudron dashboard? Could there be a way for this sort of activity to be viewable, either a feature added by the Cloudron team, or a WP plugin that I could install and thus monitor the sites that way?
Thank you.
-
I can see that feature being useful, but I guess one would need quite some understanding of the app to distinguish public visitors, logged-in users, then see if they are active or idling (ie just a browser tab open).
I guess what you could do is to add like matomo analytics to those sites, afterall this is what analytics are for and matomo has some realtime update feed.
-
@scooke if you check the event log, you can see at least when someone logged in, like
just now ldap - yourwordpress.com user logged inThis only shows new logins, so if they didn't log out and use an older session, you won't be seeing that.
-
To go a bit on a tangent, I like the idea in Heroku where an app automatically shuts down when it's not in use for a while. And automatically starts up when a request comes in (I think even sandstorm had such a feature). I don't know how easy it would be to implement this though. This way apps that are not in use automatically go into "dormant" mode.
-
To go a bit on a tangent, I like the idea in Heroku where an app automatically shuts down when it's not in use for a while. And automatically starts up when a request comes in (I think even sandstorm had such a feature). I don't know how easy it would be to implement this though. This way apps that are not in use automatically go into "dormant" mode.
@girish I like this a lot as something you can configure. Naming could be on-demand vs always-on?
-
To go a bit on a tangent, I like the idea in Heroku where an app automatically shuts down when it's not in use for a while. And automatically starts up when a request comes in (I think even sandstorm had such a feature). I don't know how easy it would be to implement this though. This way apps that are not in use automatically go into "dormant" mode.
@girish that can be done with "socket activation", this is explained quite nicely in https://blog.developer.atlassian.com/docker-systemd-socket-activation/
But i guess it also depends on the app in question if it can startup fast enough to not have the user give up on the first request.
-
@girish that can be done with "socket activation", this is explained quite nicely in https://blog.developer.atlassian.com/docker-systemd-socket-activation/
But i guess it also depends on the app in question if it can startup fast enough to not have the user give up on the first request.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login