Requesting basic architecture advice, please

Hello all,
I've got a situation where a customer will make a request of a web app and needs to receive information back from the web app anywhere from 30 minutes to an hour later. This is well beyond the length of a reasonable HTTP timeout, and even if I extended the timeout and kept the session alive, I'd be worried about running out of resources as this will get many, many hits.
Can you suggest an approach that might work here, please? Would you put an app server at each end and just pass http calls to servlets back and forth? An ESB with two clients so they can pass messages back and forth?
Thanks in advance for your time!
Rgds,
Bret

You will want to have the initial request be asynchronous. Simply return a response to the client that the request was properly formatted and is being processed. From that point, you have a few options:
1. Use email or pager notification to let the user know that the request has completed
2. Use AJAX or something similar to update an area of the page when the request has completed
Regardless, you will be passing back to the user a token of some kind. When they request the results of the report/etc. they will furnish the token, which you can use to fetch the results that were previously calculated. You might also have a need to clean out the results of processing, say overnight, if the results should not persist indefinitely.
- Saish

Similar Messages

  • HT3743 Iphone 4 unlocked by at&t i did a restore from itunes and get an error message "your request cannot be processed please try again after sometime" I tried for a week now but same problem, please advice

    I have Iphone4 brought from at&t USA(carrier locked) and i am in india now, i contacted at&t and requested for an unlock for me to use with indian carriers.
    I got an email confirming the unlock has been completed from at&t and asked me to connect the device to itunes and do a back&restore, after the restore process i get an error message on itunes "your request cannot be processed, please try again after sometime" i tried it with my airtel sim card and also at&t sim card but did not work. I contacted at&t and they confirmed that the unlock request was successful but i still get the same error.
    Please kindly help me if i need to do someting to be able to activate and unlock my iphone4

    Excuse me. I am on a contract with O2 with an iphone 4s, suddenly xmas day it said "no service", took it to o2 who sent it to apple factory who refused to repair it because a screw missing.  I wouldnt know have never opened phone in my life,wouldnt know how to, then went direct to Apple Regent St London who also said "screw missing, warrenty void, then produced a phone just out of contract due to upgrade,a vodaphone carrier 3gs, it was unlocked but then told by apple the owner had to go to vodaphone and get it unlocked on their books which could take up to 48 hours, it is now 72 hours later and i have the same error despite backing up old phone with i tunes and i cloud,am very angry and am paying alot for a contract every month, all i can see is "no service and waiting for activation" and all ths started when I upgraded to IOS 6.Am extremely upset and still under warranty but no one seems to want to help me to connect to WiFI, i cannot keep going to Apple Regent Street at lunchtime and be shooed of with excuses, this replacement phone 3gs should work and it doesnt.  Am extremely annoyed with the info i have been provded wth by Apple staff.Now I havent had  a phone since 25th december.

  • When trying to download itunes I get this error message  An error occurred during Installation of Assembly " Microsoft VC80CRT type=win32".version "8.0.50727.4053", public key token =1fc8b3b9a1e18e3b"processor Architecture="AMD64", please advise

    When trying to download itunes I get this error message.  An errr occurred during installation of assemby " Microsoft VC80CRT type=wind32" vversion "8.9.50727.4054, public key token=1fc8b9a1e3b"processor Architecture="AMD64"  Please advise

    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.)

  • Load balancing across 4 web servers in same datacentre - advice please

    Hi All
    Im looking for some advice please
    The apps team have asked me about load balancing across some servers but im not that well up on it for applications
    Basically we have 4 apache web servers with about 2000 clients connecting to them, they would like to load balance connections to all these servers, they all need the same DNS name etc.
    what load balancing methods would I need for this, I believe they run on Linux
    Would I need some sort of device, or can the servers run some software that can do this, how would it work? and how would load balancing be achieved here?
    cheers

    Carl,
    What you have mentioned sounds very straightforward then everything should go well.
    The ACE is a load balancer which takes a load balancing decisions based on different matching methods like matching virtual address, url, source address, etc then once the load balance decision has been taken then the ACE will load balance the traffic based on the load balance method which you have configured (if you do not configure anything then it will use the default which is "round robin"), then it will send the traffic to the servers which it has available and finally the client should get the content.
    If you want to get some details about the load balancing methods here you have them:
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA3_1_0/configuration/slb/guide/overview.html#wp1000976
    For ACE deployments the most common designs are the following.
    Bridge Mode
    One Arm Mode
    Routed Mode
    Here you have a link for Bridge Mode and a sample for that:
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_Bridged_Mode_on_the_Cisco_Application_Control_Engine_Configuration_Example
    Here you have a link for One Arm Mode and a sample for that:
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_One_Arm_Mode_with_Source_NAT_on_the_Cisco_Application_Control_Engine_Configuration_Example
    Here you have a link for Routed Mode and a sample for that:
    http://docwiki.cisco.com/wiki/Basic_Load_Balancing_Using_Routed_Mode_on_the_Cisco_Application_Control_Engine_Configuration_Example
    Then as you could see in all those links you may end up having a configuration like this:
    interface vlan 40
      description "Default gateway of real servers"
      ip address 192.168.1.1 255.255.255.0
      service-policy input remote-access
      no shutdown
    ip route 0.0.0.0 0.0.0.0 172.16.1.1
    class-map match-all slb-vip
      2 match virtual-address 172.16.1.100 any
    policy-map multi-match client-vips
      class slb-vip
        loadbalance vip inservice
        loadbalance policy slb
    policy-map type loadbalance http first-match slb
      class class-default
        serverfarm web
    serverfarm host web
      rserver lnx1
        inservice
      rserver lnx2
        inservice
      rserver lnx3
        inservice
    rserver host lnx1
      ip address 192.168.1.11
      inservice
    rserver host lnx2
      ip address 192.168.1.12
      inservice
    rserver host lnx3
      ip address 192.168.1.13
      inservice
    Please mark it if it answered you question then other users can use it as reference in the future.
    Hope this helps!
    Jorge

  • My g5 wont let me download anything. everytime i try it says cannot open because it is not supported by this architecture someone please help

    IM HAVING TROUBLE DOWNLOADING THINGS ON MY MY MAC G5. EVERYTIME I TRY TO DOWNLOAD SOMETHING A SCREEN POPS UP SAYING "CANNOT OPEN APPLICATION BECAUSE IT IS NOT SUPPORTED BY THIS ARCHITECTURE" SOMEONE PLEASE HELP

    CS5 only runs on Intel Macs...
    http://www.adobe.com/products/photoshop/tech-specs.html
    Some parts of FCE 4 require an Intel Mac...
    http://www.specrequirements.com/software/final-cut-express-4-system-requirements

  • Hi,  I'm in Nova Scotia, Canada and when I try to use Siri it loads and loads and then says, "I'm really sorry about this, but I can't take any requests right now. Please try again in a little while."  I rebooted and it didn't fix the problem. I just got

    Hi,
    I'm in Nova Scotia, Canada and when I try to use Siri it loads and loads and then says, "I'm really sorry about this, but I can't take any requests right now. Please try again in a little while."
    I rebooted and it didn't fix the problem. I just got my iPhone 4s (unlocked right from Apple) several weeks ago.

    Siri has been a bit more erratic than usual in the last week or so. Apple has announced a major announcement for 9/12. Conclusions are left to the reader.
    Best of luck.
    (Occasionally from Lower Economy, Colchester County).

  • New System Build feedback/advice, please...

    Time to build a new WorkStation. My motivation for upgrading is that I have been using a mediocore laptop (i7m, 8gb, 250gb ) from my work as my home system for the last 2 years, I am starting to get more freelance coming in and need a good desktop.
    I am not so sure about my processor, mother board and video card choice. I am more interested in app usability than absolute throughput and want to maximise my dollar investment.
    Purchase date: this week
    Budget:  I'd like to stay close to $1000-1300, but can spend more for significant performance gains. As I do more  research, my inclinations are trending higher.
    System Usage: My primary uses will include photo editing with Lightroom and Photoshop, 3D graphics using 3D studio Max, Maya and Mud Box, HD video editing using Premiere and After Affects and  Web Design. I will also use it as an HD media player and hifi audio is important. Maximizing cs6 performance in premiere & pShop is my main target. I am focused mainly on user experience while running these apps. If I need to encode hrs of video or crank out frames in max/maya, I can do it at work. I seldom run games.
    Monitors: I'm running two Dell U2410's IPS, calibrated w\Color Munki, one portrait one lanscape.
    Parts to Upgrade: Full system build
    O/S : Win7 Ultimate, I might play with Ubuntu/Virtualization
    Vendor: Newegg unless I can save big $$ else where. I like B&H.
    It needs to be an Intel machine & I have chosen lga 2011 becuase I'll eventually go to 64gb. I'll do some modest overclocking.
    Any advice is appreciated. Thank you for your expertise.
    Processor:
    Intel Core i7-3820 Sandy Bridge-E 3.6GHz (3.8GHz Turbo Boost) LGA 2011 130W Quad-Core Desktop Processor BX80619i73820
    $299 w/ship
    http://www.newegg.com/Product/Product.aspx?Item=N82E16819115229
    or
    Intel Core i7-3930K Sandy Bridge-E 3.2GHz (3.8GHz Turbo) LGA 2011 130W Six-Core Desktop Processor BX80619i73930K
    $569 w/ship
    http://www.newegg.com/Product/Product.aspx?Item=N82E16819116492
    Do you have any feeling about how much I'll gain by going to the 6 core cpu over the 4 core? Remember, for me usability in the cs6 apps is more important than marginal gains in throughput.
    Mobo:
    MSI X79A-GD45 (8D) LGA 2011 Intel X79 SATA 6Gb/s USB 3.0 ATX Intel Motherboard with UEFI BIOS
    $218 w/ship
    http://www.newegg.com/Product/Product.aspx?Item=N82E16813130635
    or
    ASRock X79 Extreme6 LGA 2011 Intel X79 SATA 6Gb/s USB 3.0 ATX Intel Motherboard
    $240 w/ship
    http://www.newegg.com/Product/Product.aspx?Item=N82E16813157289
    or
    MSI Big Bang-XPower II LGA 2011 Intel X79 SATA 6Gb/s USB 3.0 XL ATX Intel Motherboard with UEFI BIOS
    $380
    http://www.newegg.com/Product/Product.aspx?Item=N82E16813130626
    I would really appreciate any feedback on mobos in regards to maximizing cs6...7...8 performance, system logiveity, and performance. Is it worth it to go for a higer end mobo? If so which one. I like the msi's based on eventually ug to 128 gb, but are they money well spent? Any probs w/these mobo's?
    Memory:
    G.SKILL Ripjaws X Series 32GB (4 x 8GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory Model F3-12800CL10Q-32GBXL
    $130
    http://www.newegg.com/Product/Product.aspx?Item=N82E16820231490
    Hard Drive:
    SAMSUNG 830 Series MZ-7PC256B/WW 2.5" 256GB SATA III MLC Internal Solid State Drive (SSD)
    $160
    http://www.newegg.com/Product/Product.aspx?Item=N82E16820147164
    Video:
    GIGABYTE GV-N65TOC-1GI GeForce GTX 650 Ti 1GB 128-bit GDDR5 PCI Express 3.0 x16 HDCP Ready Video Card
    $160 w/ship
    http://www.newegg.com/Product/Product.aspx?Item=N82E16814125447
    or
    MSI N660 Ti PE 2GD5/OC GeForce GTX 660 Ti 2GB 192-bit GDDR5 PCI Express 3.0 x16 HDCP Ready SLI Support Video Card
    Item#: N82E16814127696
    $300
    http://www.newegg.com/Product/Product.aspx?Item=N82E16814127696
    I am still a little unsure of the real world differnces that I'll realize by doubling my video card expense, advice please?
    Optical Drive:
    LG Black 14X BD-R 2X BD-RE 16X DVD+R 5X DVD-RAM 12X BD-ROM 4MB Cache SATA BDXL Blu-Ray Burner with SW, 3D Play Back - BH14NS40
    $70
    http://www.newegg.com/Product/Product.aspx?Item=N82E16827136250
    Case:
    COOLER MASTER HAF 912 RC-912-KKN1 Black SECC/ ABS Plastic ATX Mid Tower Computer Case
    $60
    http://www.newegg.com/Product/Product.aspx?Item=N82E16811119233
    Power Supply:
    FX Core Edition PRO650W (P1-650S-NLB9) 650W ATX12V 2.2 & ESP12V 2.91 SLI Ready CrossFire Ready 80 PLUS BRONZE Certified Active PFC Power Supply
    $90
    http://www.newegg.com/Product/Product.aspx?Item=N82E16817207014
    Total     $1190
    or    $1760
    I have picked the MSI motherboard due to its support for 128gb ram, superior audio and other high end features. The AS Rock for its rep for solid value/performance. Opinions?
    Finally, I would like some advice on video cards. I prefer nVidia to ATI, but I'm not sure which chip to go for. The six fifties are cheaper, but the 660 ti provides more CUDA cores.

    Alex,
    I sure wish you would quick picking fights with lots of knowledgeable people just trying to help people build good PCs for running Adobe Premiere. (I am stating that based on not just this thread, but rather the strong challenges you seem to bring to about half of the threads that you've chosen to participate in).
    I was the original poster to suggest that Neal select a larger case. Next Harm agreed and cited 6 points which I would agree with regarding why a larger box is better for a video editing rig.
    What are the typical goals for someone wanting a video editing PC? I would expect that most users want:
    - robust, runs and never fails
    - has incredible power; face it, video editing with AVCHD is one of the most taxing applications a PC can face today
    - quiet; who wants to be doing creative work with any server room like wind noise
    Now let me be specific where you are simply WRONG WRONG WRONG:
    You stated: "Back pressure increases in larger spaces due to natural impedance of airflow (much like with electricity traveling over distance)"
    Fact: Exactly the opposite; Back pressure decreases in larger spaces due to more room for the air to flow (much like thicker copper passes electricity with less resistance than a thin wire)
    Your stated: "Open non-compartmentalized spaces are a recipe for hot spots - areas of turbulence with higher temperatures." and then cited a server room article talking about cooling air taking the path of least resistance -- going under the floor in a server room, instead of through rack mounted servers.
    Fact: Lots of open space for large, slow moving fans to keep a video editing box cool is a great way to go
    You stated: "Full towers - in themselves - are worse for cooling"
    Fact: That is one crazy indefensible statement!
    I seriously doubt that you fully comprehend the differences and importance of thermal conductivity, heat capacity, conduction, convection, and radiation for you to make the statements that you have so far and these are the staples for discussing how heat transfer takes place.
    Note to other readers... There are lots of ways to cool components including cpus, hard drives, gpus and memory. I suspect that the noise levels brought by servers and some gamers would be totally offensive to the ambient noise level that you want in the room with you for video editing. Therefore we are left with just a few quiet alternatives: 1) lots of volume at low velocity (large cases, large fans, slow rpm), 2) liquid cooling, and 3) Cases with doors or baffles to keep the sound from a noisier solution from getting back to your ears.
    Regards,
    Jim

  • AI crashes when I try to open a file or make a new one. Any advice please?

    I'm using a laptop and windows.  AI starts up ok but I can't actually create anything before it shuts itself down.  Any advice please?

    Hi Tm,
    Can you please check if there are any printers installed/connected on your system ? If yes can you please un-install/disconnect them and verify again ?
    Thanks & Regards,
    Raghuveer

  • Is MS exchange the only way to keep mail synced across all devices? Can Mac mail do this without exchange? I have iPhone,iPad and new MacBook Pro, and looking for advice please.

    Is MS exchange the only way to keep mail synced across all devices? Can Mac mail do this without exchange? I have iPhone,iPad and new MacBook Pro, and looking for advice please.

    As Bob says, any iMap service can do this. GMail can, iCLoud mail can too.
    Both of these can be used with Mail on any device.

  • TS3391 I movie 09 on my Macbook Pro isn't recognizing the presence of my Sony handycam dvd201E - nor does it offer options - any advice please?  dave R

    I movie 09 on my Macbook Pro isn't recognizing the presence of my Sony handycam dvd201E - nor does it offer options - any advice please?  dave R

    I have a MacBook Pro 15 inch early 2011.
    The new features available in OS X Yosemite like Continuity, Handoff,etc are not supported in this model.
    I did upgrade RAM to avoid any possible slowdown.
    I found replacing the HD with SSD is  too expensive for  a 4 years old model.
    Replacing the CPU/GPU is not for amateurs.
    If you think that rebuilding a Mac part by part is a viable option, please go ahead and rebuild it.
    Best.

  • My Z2 tablet has yellow lines appearing on screen edges. Advice please?

    My tablet developed a yellow line down the left hand side of the screen fairly early on. This was shortly followed by another line along the bottom, and now one on the right. Advice please? 

    Definitely a hardware fault, you should have no problem getting the tablet replaced, or repaired otherwise.

  • I have ongoing problems with "application not responding" in various programmes, ie Word, Excel, Illustrator, Photoshop, iPhoto etc. I recently subscribed to CC but the problem still persists. Any advice please?

    I have ongoing problems with "application not responding" in various programmes, ie Word, Excel, Illustrator, Photoshop, iPhoto etc. I recently subscribed to CC but the problem still persists. Any advice please? This applies to my iMac and my macbook air! I'm using OSX Version 10.9.3

    Hi Shauneenb,
    Welcome to the Apple Support Communities!
    If you are having issues with multiple applications becoming unresponsive I would suggest the steps in the following article, including starting in safe mode.
    OS X Mavericks: If an app freezes or quits unexpectedly
    http://support.apple.com/kb/PH13975
    I hope this helps,   
    -Joe

  • I have just added more storage to icloud but now want to cancel it and get a refund, any advice please?

    I have just added more storage to icloud but now want to cancel it and get a refund, any advice please?

    Try the suggestion by Plusco here >  https://discussions.apple.com/thread/3404394?start=0&tstart=0

  • Macbook Pro OSX 10.8 and Epson WF 7525 will no longer print. It did until quite recently . Now I get Filter failed and RastertoescpII when i try to print ( test sheets ok) . Have tried to to uninstall and reinstall but nothing. Any advice, please.

    Question ?
    Macbook Pro OSX 10.8 and Epson WF 7525 will no longer print.
    It did until quite recently . However now I get filter failed and RastertoescpII and pages of items when i try to print .
    Print head test sheets/head cleaning etc ok  .
    Have tried to to uninstall and reinstall but nothing.
    Any advice, please?.
    ps
    The printer deos not show up on Epsons site but i think I have the software from Apple.
    Not an ideal situation.

    Try a reset >  OS X Mountain Lion: Reset the printing system

  • When trying to set up an email account I keep receiving ssl errror message. Any advice please.

    When trying to set up an email account I keep receiving ssl errror message. Any advice please.

    Error is: Cannot connect using SSL. Do you want to try setting up the account without SSL?
    Answer: Yes
    Then "Verifying" appears at top of screen but nothing happens.
    Tiscali/Talk Talk is the provider.

Maybe you are looking for