In what circumstances could my app service simultaneously process requests in different processes?

Hi,
We recently encountered a scenario in our Cloud Services Web Role web app where simultaneous api calls on the same item occurred, such that IIS automatically allocated them to be handled on separate threads inside the same w3wp process. We needed to handle
this scenario by rejecting/ignoring whichever call came in second, so we just used a static ConcurrentDictionary object to track which items were currently "locked".
But I'm concerned that as we scale up eventually Azure will start routing such calls to different w3wp processes or even different machines.  In such a case, a static in-memory object is obviously not going to do the job.  For now all I want to
do is find out what happens in the scenario where two requests are handled by different processes/machines - so what's the easiest way to trigger an Azure web role into this behaviour?
Thanks
Dylan

I've confirmed via MS support that my assumptions were basically correct - if you have Instances = 1 then all requests for a single web application will be handled by one instance of the relevant w3wp process.
If Instances > 1 then they might be handled by w3wp processes on separate virtual machines. There's no known scenario where there would be multiple w3wp processes on one machine, so if you need to handle concurrency for a scalable web-app, you have to
use some central resource that is available to all instances.

Similar Messages

  • What is the best app for word processing on the i pad

    What is the best app for word processing using an i pad

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • I am using and iphone 4 on ios 7.0.6 and i recently installed whats and its says "could not connect to whats app service. please try again later

    i am using and iphone 4 on ios 7.0.6 and i recently installed whats and its says "could not connect to whats app service. please try again later

    According to WhatsApp, service is back up & running. Did have a 4 hour outage:
    https://twitter.com/wa_status/status/437358172983279616

  • I turn off my whats app lasseen time stamp more than 24 hours ago and now i can't turn it on it sees " could not connect to whats app services please try again latter"  i try deleting the app  and changing the calendar and still didnt worrk

    I turn off my whats app lasseen time stamp more than 24 hours ago and now i can't turn it on it sees " could not connect to whats app services please try again latter"  i try deleting the app  and changing the calendar and still didnt worrk

    Ok - an update ...
    Managed to get the phone to backup to iCloud, so decided to risk the "Factory" reset.
    Took the reset option including delete all data and crossed fingers.
    It took a while to resotre from iCloud, but everthing seems to be back and ...
    Bluetooth now working agaim.
    Backup to Computer working again.
    And somewhat to my surprise, GMail in the mail app is working again. (The surprise being that the implication of other posts was that this was a 6.1.3 fundamental bug)
    Still no idea why the iPhone was corrupted - but at least the "Factory" reset seems to have recovered the situation.

  • Just bought a used Oct '13 MacBook Pro and I can't sign into the App Store as it still displays the old owners user ID in the login box (in fixed grey text). Any ideas of how I what I could do? Thanks.

    Just bought a used Oct '13 MacBook Pro and I can't sign into the App Store as it still displays the old owners user ID in the login box (in fixed grey text). Any ideas of how I what I could do? Thanks.

    The first thing you should do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    1. You don't own another Mac.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. If you don't have the media, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    2. You do own another Mac.
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. You will need the Apple ID and password that you used to upgrade. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    Once booted from the disc, the USB device, or Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it under your ID. In that case, contact iTunes Support.

  • I have created a Apple ID but the e-mail adress is invalid due to a typo. I could purchase apps in the store but now the store is requesting a confirmation (after several month) and I cannot confirm the ID as the e-mail is invalid. What can I do?

    I have a IPAD. During the initialisation I had to submit an Apple ID. I have one, but unfortunately I had a typo in the adress. I could purchase apps with the invalid adress but now (after several month) it is asking for verification. This is not possible as the e-mail is invalid
    What can I do?
    Thanks for your help!!

    The good news is you should be able to get into your Apple ID by answering security questions instead of email at appleid.apple.com. Click the Manage Your Account and then Forgot Your Password links. If you get in you'll see the place to change your primary email address.
    The bad news is there are some issues with Apple ID accounts right now. Some accounts are unable to change their primary email address (Mobile Me accounts in particular), some accounts cannot even log in because Apple has screwed up the security information (for example, I have 2 Apple ID accounts where it tells me my own birthday is invalid).
    So give it a shot.

  • HT204088 So I put in my debit card info into my phone so I could redownload apps and while I was refreshing netflix (which was already purchased) it rebought itself twice and took $14 (USD). What can I do?

    So I put in my debit card info into my phone so I could redownload apps and while I was refreshing netflix (which was already purchased) it rebought itself twice and took $14 (USD). What can I do? Someone please help!

    Contact iTunes Support: http://apple.com/emea/support/itunes/contact.html.

  • If some apps offensive to other religions what possibly could happen?

    if some apps offensive to other religions what possibly could happen?
    can apple do something about it?????
    Kristi Grubbs company but offensive picture on "Hilarious Insults, Jokes, And Pictures!" App.
    http://bit.ly/Kspdv2

    aperez1981 wrote:
    At the very least, I would assume that such an app would perform poorly, as it would only be liked by a small portion of people.
    Perhaps, but it just got a chunk of publicity.
    As for the OP:  Poor taste or irreverence is not a crime in the US. Apple is an American company. While they have the right to pull an app from the store, it will not likely be their first reaction. And frankly, raising a ruckus about will likely only bring attention to it. Basically the app as been sitting in the app store since August of last year without a single review. The developer would love to get the publicity, I'm sure. As already stated, you delete it, or considering that it is clearly labeled as containing crude humor, not download it in the first place. Go back to the app store and give it a review if you like.
    Personally, I'm more offended by the knee-jerk push to censor than the app itself.

  • Without touching the screen, only 2 of my apps started shaking randomly. Not the kind of shaking when you want to delete/move. It was odd. Any idea as to what that could be?

    Without touching the screen, 2 of my apps started shaking randomly. Not the kind of shaking when you want to delete/move the apps. It was odd. Any idea as to what that could be?

    An "other" that large usually indicates that the "other" includes corrupted files.  Usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Backing up, updating, and restoring iOS software

  • Is twinkle app draining my battery - what else could it be

    I have noticed that in the last week my battery does not last a day -after being fully charge in the morning it normally runs out in the early evening when it used to last until the next morning.
    The only difference i can think of is that i now use Twinkle - but i am not on it that often during the day. I only check in once or twice and then only for 5 - 10 mins.
    Does anyone else have this issue with twinkle or a similar app. What else could it be a none of my other settings have changed re push, wifi, brightness
    I do try to make sure i hold my home button down when coming out of most apps until screen shuts down as it has been suggested this makes sure app is fully off.
    Any suggestions or similar findings?

    then why is my phone draining the battery like never before. It was fully charged 2 1/2 hours ago and now the battery charger looks have way gone! Am hardly using it today to see what happens to battery. Tomorrow may delete twinkle app and see what happens then!
    Very strange- any more ideas from anyone about why my battery is suddenly not lasting as long when i have made no changes to setting

  • I'm downloading my apps from my desktop, but when i'm downloading apps from my laptop, the apps can't be transfered. what setting could i adjust so that i could transfer my apps from my laptop to my ipod touch4. Thank you very much-ariston

    i'm downloading my apps from my desktop, but when i'm downloading apps from my laptop, the apps can't be transfered. what setting could i adjust so that i could transfer my apps from my laptop to my ipod touch4. Thank you very much-ariston

    You can only sync to one iTunes Library/one computerbut you can manage music among different computers.  See:
    Using iPhone, iPad, or iPod with multiple computers
    The only way to sync app from the desktop computer is to make that the syncing computer.  You can't sync app from more than one iTunes Library/one computer.
    To make the desktop computer the syncing computer you have to:
    - get all apps and other item on the desktop computer
    - Authorize the computer for the iTunes accounts inquestion
    - Connect the iPod to the desktop computer and make a backup by right clicking on the iPod under Devices in iTunes and selecting Backup
    - Restore the iPod from that backup

  • What's the best app I could use to create a word document

    What's the best app I could use to create a word document ?

    Have a look at the following (in my order of preference)
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1

  • My Iphone 4 at random times, just wont send messages for around an hour even if i have full service, its always up to date so its not that but any help on what this could be?

    My Iphone 4 at random times, just wont send messages for around an hour even if i have full service, its always up to date so its not that but any help on what this could be? It could just be my network being a pain in the *** but im not sure, help me out here people !

    never had that problem or heard about it so my bet is a network issue

  • Seperate NT service for App server and Process Scheduler

    Is it possible to create a separate NT service for App server and Process Schedule for the same environment? Everytime i need to shutdown either App Domain or Prcs Domain (not both) using service, it brings down both.
    I could use psadmin but services run as a different user.
    Please advise.

    What PeopleTools release are you using?  Off the top of my head, one strategy would be to use different PS_CFG_HOMEs for the App and the Process scheduler.  The service points to the PS_CFG_HOME and reads the pswinsrv.cfg file to know what to start/stop.  I'm not sure there is a way to override psntsrv and tell it to use a different config file, so you may need a different HOME.  You could also create a script that wraps the service start/stop.  It could edit/update the config file prior to stop/start and remove Process Scheduler from the config and then reinsert it later.
    You could have a stop_app/start_app and stop_prcs/start_prcs script that would copy in specific versions of the pswinsrv.cfg file for what you want to do.

  • Shutdown DB and App services -- System Hangs

    I have installed EBS 11.5.10.2 on my laptop on a windows 2000 advanced server o/s and apps works fine. But the problem that I have is during the shutdown.
    I have tried several ways but without any luck.
    1/ Manually shutdown the services in the Service Control Manager in the order as follows: First all App services -- I was able to sucessfully stop these services manually. Then DB listner and DB services -- I was able to sucessfully stop these services manually.
         But when I shutdown my laptop, it does not shutdown properly. It just shows a message it is shutting down and then just the screen appears and never powers off. After forced shutdown, my apps does work fine but I am not happy doing forced shutdowm as I have external hard drive (USB 2.0) and don't know what effect it will have on it.
    2/ Tried running AD scripts such as adstpall.cmd (by referring maintenance procedure guide from Oracle). But I always get an error saying "cannot find environment '\.cmd'" I don't know what the issue is. I have tried to run envxxx.cmd to setup the environment but still could NOT manage to get through. But I wonder what this script does other than stopping the services.
    Appreciate if someone can shed more light on this and help to resolve this.
    Many thanks,
    Praveen

    Thank you all.. I have managed to get this resolved.
    Following are the steps to resolve this:
    1/ Set all the services to start manually in Service Control Manager (services.msc).
    2/ Reboot the machine
    To start the services
    1/ Run addlnctl.cmd first to start the DB listner
    2/ Started manually the oraclevis service as addbctl.cmd script fails as it always complains that it has failed to connect to the listner
    3/ Run adstrtal.cmd to start all the applicaton tier services
    4/ adstrtctl.cmd does not start concurrent mgr service, discoverer service, forms service, so had to manually start them to get the apps working.
    Before shutdown
    1/ Run adstpall.cmd to stop all the application services#
    2/ Manually stop concurrent mgr, discoverer, forms services
    3/ Run addbctl.cmd to shutdown the database
    4/ Run addlnctl.cmd to shutdown the DB listner
    5/ Although it said successfully dismounted DB when addbctl.cmd was run, it had not stopped oraclevis service, so had to manually stop the service.
    Shutdown the box, it shutsdown without any hangups.
    Cheers,
    Praveen
    4/ Shutdown the services using the
    Start all the service

Maybe you are looking for