Questions abt loadbalancing and WEBCACHE

Can anybody provide documentation according to questions raised here.
1.for loadbalancing we r thinking of using Web Cache(it will come with oracle10.1.2 app server). what does web cache
do other than load balancing?
2.How loadbalancing does work in webcache ?
3.how ejb container session replication different from user's session replication?
4.suppose when we install 2 appserver's in the
system,we can set multiple JVM's in app servers.how
multiple JVM's behave in clustering.
5.how fail-over works in Oracle10g.
6.in one node servicing 100 users of client requests ,in other node servicing only 30 users of client requests. can we share load between instances(2 nodes)?if yes how?
6. what are the changes should we make at code level

Hi,
To elaborate more on the answer to question 6 of yours, Web Cache allows the user to specify how much load should be placed on each node. say, you want 40% of the requests to go to one node and 60% to the other node, Web Cache allows for such configuration to be specified. Hope this clarifies your doubt.
As pointed out in the earlier reply, no changes are required at the code level. If you want to use Web Cache for caching content, then you might want to set rules as to for how long you want to cache the content actually. Then , if you suddenly want to remove the content from the cache, then, at this point, you might need to use the Invalidation API provided inn Web Cache to remove the doc from the cache ....for this purpose, you might need to write some code in java to use the invalidation apui to remove the doc from the cache. otherwise you generally need to do anything extra to make the cache cache the content.
Hope this explanation helps and is clear :-)
Regards,
Priyanka GES
Oracle Web Cache Team

Similar Messages

  • Question abt session and need advise in designing the project

    Hi,
    I am developing an application which searches for a particular document in some kind of database and returns the results and when the user clicks on one of the results, it should show the corresponding document from the db. Now I could get that functionality in my app. But my question is right now I am planning to store the document in temp folder and giving it back to the user for a particular session and am going to use a file name specific to the session and particular document for storing the docs.
    My questions:
    I want to delete the file after the session times out/user closes the window.How do I do that?
    And also please advise me if the whole thing is the right approach to achieve the functionality of the application considering the performance issues. I am using JSP and java classes right now.
    I am completely a beginner and was asked to develop this application on my own.
    Please help me out.
    Thanks

    javax.servlet.http.HttpSessionBindingListener
    or
    javax.servlet.http.HttpSessionListener
    The former, you have to create a class that implements that interface and store an instance of that class in the session and leave it there. When the session expires, the object is removed and valueUnbound() is called.
    The latter, you have to create a class that implements that interface and there's some way in the web.xml format to specify listeners (I forget offhand).

  • E71 - 2 quick questions abt screensaver and voice ...

    hi all, I have had the E71 for a week now and was wondering:
    A) if I turned off the breathing light in any profile, the time and date screen saver appears (ok nothing new right). However, if I turned off the breathing light I have noticed the breathing light is still on... yes still breaths... but that doesnt matter, what matters is that the time on the screen saver DOES NOT CHANGE... i mean if its 12:00 noon at the time when the screen saver kicks in, it will stay at 12:00 noon until I either press the center button to see the time light up or unlock the phone... the time in the screensaver does NOT update as the time changes.... is this a bug or am I missing something??
    B) you know the button between the volume buttons... the one that when pressed you can voice active certain applications to come up... my question is.. can I map this button to open another application as the voice app does me no good? Is there a software to map this or is there a setting in the phone?
    thanks

    The screen saver lag seems to be a widely known bug in the 200.21.118 firmware. People have reported that among other issues here: /discussions/board/message?board.id=swupdate&thread.id=45616
    Would you like to add your bug report to that thread too?
    Message Edited by kvirtanen on 15-Mar-2009 11:42 PM
    kvirtanen.deviantart.com

  • Question abt rating and rating procedure..handling in BW

    Hi everyone,
    I have some rating procedures k1, k2, k3 etc which has many rating results like A, B, C till Z. Depending on the rating procedure the rating result MD text is different. For example, if my rating procedure is k1 and the rating result is A then MD text is good....if my rating procedure is k2 and the rating is A then MD text is very good.
    i.e Rating Procedure = many to many = Ratings
    How do I figure this out in BW? Compounding? hierarchy? attribute is not an option because it is not unique value....
    any help will be highly appreciated.,
    thks,
    rgds,
    wills

    Hi,
    From your example I would suggest the following data model - Master Data InfoObject is 'Rating Result' , Compounded to 'Rating Procedure'. This is because any combination of 'Rating Result' with 'Rating Procedure' compounding will be unique.
    Hope this helps.
    Sandeep

  • Most elementary question abt fcp and compressor

    what i need to do in order to transfer my video work (from fcp) to dvd maintaning the SAME video quality? pls, at least one or two procedures to suggest, obviously the best ones.

    The procedure you are asking about in the way you asked is called archiving.
    Namely, saving a copy of your edited work from FCP on to a DVD Data disc as storage media.
    Is that in fact what you want or are you asking about making the best quality DVD Video with the resources you have?
    you can not do as you ask in any DVD authoring application including DVDSP or iDVD as the Quicktime video file will be compressed resulting a big loss in quality. This loss however is acceptable for most end viewers to watch.
    If you want to make a DVD Video, then export your finished edit from FCP as a self contained QT movie, import that into iDVD or if using DVDSP import into compressor to make an M2V file then import that into DVDSP
    thats the basics, I suggest doing the tutorials in either application to find out the details
    G

  • Portal and webcache headers

    How is portal integrated with webcache. Is it possible to control the surrogate-control headers that portal include as caching directives to webcache? Is there a document or whitepapers that describes the portal and webcache integration in detail and how to configure it?
    I know you can specify caching settings under page properties, but this is for controlling the plsql cache right?
    Any feedback appreciated.

    Hi Jason, I appreciate your responses to this.
    The confiuguration is actually a little bit odd..
    The customer originally installed ias with midtier and webcache on the same box. Let's call it WC1. Then they installed another standalone webcache in a DMZ (WC2). The idea was that internal users should access portal through WC1 while users from internet should access portal through WC2. Then Cachseed.sql was run to rewire
    portal to WC2. It seems that even if the users access portal through WC2, portal still sends it requests to WC1 to check for page definitions. It's on WC1 where the Not cacheable according to Surrogate-Control header's
    vary directive appears.
    Just a thought: Could this behaviour indicate that the portal session cookie is not sent to WC1 and hence the Webcache won't cache the page definition even if the Surrogate control headers indicates that it should?
    Another question:
    Are there any reference architectures for this kind of setup with portal. There are a lot of customers that wants to route their intranet and internet users to portal via two different webcaches localized in different networks.
    I am aware of the problem that Portal can only specify one host to send webcache invalidations to..
    Regards,
    Per A Joergensen

  • Question regarding battery and warranty

    Hi all! I have a quick question about how and if my warranty applies to my battery. After about a year and a half of ownership (I have the three-year extended warranty), my battery has gone completely down the toilet. It wasn't a problem before, but this year I have to lug my T61p around a lot for lab work. My battery is now rated at... 39.75Wh when it shipped at 84.24Wh. This is a pretty drastic difference. In any case, I don't think that this is covered by warranty, but figured that I'd ask before I drop $180 on a new battery (ouch). And, speaking of, if my suspicions are correct, does anybody know where I might find a 9-cell battery for the T61p? All I'm seeing on Lenovo's website is the one for the N100... which doesn't... match very well. Yaknow.
    Thanks a lot!
    ThinkPad T61p [June 2008]: 2.5Ghz Penryn Core 2 Duo, 4GB DDR2 RAM, NVidia Quadro FX 570m 256MB, 160GB 7200RPM Fujitsu HDD, 1920x1200 WUXGA Matte LCD, Windows 7 RC1

    Is either of these appropriate? I'm wary of the one on Amazon, as there are other (off-brand) batteries that are advertised as being Lenovo ones (though those generally sell for  a lower price). The other one just looks like I'll have to call up to buy it.
    http://www.amazon.com/Lenovo-43R9255-ThinkPad-Notebook-Battery/dp/B001DX9EKA
    http://affordablepcsupply.com/products/IBM/REF/42T4511.html
    Thoughts?
    ThinkPad T61p [June 2008]: 2.5Ghz Penryn Core 2 Duo, 4GB DDR2 RAM, NVidia Quadro FX 570m 256MB, 160GB 7200RPM Fujitsu HDD, 1920x1200 WUXGA Matte LCD, Windows 7 RC1

  • Question regarding roaming and data usage

    I am currently out of my main country of service, and as such I have a question regarding roaming and data usage.
    I am told that the airplane mode is sufficient from keeping the phone off from roaming, but does this apply to any background data usage for applications and such?
    If the phone is in airplane mode, are all use of the phone including wifi and application use through the wifi outside of all extra charges from roaming?

    Ann154 wrote:
    If you are getting charged to use the wifi, then it is possible.  Otherwise no
    Just to elaborate here, Ann154 is referring to access charges for wifi, which is nothing to do with Verizon, so if you are using it in a plane, hotel, an internet cafe etc that charges for Wifi rather than being free .   Verizon does not charge you (or indeed know about!) wifi usage, or any other usage that is not on their cellular network (such as using a foreign SIM for example in global phones)  So these charges, if any, will not show up on the verizon bill app.  Having it in airplane mode prevents all cellular data traffic so you should be fine

  • Question regarding MM and FI integration

    Hi Experts
    I have a question regarding MM and FI integration
    Is the transaction Key in OMJJ is same as OBYC transaction key?
    If yes, then why canu2019t I see transaction Key BSX in Movement type 101?
    Thanks

    No, they are not the same.  The movement type transaction (OMJJ) links the account key and account modifier to a specific movement types.  Transaction code (OBYC) contains the account assignments for all material document postings, whether they are movement type dependent or not.  Account key BSX is not movement type dependent.  Instead, BSX is dependent on the valuation class of the material, so it won't show in OMJJ.
    thanks,

  • **question regarding 3G and wif**.

    I have a question regarding 3G and wifi. I have #G activated as well as wifi, when I go to retrieve mail for example I get a pop up asking me if I want to connect to a wifi network…should I have wifi and 3G activated at the same time, and why am I getting the pop up…
    Thanks

    You can have them on at the same time, but they will not be used at the same time for data. The order of preference for data is WiFi > 3G > EDGE > GPRS. You're getting the pop up, most likely, because you have Settings > Wi-Fi > Ask to Join Networks set to ON. You can set that to OFF, and the iPhone will still join known (i.e. previously used) WiFi networks automatically.

  • Question regarding Dashboard and column prompt

    My question regarding Dashboard and column prompt:
    1) Dashboard prompt usually work with only for columns which are in subject area. In my report I've created some of the columns which are based on other columns. Like I've daysNumber column that is based on two other columns, as it calculates the difference of two dates. When I create dashboard prompt I can't find this column there. I need to make a prompt on this column.
    2)For one of the column I've only two values 1 and 0. When I create prompt for this column, is it possible that in drop down list It shows 'Yes' for 1 and 'No' for 0 and still filter the request??

    Hi Toony,...
    I think there was another way of doing this...
    In the dashboard prompt go to Show option > select SQL Results from dropdown.
    There you need to write your Logical SQL like...
    SELECT CASE WHEN 1=0 THEN PERIODS.YEAR ELSE difference of date functionality END FROM SubjectAreaName
    Here.. Periods.Year is the column which is already exists in repository's presentation layer..
    and difference of date functionality is the code or formula of column which you want to show in drop-down...
    Also write the CASE WHEN 1=0 THEN PERIODS.YEAR ELSE difference of date functionality END code in fx of that prompt.
    I think it helps you in doing this..
    Just check and inform me if it works...
    Thanks & Regards
    Kishore Guggilla
    Edited by: Kishore Guggilla on Oct 31, 2008 9:35 AM

  • Questions on SPINCOUNT and Semaphores

    Hello,
    I have a few more questions on SPINCOUNT and semaphores.
    1) The documentation states that SPINCOUNT = 0 (default) uses the spincount "built into the delivered binary".
    - How can I find out what the built-in spincount is?
    - What is the built-in spincount for a native client?
    2) "Semaphore appears stuck" (Q_CAT 1447) is reported when the semaphore for a queue cannot be obtained.
    - Does SPINCOUNT also apply to queue semaphores?
    - What is the timeout for the semop? Ie, how long does a process wait before reporting 1447?
    3) Is there a similar (to Semaphore appears stuck) error for other semaphores, such as GTT, AOM, etc)?
    - If yes, what is the timeout?
    Thanks...
    Roger

    Roger,
    1) The default SPINCOUNT value is 0 (no spinning) for all platforms that are supported today. (At one time we had a default value of 5000 for Sequent hardware, but it has been many years since we supported that platform.) The SPINCOUNT value that will work best for any application depends on many factors, including the number of CPUs on the machine, the hardware platform, and the indvidual application. SPINCOUNT will only be useful when the machine has more than one CPU.
    2) /Q logs Q_CAT:1447 after 50 unsuccessful attempts to obtain the semaphore when the semaphore has never been released and reobtained by a different process or the same process during that period. The Access Control List code uses the same rule for logging LIBTUX_CAT:1511. If TMSPINCOUNT is set, then the number of unsuccessful attempts to obtain the semaphore is incremented by 1 only after TMSPINCOUNT spins have been done.
    Code for the BB semaphore and the semaphore used by /Domain follows a different rule. This code will log LIBTUX_CAT:5005 or LIBGW_CAT:5010 if a process has to wait for the semaphore for 10 seconds and the semaphore has never been released by the original owner during this time period.
    3) TMSPINCOUNT is used for the BB semapahore, AOM semaphore, ACL semaphore, /Domain semaphore, and /Q semaphore. Locking the GTT uses the same BB semaphore that used to lock other tables in the BB.
    Regards,
    Ed

  • Some questions on whitespace and &

    Dear all,
    I have some questions on whitespace and & that need you kind help:
    1. Except /n /t /r and space, is there any characters that are whiteSpace characters?
    2. When parsing XML document, when the ignorableWhitespace() method is called? Will it be called from characters() ?
    e.g. Where the white space after <a> is called, and where is the white space between test1 and test 2 indied <b> is called?
    <a>
       <b>test1 test2</b>
    </a>  3. When the & should be escaped in a well-formed (or validated) XML file by replacing &?
    It should be excaped in any element content, such as <b>test1 & test2< /b> - except for <![CDATA[ section?
    It should NOT always be used in attributes? e.g. <a b="test1 & test2"/>  - has to do escaped by entity & - am I right?
    Thanks!
    Thanks
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks DrClap.
    >
    2. When parsing XML document, when the
    ignorableWhitespace() method is called? Will it be
    called from characters() ?It will be called when the document has a DTD and the
    parser is a validating one that is actually
    validating, when the parser sees whitespace that is
    not part of a DTD element. It will not be called from
    characters() because that is a method that you write.I wrote a contentHandler and using Xerces parser to parse an XML document. When I set validating feature to false, I found that for:
    <a>
       <b>test1 test2</b></a>The white space between <a> and <b> (including newline) is actually called from characters(), not in ignorableWhitespace(). So does this mean that if validating - white space is always called from ignorableWhitespace(), and if not validating, if it is always called from characters()?
    >
    3. When the & should be escaped in a well-formed(or
    validated) XML file by replacing &? The XML Recommendation says "The ampersand character
    (&) and the left angle bracket (<) may appear
    in their literal form only when used as markup
    delimiters, or within a comment, a processing
    instruction, or a CDATA section. If they are needed
    elsewhere, they must be escaped using either numeric
    character references or the strings "&" and
    "<" respectively."So in this sense, both & in <b>test1 & test2< /b> and <a b="test1 & test2"/> is illegal unless replacing them by & - right? What does the markup delimiters mena in above XML Recommendation ? Example?
    Thanks!

  • Few questions on Templates and Favorites

    Experts,
    Few fundamental questions on Templates and Favorites...
    1) Can Favorites be shared with other users?
    2) Can Templates be transported across systems (Dev or QA or PRD) ?
    3) Can Templates be shared across planning area ( Yes, KF names are same across planning area?
    Any insights appreciated!!!
    Thanks
    Krishna

    Hello Krishna
    1. No, favorites are user specific and are not shared. Templates are.
    2. There are no transports in the traditional sense in S&OP. So a Template can't really be transported. What you can do, however, is open a Template in DEV, for example, then log off and log back on - just this time to QA or PRD. This assumes you have the same planning area, KF etc.in each system. Now you can add it to the templates in QA or PRD ... this is how you get it from one system to another.
    3. I believe they are not shared between planning areas. If you make a planning area copy, I think they might come over but if you built a new PA2 from scratch, the ones you have in PA1 won't be there. If you want to get a planning view template from one PA to another, you basically follow the steps as in my answer to your second question. Again, for sharing a planning view Template between Planning Areas the attributes, time profiel and key figures you use have to be the same.
    Hope this helps,
    Jens

  • Questions on photos and storage

    I have a few questions about photos and storage... If you can just answer one of these, that's fine and thanks for the help!
    How do I see how much space my iPhoto photos are taking on my hardrive?
    I have Time machine which backs up, but concerned that I'm getting too many pictures.  When I do "Get Info" on the hardrive it says 640GB Capacity with 254GB used. I'm assuming that includes all my photos, and that Time machine only backs up and is not the active storage for those photos?
    What is advisable for available GB space on this size computer?
    I have my photos on the hardrive and the time machine, is it also advised to have in a cloud-based storage system to be safe? Or some other place.  Just checking what others do with this.

    1 - it is a really good idea to start new threads with new questions - threadjacking a year old solved thread on a totally different subject will not provide the best coverage and the best answers
    2 - Do NOT uncheck the option to copy imported items to the iPhoto library - it is a really, really bad idea that will create many problems for yo and has no advantages of any sort - see the user tip on file management in iPhoto for more details - iPhoto and File Management
    3 - take the time to learn how to use iPhoto and the concept of using a database for management photos rather than a file based system like you are used to - it is much different and much more powerful - but there is a learning curve and a different thought process
    4 - yes you can always export anything or everything from iPhoto for use on any other system - see the user tip on exporting for details - Exporting From iPhoto
    5 - always remember that you never access your photos directly - iPhoto totally replaces the finder for managing your photos - see the user tip on accessing photos for more details - How to Access Files in iPhoto
    LN

Maybe you are looking for