Asynchronous Messages (using JMS) improves performance even when the desire

I am being told that even when point A to point B communication,
originating at point A, is synchronous, send a message to B wait for B
to finish processing and send a tagged(to corelate the response to the
request) message back asynchronously via another Q will improve the
response time and scalability during peak volume vis-a-vis a
synchronous API call between A and B. A being a servlet B being an
application server hosted on a container. Keep in mind that this
application cannot live with the fact that there is a possibility that
the response may never come back (timeout). The expected response time
during average load is <2sec. Peak load 110 transactions per second.
Response time of 5 secs during peak load is unacceptable. Clustering is
certainly a consideration. Any opinion, pointers, etc. is welcome.
Have a wonderful weekend!!

Hi,
I personally think that you should go for an asynchronous solution as that�s what JMS is all about. You can obviously use a Requestor and go for a RPC style solution but there are overheads:
1) Your messages cannot be concurrently processed
2) A temporary destination (to collect the response) is created per request
3) There is a delay between each message processing event
The number of app server instances that you would need is really application dependant and app server as well. But according to my experience, and assuming that your message process is simple, I would say that less than 2s delay is easily achievable.
By the way, have you considered using a light weight app server like an MDS container? For more info you can have a look at: http://www.arjuna.com/products/arjunams/tutorials/mds/index.html
Hope this helps
Arnaud
www.arjuna.com

Similar Messages

  • If i upgrade my RAM will that be enough to improve performance even though the CPU stays the same?

    I have an iMac (mid-2010) 4gb, Intel dual core i3 processor. OSX Mavericks (newest version)
    I have moved almost all data to a 3TB external drive, freeing up much of the space giving me 871gb free storage on the main drive.
    I am also running my libraries, back ups, & media from the external drive keeping the main free.
    I am upgrading to 4x4gb to increase RAM to 16gb for the iMac. 
    However the CPU is still the same. 
    Clearly I am not very versed in understanding the hardware.  I've spent the last two days learning a lot!!  Everyone has been super helpful in
    guiding me, and I feel I am almost there. 
    Just want to understand how I can get my iMac to function at its best when working in FCPX (newest version).  Especially
    when it comes to rendering & exporting. My workload is heavy, multiple videos at 1080i HD.
    I don't know much about how to read the Activity Monitor and posting a picture.  When viewing, and fcpx is running, the CPU will be
    upwards of 300%!! 
    HELP!  THANKS
    ASHLEY

    ashambeck wrote:
    Haven't spent any money just yet. Slightly panicking because Im not a computer person, YET, but
    I am learning
    Im extremely surprised that a 4 year old computer is already outdated??
    Yes, it is. It can be said to be almost ancient. 
    Note that this is not to say that your computer can't serve you. I am writing this on a 4 year old computer myself. It still works great (in fact better than when it was new, because it now has 8GB and an SSD). I can work on FCP X on it, too. I can run Mavericks and will be able to run Yosemite, too.
    But I also have the chance to try a 2013 Retina MacBook Pro, and it is night and day :-)

  • Xml messaging using jms code please

    hello friends
    presently i want to know how to send xml messaging using jms ..please
    give me answers in simple words. please give me code

    XML messages are text, so use a TextMessage. The JMS API Spec even notes that XML was a primary reason for having a TextMessage (They foresaw that XML "likely become popular").

  • My phone won't use IMessage even when the person I'm txting has an iPhone why?

    Why won't my phone use iMessage even when the person in txting has an iphone

    I'm having same problem with sending to 3 people from a particular WiFi Network. For two people the iMessage i write is sending, but stops just before Delivery and then says not delivered. For the third person it immediately sends as text message.
    Answered to questions above.
    Can I send to others... Intermittent. Usually no, but then at some point a lot of iMessages comes at once.
    Settings have been enabled.
    Also other persons settings/Messages are enabling iMessage.
    Enabled for WiFi + non roaming cellular ( at my end it should mean only wifi as I am in roaming area with wifi available).
    Numbers are all enabled as we have used them a lot of times, an no changes or upgrades this month.
    So: it seems to me to be a WiFi issue here, but the odd thing is that it sometimes lets iMessages through.
    e-mail and browsing works fine.
    Any suggestions?

  • Downloading images used to go automatically to the last folder used to save images, even when reopening Firefox. In just the past few days, possibly coinciding wih the most recent updates, the folder defaults to the 'Downloads' folder. This is most annoyi

    Downloading images used to go automatically to the last folder used to save images, even when reopening Firefox. In just the past few days, possibly coinciding wih the most recent updates, the folder defaults to the 'Downloads' folder. This is most annoying. What happened? Internet Explorer 8.0 did the same thing. This was one of the reasons why I started using Firefox to download all images. I went into Tools>Options and it only lets me set another folder. I dont want to set a specific folder I want it to always go to the last folder used. So what gives?
    == This happened ==
    Every time Firefox opened
    == possibly when the most recent updates were installed, a few days ago

    Thanks jscher 2000. I guess I didn't make it clear. "It restarts with all the addons activated, and resumes with the tabs that were open before closing it." IE, it's running fine now with all the extensions activated. Everything is OK now.
    So something in the Firefox code was causing the bad behavior. It's not essential that I find out what the problem was - I'm just curious. And if anybody else has this same problem, it might be nice to have it corrected at the source.

  • Read Object Message using JMS Adapter

    Hi,
    My JMS queue receives an object message.I want to read that object message using JMS adapter.Currently the JMS Adapter payload type is given options to read only 'TextMessage','BytesMessage','MapMessage'.How to read ObjectMesage using this adapter?Please help me on this?

    Hi,
    As far as i know, JMS Object Messages is not supported by XI JMS adapter.
    you need to have the JMS provider to transform the message to bytes messages.
    (Refer to SAP note 856346)

  • Should I disconnect the charger once the battery is 100% full. Or can I use the laptop plugged even when the battery is full., Should I disconnect the charger once the battery is 100% full. Or can I use the laptop plugged even when the battery is full.

    Should I disconnect the charger once the battery is 100% full. Or can I use the laptop plugged even when the battery is full., Should I disconnect the charger once the battery is 100% full. Or can I use the laptop plugged even when the battery is full.

    You can leave the charger plugged in, as you cannot overcharge...charging automatically stops when your battery is full. Once every 2 ~ 3 months, its a good idea to drain the battery to about ~ 40%, then recharge to full. Otherwise, you can charge whenever you like & leave connected whenever you like.
    Try to avoid full battery discharges, Lithium batteries don't like that & frequent full discharge/recharge cycles will eventually kill your battery.

  • TS3367 Nowhere on my iPhone 4 can I activate FaceTime... I've tried using contacts, settings, and even when I call someone with an active FaceTime, the FaceTime icon is not lit up. Any suggestions?

    Nowhere on my iPhone 4 can I activate FaceTime... I've tried using contacts, settings, and even when I call someone with an active FaceTime, the FaceTime icon is not lit up. Any suggestions?

    There is no facetime icon and never was. Facetime is built into the phone.  Go to settings>general>restrictions and make sure facetime is ON.  Go to settings>facetime and turn it on there and set it up there.  Also read http://support.apple.com/kb/ts4268

  • HT2101 Anyone else get the "iPod too hot" message, even when the device and ambient temp are both cool?

    My iPod Touch 4 repeatedly gets the iPod too hot message, even when the device and ambient temp are both cool.  Shuts itself off.  Ugh! 
    Is this a warranty issue or is there a fix?

    LED Cinema Display
    24-inch, Late 2008 (1344 x 840) 
    AMD Radeon HD 6750M 512 MB graphics
    Specifications
    Â Model number: A1267
    Â Resolution: 1920 x 1200 @ 60 Hz
    Â Ports: Three USB 2.0 ports on the back
     Camera and microphone: Built-in iSight camera with microphone  Speakers: Built-in 2.1 speakers with 12 W output
    Dimensions:
    Â Weight: 20.92 lb. (9.49 kg)
    Â Height: 18.84 inches (478.38 mm)
    Â Width: 22.57 inches (573.22 mm)
    Â Depth (with stand): 7.76 inches (197.10 mm) Â Viewable: 24 inches (609.60 mm) diagonal
    Operating environment:
    Â Operating temperature: 50° to 95° F (10° to 35° C) Â Relative humidity: 20% to 80% (noncondensing) Â Altitude: 0 to 10,000 feet (0 to 3048 meters)

  • Save as does not Create PDF Compatible File even when the creare pdf compatible files is on, Illustrator CC 2014

    save as does not Create PDF Compatible File even when the creare pdf compatible files is on, Illustrator CC 2014

    When I open is adobe acrobat I get this message.
    "This is an Adobe® Illustrator® File that was
    saved without PDF Content.
    To Place or open this  le in other
    applications, it should be re-saved from
    Adobe Illustrator with the "Create PDF
    Compatible File" option turned on. This
    option is in the Illustrator Native Format
    Options dialog box, which appears when
    saving an Adobe Illustrator  le using the
    Save As command."

  • Is there a  requirement to restart the JMS/Weblogc Server everytime when the DB goes down?

    Question:
    When the Database is shutdown gracefully everything was fine.
    But when the Database is brought down with shutdown abort the MDB consumer will never consume messages from the topic again. And we need to restart the WebLogic Server in order to get the messages consumed again.
    So is there a requirement to restart the JMS/Weblogc Server everytime when the DB goes down? If not, what type of failures will require the JMS/WLS restart?

    On a DB failure, a WL JDBC store service will make a brief attempt to reconnect before shutting itself down along with any services that depend on the store. 
    It isn't necessary to restart the entire WebLogic Server JVM to bring the affected service(s) back if you can use the Automatic Service Migration feature.  ASM can automatically restart a failed service on a different WL Server in the same cluster, and/or can try a restart-in-place for the service if the service's original host WL Server JVM is still running.   The Automatic Service Migration (pdf) white-paper has a thorough discussion of this area.
    In addition to ASM, there's also a "whole server migration" option that can automatically restart or migrate an entire WL server.
    Tom

  • Credit exposure updating even when the sales order is blocked

    Hi,
    We are using FSCM credit management. We observed that the credit exposure is updated even when the sales order is blocked. When we investigated it is found out that SD has removed the requirement 101 in the subsequent functions. The reason is they want the confirmed quantity to be updated even though the order is blocked. This will allow the Material Planning to go ahead and purchase the goods. Is there a way around it where we can have MM see the confirmed quantity in the order and it will not updated the credit exposure?
    Thanks and Regards
    Madhu Vutukuri

    Hi Sravan,
    Please let us know, whether the document is really getting reflected in the blocked documents list for a particular kind of block and you are releasing that particular block in the specified area as we have different areas for releasing blocks. Chances are that in the mean time, the concerned block might have been removed in the system and not updated as it might have been. It will be of great help, if you can provide us with the screenshots of the process followed.
    Regards,
    Aman

  • My 4s continues to lose wi-fi and reverts to 3G even when the phone is 4 ft from the router.

    My 4s continues to lose wi-fi and reverts to 3G even when the phone is 4 ft from the router. Is this a defect in my phone? It happens when I am home and I switch to my wi-fi. It doesn't matter where the phone is in relation to the router. Please note, I have my phone set to NOT sleep. Does any one know why my phone reverts to 3G? I have to manually set it to wi-fi every time this happens.

    I have the same issue with my iPhone 4s. It was not an issue when I was using iOS5, but it started once I upgraded to iOS6 and the recent update of iOS6.0.1 did not fix it. Judging from the release notes, Apple thinks this is only an iPhone 5 issue, as they say they fixed it for iPhone 5's.
    I have an iPad 2 (iOS6.0.1) and a 3rd generation iPod touch (latest iOS5 release), as well as an Apple TV 2. None of the other devices have this problem and they are all on the same network.
    Something interesting... my iPhone 4s works fine on the wifi where I work. At home, it continually turns on and off. My home network is using a Netgear router (WNDR3400) and the iPhone is connecting to it using WPA2+PSK protocol. Hopefully, this information can help Apple figure out the problem.
    (I remember my iPod Touch having a similar issue a few years ago with iOS 4, when I had a different Netgear router using the same security protocol. I think iOS 5 fixed it for the iPod Touch... I wonder if some Apple products have an issue with Netgear Routers using that encryption.)

  • My ipod keeps searching for network, even when the network info is all set properly. It has suddenly started doing this. Also, buffering forever...

    My ipod keeps searching for network, even when the network info is all set properly. It has suddenly started doing this. Also, buffering forever... I have tried to reset the network few times, but not working.

    Hello Nazer_502,
    I would be concerned too if my iPhone was acting this way.  It sounds like it is overheating and not holding a charge. I recommend following the steps listed below when experiencing an issue like this:
    Battery life seems short
    Click ( www.apple.com/batteries/iphone.html) for tips on how to prolong iPhone's battery life.
    Try turning iPhone off and then on again.
    Connect iPhone to iTunes and restore iPhone.
    If the screen shows a low-battery image, the battery is low on power and needs to charge for up to ten minutes before you can use it.
    When charging iPhone, make sure to leave it charging until it is fully charged. You'll know the battery is fully charged when the battery icon in the upper-right corner of the screen looks like this .
    Note: When charging using a computer, don't connect iPhone to a keyboard. Also, the computer must be turned on and not in sleep or standby mode. If iPhone is connected to a computer that's not turned on or is in sleep or standby mode, the iPhone battery may drain.
    You can find the full article here:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • File.exists() returns false even when the file exists

    hi,
    the exists() function of java.io.File function returns false even when the file exists on the file system. why is this? i checked the path of the file which gives me the correct path, but exists returns false. can anyone help?

    post some of the code you�re using - then maybe I can help you out
    //Anders

Maybe you are looking for

  • Azure Site to Site VPN with Cisco ASA 5505

    I have got Cisco ASA 5505 device (version 9.0(2)). And i cannot connect S2S with azure (azure network alway in "connecting" state). In my cisco log: IP = 104.40.182.93, Keep-alives configured on but peer does not support keep-alives (type = None) Gro

  • Delivery date in the PR is wrongly calculated

    Hi, This is a severe issue we are facing, delivery date in PR is wrongly calculating. consider this example: sales order was created on 31.08.2007 and the planned delivery time assigned in MMR is 9 days, GR processing time is 1 day. Due to some reaso

  • Condition for Target

    Hi, I am having a scenario SAP --> PI --> WebMethods. Depending on the occurence of a node in the source structure my interface should be executed. Eg: <SRC>      <Node1>         </Name>      </Node1>      <Node2>         </Addrs>      </Node2> </SRC

  • Dial-up friendly upgrade

    This might sound like a ridiculous request, but the current location I reside at only offers dial up (too far out in the middle of no where to get DSL). So when I attempt any large download (new ipod touch upgrade being 165mb) it usually times out ar

  • Change of infoarea hierarchy

    Hi, i transported a quality cube with necessary objecs option. this created many unnecessary objecs in the system. it created "Quality Management" infoarea as a sub node under "unassigned" node. i want this to be one of the parent nodes and not under