Brilliant idea! - hugi
On 1.9.2010, at 20:17, Pascal Robert wrote: > I just had a crazy idea getting in my head. Since with JMX you can monitor > the heap memory usage and load, I was thinking of using the new REST API in > JavaMonitor to add and remove instances based on demand. For example, if an > app have only one instance and memory usage have been more than 95% for a > certain period of time, the instance or another tool (Nagios or even wotaskd) > could start a new instance to offload a bit of processing to the new > instance. If memory usage goes down below 30%, you put the second instance in > "refuse new sessions" mode and set "auto recover" to off so that you are > going back to one instance. That would allow apps to handle higher load when > you are slashdotted or any reason your app have way more requests. > > I think it's something who is doable. Does anyone have tried something > similar? Am I crazy? > > ---- > Pascal Robert > [email protected] > > AIM: MacTICanada > Twitter : pascal_robert > LinkedIn : http://www.linkedin.com/in/macti > WO Community profile : http://wocommunity.org/page/member?name=probert > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
