Does it make sense to create a worker role for data access to DocumentDB?

Hi,
I'm building an ASP.NET MVC app that will run on Azure. I'm using DocumentDB as its back-end database.
Sometimes, I return multiple data sets from different collections that need to be "reorganized". I handle this using LINQ in my application code. Does it make sense then to put all my data access and manipulation code into a worker role that I
can call from my web application that will run as a web role?
The reason why I'm thinking this may be beneficial is that I could scale up my worker role to increase its data manipulation capacity.
On the other hand, in most cases, my web role has to wait for a response from the DAL before it can do anything -- meaning, I cannot handle data access asynchronously -- I'm wondering if worker role approach makes any sense. I think mostly, worker roles
are used for operations that can run asynchronously.
I'd appreciate your feedback on this.
Thanks, Sam

Hi,
Worker role applications are background processing applications like Windows processes which run in the background. Applications hosted within worker roles can run asynchronous, we usually use worker role to do some long-running or perpetual tasks, and
use scale function to load balance the tasks. Based on your description, it seems that worker role is a good choice for you, please try it, if you have further issues, welcome to create new threads in our forum.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Does it make sense to create more than one repository of the same type?

    Hi guys!
    Does it make sense to create more than one repository of the same type? Let's say 2 CM repositories?
    Thanx for answer!
    Peter

    Hi Peter,
    yes, that makes sense. If you want to use different combinations of repository services you need different repositories. Or if you want to include existing data (e.g. file systems) from different locations. Or if you need to use different backup strategies (RDBMS, file), or ...
    BTW, my KM Installation (NW04 SPS9) has <b>23</b> CM repositories by default.
    HTH,
    Carsten
    Message was edited by:
            Carsten Buechert

  • Does it makes sense to create an index on a column used for partitioning

    I am new to using partitions along with index. Can someone help me with the situation below?
    I have a table defined like below
    CREATE TABLE FACT_MASTER
    PERIODCODE NUMBER(8) NOT NULL,
    PRODUCT_CD NUMBER(10) NOT NULL,
    DPT_CD NUMBER(3),
    FACT_VALUE1 NUMBER,
    FACT_VALUE2 NUMBER,
    FACT_VALUE3 NUMBER,
    FACT_VALUE50 NUMBER
    PARTITION BY RANGE (PERIODCODE)
    partition P1 values less than (2002),
    partition P2 values less than (2003),
    partition P3 values less than (2004),
    This table is partitioned by range on Period code.
    In a select query on this table, period code and product code are being used. I am planning to create an index to boost the performance. Does it make sense to include the period code column also in the index? I am planning to create index only for the product code column. I am thinking that the partition itself will act like an index for periodcode. Can someone tell me if this is correct? I am using 10g.
    Edited by: user6794035 on Jan 21, 2010 8:47 AM
    Edited by: user6794035 on Jan 21, 2010 8:50 AM

    In your scenario I think it's better not to create an index on PERIODCODE because this column probaly has a only few distinct values.
    In other scenarios, when in the same partition there are many distinct values of the partitioning key, creating an index can be an advantage for query performances..
    But it depends on the specific context...
    Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/17/supporto-di-xml-schema-in-oracle-xmldb/]

  • GW2012 move: Does it make sense to move users to a new PO?

    Moving from GW8 on OES-NW to GW2012 on OES11: Does it make sense to create new post office and move users?
    We have a medium size GroupWise 8 system with a single post office holding less than 600 user accounts, 128 resources and 77 distribution lists.
    Due to politics we also have a non-GroupWise external domain that contains a non-GroupWise external post office with a large number of "users".
    The post office is on the primary domain.
    3 secondary domains hold a GWIA and two web access agents.
    I've never been real clear where the external stuff exists...
    One of the web access gateways resides on an OES11 server.
    The other webaccess agent and the GWIA are on OES-NW servers.
    All reside in NSS volumes.
    Given the lack support for NSS volumes on Linux servers by most backup applications (including mine), I've pretty much determined that it makes sense to move my GW system to EXT3 volumes.
    Even if I change backup software and stick with NSS, and even though all my data is stored on SAN arrays, from what I've read on the forums and from Danita's books, it's preferable to copy your GW system files to a new NSS volume, as opposed to just re-attaching the OES-NW LUN to the new OES11 server.
    Point being, whatever I do will involve copying the entire system via dbcopy and at some point, will also involve shutting down the existing domain and PO for the last phase of the copying process.
    So..., I'm contemplating the following scenario:
    Create a new OES11 server with EXT3 volumes sufficient for holding my GroupWise system.
    Create new GroupWise 8 domain on the server.
    Promote the new domain to primary and upgrade this new domain to GroupWise 2012.
    Once the new domain is upgraded, create new GW2012 post office on new server/primary domain and migrate the users, resources and distribution lists to the new post office.
    In the past I've had an additional post office and had migrated a about 20-25 users to that post office.
    It wasn't a terrible process, and fortunately, I didn't run into any problems with the migration of those users.
    When I re-consolidated my system, moving them back was also problem free
    On the pro side:
    No downtime of entire system
    Relatively simple
    Any issues in the migration process would be user-specific and would not effect the entire system.
    On the con side:
    Process could take far longer, since you can't move a lot of users simultaneously.
    In addition, we have a small group of users with anywhere from 40,000 to 80,000 email in their account, so I'd have to factor that into haw many users I migrate at one time.
    The chance of running into a stalled migration, for whatever reason, is probably much higher than running into a problem with moving the domain and PO via dbcopy.
    The unknown factors for me and my level of experience:
    It's been a while since I've had multiple post offices, so I don't recall what changes the users might see with regard to distribution lists, web access or external email.

    Originally Posted by gathagan
    Moving from GW8 on OES-NW to GW2012 on OES11: Does it make sense to create new post office and move users?
    Is there any reason you think that warrants to do so?
    If the system is performing normally I'd opt to stick to upgrading the current setup as is.
    I'm also curious, are you intending to upgrade to 2014 after the 2012 upgrade?
    Originally Posted by gathagan
    The post office is on the primary domain.
    3 secondary domains hold a GWIA and two web access agents.
    I've never been real clear where the external stuff exists...
    Ok, that setup makes the upgrade easier. As you will start the upgrade with the primary holding the PO's... the PO's can be upgraded right after or during the domain upgrade (depending on if the MTA and POA are running on the same server).
    That means you don't have to think about upgraded webaccess/GWIA connectivity issues with a lower PO version.
    The external stuff are simply configurations found in the existing GroupWise domain databases. Or do you mean where those connected systems actually run?
    Originally Posted by gathagan
    One of the web access gateways resides on an OES11 server.
    The other webaccess agent and the GWIA are on OES-NW servers.
    All reside in NSS volumes.
    And the primary Domain and PO are also still on NetWare (version 6.5 SP8 I presume), correct?
    Originally Posted by gathagan
    Given the lack support for NSS volumes on Linux servers by most backup applications (including mine), I've pretty much determined that it makes sense to move my GW system to EXT3 volumes.
    Which backup application is that? With GroupWise op Linux not much NSS support is needed IMO.... as long as the files get backed up properly other metadata (rights, ownerships, etc) is irrelevant.
    As for EXT3 vs NSS, when dealing with OES I always choose NSS. But that's me.
    Another option could be to use XFS instead of ext3. That does perform much better, but has to be noted that it is more prone to file corruption in unexpected power loss situations.
    With ext3, watch out for the scheduled filesystem check cycles at boot, that is one thing I really dislike about ext3 as disabling that check completely is not recommended and it means at least once a year the system will take an extensive amount of time to complete a (re)boot due to the check running on the ext3 filesystem. That usually pops up on you when you are not counting on it and "just quickly" want to reboot the server in a patching routine or other.
    Originally Posted by gathagan
    Even if I change backup software and stick with NSS, and even though all my data is stored on SAN arrays, from what I've read on the forums and from Danita's books, it's preferable to copy your GW system files to a new NSS volume, as opposed to just re-attaching the OES-NW LUN to the new OES11 server.
    Yes, it's always good if you can start with a clean volume when transitioning from NetWare to OES.
    Depending on how long you can afford to have the system down during upgrade, you can also choose the route of moving the NetWare LUN to the new OES server. Adding a second new LUN to the OES server with the needed size and initializing it with a new NSS volume and then just simply do a volume to volume copy using the cp of rsync command. As it's on the same server that can go quite quickly within an acceptable maintenance window to complete all move/upgrade steps.
    Originally Posted by gathagan
    Point being, whatever I do will involve copying the entire system via dbcopy and at some point, will also involve shutting down the existing domain and PO for the last phase of the copying process.
    Sure, though you don't necessarily have to use dbcopy... depending on what you are planning to do. An offline copy won't require it for example.
    How much data are we talking about (in GB's)?
    Originally Posted by gathagan
    So..., I'm contemplating the following scenario:
    Create a new OES11 server with EXT3 volumes sufficient for holding my GroupWise system.
    Create new GroupWise 8 domain on the server.
    Promote the new domain to primary and upgrade this new domain to GroupWise 2012.
    Once the new domain is upgraded, create new GW2012 post office on new server/primary domain and migrate the users, resources and distribution lists to the new post office.
    If you really want to move users.... sure. I'd again opt for upgrading the existing system.
    Also, it's a good rule to have the PO's running the same GroupWise version and patchlevel before commencing user moves. Moves between PO's with a different GroupWise version can lead to issues.
    Originally Posted by gathagan
    In the past I've had an additional post office and had migrated a about 20-25 users to that post office.
    It wasn't a terrible process, and fortunately, I didn't run into any problems with the migration of those users.
    When I re-consolidated my system, moving them back was also problem free
    If you would want to move users, for whatever reason, I'd opt to first upgrade to the latest version first, then move. There have been many enhancements and bugfixes made in the move procedure over these last couple of years.
    Originally Posted by gathagan
    On the pro side:
    No downtime of entire system
    Relatively simple
    Any issues in the migration process would be user-specific and would not effect the entire system.
    On the con side:
    Process could take far longer, since you can't move a lot of users simultaneously.
    In addition, we have a small group of users with anywhere from 40,000 to 80,000 email in their account, so I'd have to factor that into haw many users I migrate at one time.
    The chance of running into a stalled migration, for whatever reason, is probably much higher than running into a problem with moving the domain and PO via dbcopy.
    I prefer a system upgrade over moving users. The process of moving when dealing with 100+ users, requires more effort and there are always things that need attention for a portion of the users. Also things like mobile devices can require some extra attention after having moved an account for example.
    True, problems during a system upgrade can potentially affect all users. That is a factor. From the many upgrades I've done that's rarely really been an issue and problems encountered during an upgrade did not cause too much delay. Just make sure you always have a good full backup handy so you can reverse the upgrade if ever needed.
    Originally Posted by gathagan
    The unknown factors for me and my level of experience:
    It's been a while since I've had multiple post offices, so I don't recall what changes the users might see with regard to distribution lists, web access or external email.
    If by this you are referring to user moves and address book visibility between PO's, that should not be different to what users are seeing now. At least, the default is that within a GroupWise system all is visible throughout the system. If you have specifically set GroupWise objects to Postoffice visibility... then that would be something to check.
    Cheers,
    Willem

  • What Items Does It Make Senses NOT to Back Up?

    I've been muddling through with Time Capsule, having some successes (thanks, in part, to this forum) and some failures. (It's amazing how much information one has to discover on one's on and through others.)
    I know one way to cut down on the initial backup time is to exclude some folders and files.
    Which items does it make sense NOT to back up? For example, is it pointless to back up System files? Applications? Libraries?
    If I somehow lost all files on my desktop's hard drive, what would be essential to have as backups on the Time Capsule?

    Some other examples of large monolithic files that aren't great candidates to have Time Machine backup are:
    Certain mail apps - not Apple Mail, but Eudora, Entourage, Thunderbird?? store mail in large mailbox files so every incoming, every delete, changes the entire mailbox and the whole thing gets backed up.
    Certain photo apps. like Adobe Lightroom and IView maintain large catalog files that change every time you do anything - then the whole thing gets backed up. (I don't know about the inner workings of Aperture or iPhoto so I can;t comment on them)
    You do want to back these things up, and while Time Machine will work with then, they chew up space very quickly. Probably better to make/update copies of these files periodically.
    There is a valuable App - [Time Tracker|www.charlessoft/TimeTracker.zip].
    It is useful, particularly when getting started, or anytime it looks like some backup is unusually large.
    It will tell you for each backup exactly what was backed up and how much space was required for each drive, folders within drive, files within folders etc....
    It will enable you to determine if there is something being backed up that was large which you didn't realize, or identify things you don't want it to backup etc.

  • I need to work on documents in both my iMac and air book. But I have to download document and them upload it, and when I upload it I can't open it unless I open it on my phone first. Yet changes made on phone appear straight away. Does this make sense????

    I need to work on documents in both my iMac and air book. But I have to download document and them upload it, and when I upload it I can't open it unless I open it on my phone first. Yet changes made on phone appear straight away. Does this make sense????

    On your Macs open System Preferences > iCloud
    Deselect the box next to Documents & Data, then reselect that box then restart your Macs.
    On the iPhone tap Settings > iCloud. Switch Documents & Data off then back on then reset the iPhone.
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    See if you can open the files now without opening on the iPhone first.

  • Currently my internal drive is full due to Aperture. I want to work with Aperture from a external drive verses my internal drive. In addition, I want to back-up my work to another external drive. Is this easily done? Does this make sense? Pros / Cons...

    Currently my internal drive is out of space due to my Aperture files. I want to place Aperture on a external drive to work from verses in intnal drive. In addition, I want to back-up all my work to another external for safe keeping. Once I move aperture to the external, I want to delete it off my internal drive. Does this make sense to do? Pros / Cons....

    It is common for people to move their Aperture, iPhoto, iTunes etc. files to an external drive when those files become too large to conveniently keep on the internal drive.
    The best approach is probably to keep the applications (iPhoto, Aperture etc.) where they are now, but move the files (photos, music, videos etc.) to the external drive.
    You should set up a process to regularly backup all the files from both the internal drive as well as the external drive you'll be using. Here are two approaches:
    (1) Use Time Machine. You can configure Time Machine so that it backs up both the internal drive as well as the external drive, all to a third separate backup drive. This is done via the Options button in the Time Machine preference pane.
    (2) You can use a "cloning" program, such as SuperDuper, Carbon Copy Cloner, to make complete copies of files on your internal drive and that external drive. One way to do this is to use a very large disk for the backups, and to partition it into two backup drives, making one dedicated to the internal, the other dedicated to the external.
    Two separate types of backups are recommended. I use both (1) and (2) above, and I disconnect and shut down the clone type backups when not being used. That way a power failure or surge that might destroy the original disk(s) plus the Time Machine backup(s) would still not damage the backups made under (2).
    Don't delete your original Aperture files until you have verified that they are working properly from the external drive AND you have made a backup of them.

  • Clean install of Lion and Time Machine Backup: Does it make sense?

    Hello everybody,
    I have updated from Snow Leopard to Lion over the App Store and now my iMac (the 27" one from last year) seems to suffer from several slowdowns. Quite unusual for a new Mac. So I decided to try a clean install. Of course I would like to keep my data, my programs and stuff. I am doing daily backups with my Time Machine, so this should not be a problem.
    But thats my question: Does it make sense to put back all data from the Time Machine from a backup on a clean install? Doesn`t it possibly put back all the old problems with all the slowdowns I experience right now?
    The following I intend to do:
    - backup all data with Time Machine
    - create a Lion install disc
    - boot from the disc, delete the HDD
    - install Lion from the disc
    - boot the new OS and put back the Time Machine backup
    I hope someone can verify that this would work. Since those slowdowns became really annoying I would give it a try.
    greetings
    Michael

    the_whispering wrote:
    So I decided to try a clean install.
    I'd recommend against starting with the "nuclear" option. 
    First, is there a "pattern"?   Does the problem seem to coincide with any particular app(s)?
    How full is your internal HD?  If it's over about 85%, that can contribute to slowness.
    Check for directory damage, by Verifying your internal HD, per #6 in Using Disk Utility.
    Check for unusual log messages that can indicate a problem.  See the tan box in OSX Log Files to locate your system.log, then the blue box there to decipher it, especially the Other Problems section.
    If you suspect a problem with your installation of OSX, download and install the "combo" update, per Installing the"combo" update and/or Reinstalling OSX.  
    If that doesn't help, try installing a fresh version of OSX (that won't disturb anything else), per the same article.
    The following I intend to do:
    - backup all data with Time Machine
    - create a Lion install disc
    - boot from the disc, delete the HDD
    - install Lion from the disc
    - boot the new OS and put back the Time Machine backup
    If you want to restore everything from your Time Machine backup, all you have to do is start up from your Recovery HD and do the restore.  That will erase the HD and copy everything, including OSX, from the backups.  Thus, it's unlikely to help, unless you had unrepaired directory problems.
    Or, after you install Lion, use Setup Assistant to transfer everything except OSX from your backups. See Using Setup Assistant on Lion.  Functionally, that's pretty close to just installing a fresh copy of Lion as above.

  • My ipod 5 wont connect to wifi, all the other devices in the house will does not make sense

    Ipod 5 wont conect to wifi in my house when other devices do. does not make sense, went to apple store connected no problem there. Funny thing is it has worked since christmas now all the sudden i have problems, any ideas?

    Does the iPod connect to other networks?
    Does the iPod see the network?
    Any error messages?
    Do other devices now connect?
    Did the iPod connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • I have that error does not make sense

    hey
    I have this error but does not make sense to me so help me!!!!!!!!!
    An error occurred at line: 16 in the jsp file: /_status.jsp
    Generated servlet error:
    /usr/jakarta-tomcat-5.0.27/work/Catalina/localhost/support/org/apache/jsp/_005fstatus_jsp.java:78: cannot resolve symbol
    symbol : method getInt (java.lang.String)
    location: interface javax.servlet.http.HttpServletRequest
    id=request.getInt("Userid");
    An error occurred at line: 16 in the jsp file: /_status.jsp
    Generated servlet error:
    /usr/jakarta-tomcat-5.0.27/work/Catalina/localhost/support/org/apache/jsp/_005fstatus_jsp.java:86: cannot resolve symbol
    symbol : method getString (java.lang.String)
    location: interface javax.servlet.http.HttpServletRequest
         status=request.getString("Status");

    Buket probably thinks that how there is a "getInt" method in JDBC there must be magically a "getInt "method in javax.servlet.http.HttpServletRequest - it's called "doing things by analogy" (with a variant: "doing things because someone told me") and sometimes it even works!
    There are "getInt" methods for the following classes in the JDK: java.lang.reflect.Array, java.lang.reflect.Field, java.sql.CallableStatement, java.sql.ResultSet, javax.jms.MapMessage, javax.swing.UIDefaults, javax.swing.UIManager - but unfortunately no getInt in such class (only a getIntHeader, that is not what the OP needs).

  • How can I restore a single image from an aperture time machine backup, do I have to restore the entire library? that does not make sense

    I hope there has been found a more efficiant solution for this,  how can I restore a single image from an aperture time machine backup, I really hope I don't have to restore the entire library? that does not make sense
    any suggestions?

    Did you try browsing your backups in the Finder ?  That is, do not go and "Enter Time Machine".  Instead, navigate to your Time Machine backup via Finder and then manually go to the time period (by folder name) you are looking for ... when you find your Aperture library you can then "Show Package Contents" and find the Master you are looking for.

  • When I installed Lion on my macbook, I lost some apps on my iPhone.  Does that make sense?

    When I updated my Macbook to LIon, I seemed to have lost apps on my iPhone.  Does that make sense?

    just re-download them.

  • By default in BPC values are sum in node level, It does not make sense to sum averages on parent nodes.

    HI Guys
    we have an business requirement to store data in average figures ,
    The values  are entered on the base member level but in reports we need to show average values  on the parents level instead of sum
    ( by default in BPC values are sum in node level),it does not make sense to sum averages on parent nodes.
    we managed it with excel formulas ,but we r facing the problem with dimensions which are in context.
    (i tried using dim memeber formulas but AVG key word is not accepting the system in member formulas)
    at last by using formula we managed the report but im worried abt that if there is no formulas ,how we will manage
    pls suggest any solution to show average values on the node level in specific reports

    Hi Krao,
    Please define what do you mean by average - arithmetic average or weighted average (has more business sense to my mind).
    Also, please provide some samples, explaining dimensions used in average calculation.
    In our case we use dimension member formulas to show average prices, discounts etc. in the reports.
    B.R. Vadim

  • Does not make sense in evaluating data using isnull(Command.name)

    Hi,
    Environment:
    Os - Windows 7
    Crystal report developed in CR2008 - .rpt developed and running successfully here with the same formula.
    VS2010
    CRforVS2010
    Does not make sense in evaluating data using isnull(Command.name)  function when the report is integrated into VS2010 using Crystal report for VS2010 (13.0.2).
    But the same report is running in crystal report 2008 (12.3.0.601)  report Dev environment when previewed.
    Please reply me ASAP.
    Thanks & Regards,
    Mani G.S.

    Thank you and are you using the MS SQL Native 10 drivers.
    And still need to know if you are using ODBC or OLE DB?
    Can you copy the SQL in and use the PUBS sample database? Or import the xtreme.mdb and use one those tables. You can get it from our sample reports:
    https://smpdl.sap-ag.de/~sapidp/012002523100005852352008E/cr_xi_xtreme_rep_smpl_en.zip
    Thanks again
    Don

  • Does it make sense to buy an iPod touch 5th gen. 64 gb with iOS 7 and upgrade it to iOS 8, or spend a few bucks more and buy one with iOS 8 already installed?

    Does it make sense to buy an iPod touch 5th gen. 64 gb with iOS 7 and upgrade it to iOS 8, or spend a few bucks more and buy one with iOS 8 already installed?

    The iOS update us free so I would get the less expensive one.
    If you are getting a used one make sure this is done before you purchase it. Otherwise it may still have the Activatin Lock on
    Find My iPhone Activation Lock
    Apple's new iCloud tool can show if a used iPhone is stolen

Maybe you are looking for

  • Font is rendering in more bold appearance using jre 1.5 as compared to 1.4

    When I am going to compile my application using jdk 1.4 and 1.5 both,in 1.5 fonts in my application component like frame,dialog fonts are appearing in different manner means in 1.5 it is appearing in bolder manner. We are developing framework applica

  • Lenovo C340 i3 System - Dual boot windows 7 / 8 cant load windows 7 please help

    Hi there I have a lenovo c340 all in one pc the i3 processor type which came with windows 8 I have purchased a new hard drive and would like to dual boot windows 7 and 8 I have tried to install windows 7 and the system hangs before I even get into an

  • Organization of folders

    Hi have been reading posts on organizing folders and albums in iphoto but still having problems with it. basically what i want to do is create a folder or album called photoshop and be able to open that folder to veiw subfolders ie.clouds ,sky ,fire

  • Unnamed Faces in photo with no faces

    I have created a smart album to show all unnamed faces.  Several of these images are showing '1 unnamed face' in the Info tab, however there are no squares to tag in the image itself.  Is there anyway to correct this?  My library has recently been re

  • I'm having problems with redeeming iTunes card

    I'm having a issue redeeming my iTunes card it states that card was already scan/ redeem but my account balance is .97 and it was a 10.00 card