Temporarily disable caching

Hello,
I would like to be able to update an application to a newer version without any interruption of service by sequentially updating every machine in the cluster while the others are running.
There will be in consequence a small period of time during the update in which different application versions will be running on different servers. Different domain object versions may clash inside the Coherence cache.
In order to tackle this problem I am considering temporarily reducing the size of our caches to 0 (i.e. temporarily "disabling" cache). When all the servers are updated to the newer version, cache would be reactivated.
My question is: how can I do that at runtime, without changing configuration files and restarting Coherence, using just the Coherence console?
Otherwise, anybody has any experience to share on hot updating with distributed cache ?
I am using Coherence 3.0.
Thank you,
Adrian Dimulescu

Adrian,
First, I'd like to underscore that the Coherence command line console is a tool for developers, not the operational people. It requires deep understanding of your caching layer topology and a small mistake or typo can result in an application failure. Majority of commercial deployments I've seen contain a dedicated application control and management tier developed by application developers for operational use at deployment time.
Secondly, I don't know whether or not your application uses a read-through caching approach or a read-aside, but in either case let's assume that immediately after you clear the cache a user thread checks the cache for some data and immediately turns around and puts new data into the cache. You would end up with an "old" version of data, which is what you want to avoid. To prevent this from happening you need to have some synchronization logic or flags that indicate the fact the application is currently in transition. That could only be a part of application logic I was talking about.
All said, I may not see all the complexity around your specific upgrade process, so the decision is yours to make...
Regards,
Gene

Similar Messages

  • How do I temporarily disable web filtering software? I'm getting a message: The problems you are experiencing are most likely the result of Web filtering software, firewalls, popup blockers or ad blocking software.

    I keep getting this message when trying to navigate in myverizon:
    The problems you are experiencing are most likely the result of Web filtering software, firewalls, popup blockers or ad blocking software.
    You may resolve this issue by visiting your browser's website and searching for instructions on temporarily disabling Web filtering software, firewalls, popup blockers, and/or ad blocking software. You may also use another computer.

    Which problems are you experiencing if you visit that website?
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Firefox > Preferences > Privacy > Cookies: "Show Cookies"

  • I need the Adobe Flash Player version 11.1.102.64plug in on my MacAir to view Ustream videos. Adobe message says the version is for Intel-based Macs with Safari; also says that I "may have to temporarily disable antivirus software. is it safe to download?

    I need the Adobe Flash Player version 11.1.102.64plug in on my MacAir to view Ustream videos. Adobe message says the version is for Intel-based Macs with Safari; also says that I "may have to temporarily disable antivirus software. is it safe to download?

    Your MacBook Air is an Intel-based system. To download the current version (11.2.202.228),  go to http://get.adobe.com/flashplayer/ and download it from there.
    If there is still a Flash issue, you can try the Google Chrome browser, which has the current Flash built into it, to see if it works any differently with the videos. It's available from https://www.google.com/chrome

  • Getting error "1013009 Administrator Has Temporarily Disabled User Commands

    Hi All,
    I am getting the error"1013009 Administrator Has Temporarily Disabled User Commands" while executing a report script in Essbase 11.1.1.3
    Appreciate any help..
    Thanks
    Mahesh

    Mahesh wrote:
    Hi All,
    I am getting the error"1013009 Administrator Has Temporarily Disabled User Commands" while executing a report script in Essbase 11.1.1.3
    Appreciate any help..
    Thanks
    Mahesh
    Possible Cause
    When a database is being restructured or any application/database on the server is being copied, you can get this message.
    or
    When a cube is being restructured, commands are restricted because the integrity of the cube has to be stable and no one is allowed to access it.
    or
    Copying an application requires that the Essbase security file be in read/write mode and therefore other applications are not accessible until the process is completed.
    Possible Solution
    In Application Settings, verify that the Allow Commands or Allow Updates options are not selected.
    If not selected select those..and try
    Regards,
    Prabhas
    Edited by: P on Apr 7, 2011 3:36 PM
    Edited by: P on Apr 7, 2011 3:38 PM

  • Plz help.  How disable caching SQLJ statement  on WebLogic server 10.3?

    Plz help.
    How disable caching statement by SQLJ on WebLogic server?
    what the actual problem:
    1. create or replace view vtest as select object_name from dba_objects where rownum<200
    2. test.sqlj
      #sql dx testIterator = {
         select object_name from vtest
       int cnt=0;
       while( testIterator.next() ){
         cnt++;
       System.out.println("Count: "+cnt);
    3. Restart WebLogic and deploy project
    4. Run test on server, in log file
    "*Count: 199*"
    5. create or replace view vtest as select object_name from dba_objects where rownum<10
    6. Run test on server, in log file
    "*Count: 199*"
    7. Restart WebLogic
    8. Run test on server, in log file
    "*Count: 9*"

    Hi bud,
    Have you tried using WLST for what you are trying to achieve?
    Please take a look at the following links:
    http://docs.oracle.com/cd/E11035_01/wls100/config_scripting/domains.html
    http://docs.oracle.com/cd/E13222_01/wls/docs91/config_scripting/domains.html
    http://docs.oracle.com/cd/E13179_01/common/docs21/interm/config.html
    Hope this helps.
    Thanks,
    Cris

  • How to disable cache for a particular Report in obiee 10g?

    HI
    My name is Rani .Learning obiee10g ifaced 1 interview in that they asked me like how u disable cache for a particular report?

    In the advanced tab of the report, under prefix you need to mention:
    SET VARIABLE DISABLE_CACHE_HIT=1;
    Refer below link
    http://tipsonobiee.blogspot.com/2009/06/step-by-step-to-bypass-all-caches.html
    Thanks

  • Disabling cache usage in IE by java(this is really very important and urgen

    Hi,
    i would like to know if it is possible to disable cache memory(tempinternetfile) for IE.
    Since my jsp pages have the meta tag <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> some of the pages are being stored in temporary internet files folder and being called from there and this cause really big problems since all the data has to come from database,
    they just came from cache and none of the changes are being displayed.
    Thanks

    Try add page expire date:
    <META HTTP-EQUIV="expires" CONTENT="Fri, 31 Dec 2001 23:59:59 GMT">

  • Is there a way to temporarily disable the iPod in the iPhone. I am trying to stream from an app and it gets overridden by the iPod initializing

    Is there a way to temporarily disable the iPod within my iPhone. I am trying to stream music using an app and a dock on my Sony AIR and the stream is over ridden by the iPod starting up.

    First of all, an idle threat is one that a person has no intention of carrying out. In the past 16 months that I have had this phone I have become less and less satisfied and found that it is like much of today's technology....over rated and under performing. The one thing that I have never been accused of is not wanting, or not giving help but when a company makes itself unavailable to resolve issues and leaves it to forums run by users helping users, it speaks more about the company than anything else they could do. As I said, I do not make idle threats and I did not threaten you in any way. Guess I'll call this topic done with as it is not and was not the intent to get a war started    

  • Spelling temporarily disabled???

    At the top of the InDesign forum page, one finds this:
    ANNOUNCEMENT: File Attachements temporarily disabled Show Details
    Would advise turning on spell checking...

    Thanks for the heads up.

  • How to Disable caching of all SSL pages?

    May anyone can help me, how to Disable caching of all SSL pages in an web application?
    Thanks in advance.
    Balamurugan.K

    sabre150 wrote:
    kajbj wrote:
    It doesn't matter that you are using SSL if I understood your question correctly. I'm not certain but I think it does matter. As I understand it, no SSL/HTTPS pages should be cached since this could represent a security weakness. I was a bit vague. I meant that it doesn't matter what he is using under the hood since he isn't doing any "programming" if he's only serving pages. Everything should be related to configuring the server correctly, and/or using the correct header directives (not sure since I'm not a web developer)

  • Can I temporarily disable a domain in Exchange?

    A client has two separate companies each with a unique email domain. One has been moved to Exchange, the other is still on a GMail hosted domain while we prepare to cut them over. The company on GMail can send messages to the company on Exchange, but the
    company on Exchange cannot send email to the company on GMail. I take it that, because of the domain conflict, the Exchange server attempts to send these messages to the unused Exchange accounts instead of their GMail accounts.
    So my question is, is there a way we can temporarily disable the domain for the company that is using GMail until we are ready to change them over, so that emails sent to their domain will route externally to GMail instead of filling up the inboxes of unused
    accounts? Thanks for your help.

    Hi Brian,
    Thanks for your generous sharing. Have a nice day : )
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Is there a way to temporarily disable voice mail

    I am interested in knowing if I can temporarily disable the ability for someone to leave me voice mails?

    Contact your carrier, Voicemail is a carrier feature & some carriers require it & will not disable it. But, contact yours to see what their polices are.

  • Getting error "Administrator has temporarily disabled user commands"

    Hi ,
    I am getting the error "Administrator has temporarily disabled user commands" while executing the report script. I have tried creating a new script and getting the same error. We are on 11.1.1.3
    Appreciate any help..
    Regards,
    Mahesh

    It is worth having a read of the following article on "My Oracle Support" - Error "1013009 - Administrator Has Temporarily Disabled User Commands" [ID 1216053.1]
    It gives some examples of what can cause the issue and some bugs, ignore the 9.3.1 patch part.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Temporarily disabling specific email accounts for phone shared by multiple users

    Hi all and thank-you in advance for any potential help!
    My company has a Blackberry "Style Flip" 9670 for our sales-people traveling in Northern Canada in the Yukon area.  This phone goes with whoever is going on that particular trip, however it has 5 different email accounts associated with it for the 3 users that share it.  
    I don't know if this is possible with a Blackberry or not, but we would love if there was an easy way to temporarily disable the email accounts that do not belong to the person carrying the phone at that point in time.
    The way it is now, we have User A (2 email accounts), User B (2 email accounts), and User C (1 email account) sharing this phone.  If 'User C' is presently up north and has the phone and sends an email to 'User A' and 'User B', the email is still received on the shared BB for both 'User A' & 'User B' and wastes a lot of precious bandwidth.  The main dilema is the two users with multiple accounts on that phone receive a ton of emails daily.  This means 'User C' may have 1 crucial email waiting to be received, but has to wait for all of 'User A' & 'User B's' emails to be received before getting the important email.
    Is there a way without deleting the accounts each time to turn certain email accounts on and off?  Any help is much appreciated!
    Colin

    Creating an email filter on the BlackBerry Smartphone
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Temporarily Disabling Validation

    Hi,
    I have a form which requires validation prior to it's final submission (fields must be populated, etc).
    However, in order to pre-populate some of these fields, we also need to be able to submit the form to an external CRM to retrieve the FDF data for the form to be incorporated.
    When doing this, the form is validated, and since there is no data yet, the submission fails and pre-population fails.
    Is there any way to temporarily disable the validation of the form for the pre-population-submission, and then turn it back on following that?
    The property xfa.host.validationsEnabled seems like a good candidate, but setting it to false doesn't seem to have any impact.
    Cheers,
    Martin

    Thanks for providing me with that sample of your code. I can see what's happening but I don't know for sure why those fields you're making optional are remaining mandatory. It could be a timing issue (i.e. Acrobat's Object Model hasn't been updated with the mandatory to optional changes by the time you attempt to submit the form).
    I can think of two possible solutions:
    [Easiest of the two solutions] Since mandatory fields are flagged when they're null (when you haven't entered anything into them, which is the case on the Form:Ready event where you're executing the code which pre-submits the form to get the FDF data) and the problem you're getting is that Acrobat won't let you submit the form because it thinks some fields are mandatory, I would make all the fields optional and use Validation scripts like the one on the TextField. This way, you'll be able to pre-submit the form because all field values will be null initially and validations don't fail on null values because they aren't executed. This, however, will be a problem when the user submits the form via email because the email submit button will work even if one of the field's value is null (but now you want to make sure it's filled-in). To solve this problem, you would need to place a fake email submit button on the form (which is just a regular button), hide the real email submit button and put some validation code in its Click event. This validation code would verify that all fields contain valid data and aren't null. If this fails, you can show an error message and stop there. If all field values are acceptable, then you would execute the hidden email submit button's Click event in order to cause the form to be submitted via email:
    EmailSubmitButton1.execEvent("click");
    [My least-favored solution] You could try setting all fields to optional in the Form:Ready event and move your code to pre-submit and get the FDF data into an
    invisible (not hidden or else Acrobat won't let you modify its properties at runtime) text field's Validate event. The Validate event on the invisible text field would have some guards to prevent it from executing every time a field's value changes on the form. When setting fields as optional, this would cue the execution of form validations (validation scripts on Validate events) and, if certain guards are properly set, would let your pre-submit code run. It's very complicated and difficult to explain but here's a thread to which I posted a similar solution (with a sample file) which uses this approach to import XML data into a form and display a summarized output in a table:
    Grouping and Summation. See post #5 in that thread.
    Let me know if you have any questions.
    Stefan
    Adobe Systems

Maybe you are looking for

  • R12 Supplier Bank Account Update API error

    Hi All , While updating the supplier bank accounts by using API (iby_ext_bankacct_pub.update_ext_bank_acct). i am getting below error. The record is locked by other users for modifications. Could you please help on this ... Thanks in Advance, Thanks,

  • Event Places Settings

    Is it possible to see, at a glance, which Events are configured with geotags? I have over 1,000 Events in my Library, and I'll be tagging them over time, yet it appears I can't quickly tell which are already set up unless I click the little "i" on th

  • Where is the extract filter?

    I have recently installed CS5 (an upgrade from CS4) but I cannot find the extraction filter.

  • ASP - strip html from loaded page

    Hi, I have a link to an external site (although owned by the same company)... which when clicked opens a new window and displays some results. The link in question actually subits form and passed some values to the new window which loads the external

  • BigDataLite NoSQL demo error

    Hi, I am following the instructions from the "OTN Developer Day: Oracle Big Data" brochure.  At the end of Lab Exercise 2 (step 14), when I run the MoviePlex web page again, I get the following error.  Does anyone have a clue? Thanks, Amir java.lang.