hello everyone, i want to collect some performance figures of my app on the server side. but i do not want to persist them in the database, i only want to collect them by changing the state of some class (i.e. changing class members like number of requests, number of method calls, etc). i want to read these values on the client side and display them in an administration panel (or a profiler-like ui).
but currently i think the application state is at least lost after each new deployment. is this the only time the state is resetted? does a jvm holding my application state run all the time between each deployment? i have the same question regarding static members. i use singletons or static variables on server side to make sure they are constructed only once whenever their construction is expensive. so i want to make sure that the jvm holding the instances is running for a very long time to avoid reconstruction of them. however, it feels like the jvm is restarted relatively often (due to very low load on my app maybe) and thus the singletons are recreated during the jvm startup. kind regards, ingo -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
