• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Crazy deployment idea...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Crazy deployment idea...
      • From: Chuck Hill <email@hidden>
    • Re: Crazy deployment idea...
      • From: Hugi Thordarson <email@hidden>
    • Re: Crazy deployment idea...
      • From: David Avendasora <email@hidden>
  • Prev by Date: Does ERPDFWrapper support Unicode character output to PDF?
  • Next by Date: Re: Crazy deployment idea...
  • Previous by thread: Does ERPDFWrapper support Unicode character output to PDF?
  • Next by thread: Re: Crazy deployment idea...
  • Index(es):
    • Date
    • Thread