Crazy deployment idea...
Crazy deployment idea...
- Subject: Crazy deployment idea...
- From: Pascal Robert <email@hidden>
- Date: Wed, 1 Sep 2010 16:17:58 -0400
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@hidden
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden