Distributed Cache gets are very time consuming!!!!!

We have an application that uses Coherence as a distributed partitioned cache server.
Our problem is that the access to the near cache is very fast but the access to the remote servers is very cpu consuming (maybe for the deserialization of the objects retrieved) at such point that disabling the cache and reading the objects directly from the dbms (Oracle) improves the performances.
We use coherence as the second level cache of hibernate so we have not much control on how hibernate serialize and deserialize it's objects (we cannot implement a custom externalization).
Have you any experience of performance problems with the combination hibernate/tangosol and distributed cache?

Hi Giancarlo,
It's Jon, not Cameron ;)
The Hibernate cache API (including 3.0) does not support bulk-fetches from cache, which means that these cache fetches are serial rather than parallel. Depending on how much of your performance problem is network related, Coherence may actually perform much better than straight JDBC as the application load increases (time per request will remain similar, but won't increase much under heavier load).
The advantage to using the Coherence API (rather than Hibernate API) is that you have far better control over how your queries run. The drawback of course is that you have to code your own queries if they become more complex than search queries. As a result, it often makes sense to use Hibernate (or equivalent) for the bulk of your queries, then code specific queries directly against Coherence when performance really matters. A simple example of this is the ability to perform bulk gets (using <tt>NamedCache.getAll()</tt>). With queries that return hundreds or thousands of items, this can have a huge impact on performance (an order of magnitude or more depending on object complexity). You also get the ability to use XmlBean/ExternalizableLite and cluster-parallel search queries.
As an aside, with the Coherence cache servers, you should avoid making your JVM heaps excessively large. As a general rule of thumb, we recommend a 512MB heap size for cache servers, using as many instances as required to reach your desired cache capacity. Also, from what I've seen, 64-bit JVMs are less efficient with memory usage than 32-bit (though performance seems a bit better on the x86-64 platforms vs the 32-bit versions).
Jon Purdy
Tangosol, Inc.

Similar Messages

  • My computer has just prompted me to download the newest version of Itunes and now there doesn't seem to be any option to "add folder" to library, just "add file to library" so have to do one song at a time and is very time consuming!!  Help?!

    My computer has prompted me to install the newest version of Itunes and now there doesn't appear to be any option to "add folder to library", only "add file to library" so have to do each song individually and very time consuming....help!  Anyone know if I can get this feature back?  Thanks so much, Charlotte

    Use CTRL+B to put the top menu bar back on screen. Add File to Library and Add Folder to Library are both under File.

  • My Adobe Acrobat does not always print from Illustrator.  This is very time-consuming to have contin

    My Adobe Acrobat does not always print from Illustrator.  This is very time-consuming to have continuous problems that are obviously software based.  I have no issues with Illustrator, but we communicate on this campus via low res PDF files as proofs for approval.  Acrobat gives me no reasons why it does not want to print, it just says it can not print the file.  Fonts are NOT and issue here.  It will created a high res Illustrator PDF file but I can not print a low res PDF file.

    This usually happens when you introduce a specific dependency like trying to resample certain placed image types and things like color profile conversions fail. Also stripping native AI data to reduce file size may cause this. Generally it is not recommended to print to PDF from apps that have native PDF saving functionality, anyway. You can just as well get the same result using AI's Save As feature.
    Mylenium

  • HT201272 I bought a season pass for a TV series on my MAC. It shows up on my Apple TV but isI not loaded. I had to download on my MAC the wait again to download on the Apple TV. Is this really how it is done? It is very time consuming.

    I bought a season pass for a TV series on my MAC. It shows up on my Apple TV but isI not loaded. I had to download on my MAC the wait again to download on the Apple TV. Is this really how it is done? It is very time consuming. What am I doing wrong?

    If you downloaded it to your Mac you don't watch it on your ATV unless you are using home sharing. Otherwise, you can stream it from your ATV directly from the store... which means you somewhat download it twice.

  • Data lost when sql is very time-consuming

    Hi,
    I use sql statement as a data source,
    When the sql statement is very time-consuming(1 hour for example),
    the exported data as pdf file  was incomplete:
    only the first page exported when it's supposed to be three pages.
    thanks for your reply.

    You need to optimize your SQL statement. Use a Stored Porcedure or something Server side rather than Client side.

  • How can I set up a preferred printer so I don't have to pick the printer each and every time I print something out?  At the moment, even immediately after printing one thing, it prompts me to pick a printer, which is very time consuming.

    How can I set up a preferred printer so I don't have to pick the printer each and every time I print something out?  At the moment, even immediately after printing one thing, it prompts me to pick a printer, which is very time consuming.

    Compass Health Systems wrote:
    How can I set up a preferred printer so I don't have to pick the printer each and every time I print something out?  At the moment, even immediately after printing one thing, it prompts me to pick a printer, which is very time consuming.
    No, there is not setting for a default printer.The system scans for available airprint printers each time you print.

  • Why does Firefox re-download a web page that has already appeared in my browser? VERY time-consuming! Chrome just saves from the cache!

    Every time I go to save a web page or image, Firefox insists on re-downloading the page/image, which consumes a great deal of time. Chrome (and my other browsers) seem to save the item directly from the cache or memory, which is MUCH FASTER! Is there an option to make Firefox save more rapidly, ie directly from cache or memory, so I don't have to sit (and swear and fume) while the file is being RE-downloaded??

    600+ MB does sound like a lot, but that depends on what you are using as your homepage, and how much of that 600 is being used by the plugin container - Flash and other plugins. Also, using that amount might have to do with how much RAM you have installed - the more RAM installed and the more Firefox allows itself to use. If you have AVG 2012 installed and the AVG Advsior is giving you that message, see this: <br />
    http://blogs.avg.com/community/avg-feedback-update-week-44/
    See - 3. AVG Advisor = Disable AVG Advisor performance notifications
    or try using the "Change when these notifications appear" and set a higher threshhold

  • Photo Sync is very time consuming

    I am syncing the photos in a folder with my iPhone 4 and iPad (both 1 and 2). There are more than 2000 photos in the folder.
    Every time a few new photos were added into the folder, the iTunes will go through all the photos and doing the optimization for all of them, just in order to update even one new photo. This will take the iTunes hours to get all the photos into my devices.
    My question is whether there is any way to ask iTunes to only pick up the new photos and upload them to my i-devices? If not, is there any app that will help me to achieve this?
    Thanks for your help.

    Try deleting the iPod Photo Cache folder and then syncing the photos again.
    The photos should be optimized again on the next sync, but not on every sync from there on.
    WTH.

  • Problem is need to log off computer to go from one web site to another with message that program still running. Logging off to go from email to something else is very time consuming and annoying.

    Troublesome need to log off between switching from Yahoo to another website with message that program is still running.

    Terminate Firefox from the "Processes" tab of the Windows Task Manager not the "Applications" tab. Then select firefox.exc and use the right-click context menu to "End Process" or use the "End Process" button on the selected process.
    Windows 7 keyboard shortcut "Ctrl+Shift+Esc" will go directly to the Windows Task Manager and reopen the last tab that you had open.
    See item #38 Closing Firefox Properly -- use File -> '''Exit'''
    *http://dmcritchie.mvps.org/firefox/firefox-problems.htm#close_firefox
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>
    I don't see why you feel you have to exit Firefox to get out of one website to immediately use another website. Very impractical. Does this have anything to do with desktop icons or not using tabs?
    Completely unrelated to your question or your reason. Your flash plug-in is out of date.
    Check for Flash updates to see if you really are current
    * http://www.adobe.com/software/flash/about/
    After the download,
    #bring up the download manager ("Ctrl+J") and start your installs. As soon as the install comes up,
    #close Firefox with File > Exit or "Firefox" button > Exit. Give Firefox some time to close and check that it finished via the Windows Task Manager -- if it is still running then terminate it by selecting the use "End Process" button or from context menu.
    #proceed with the install
    '''Warning''': this is the Adobe site and they have chosen to to provide crapware along with their own product. Only install the product you were planning to install. Do not install additional products: including -- "Free! McAfee Security Scan Plus" or "Google Chrome". Installing Google Chrome on your own and installing it because it is offered on the Adobe site are two different things.
    Find updates for your installed plugins at http://www.mozilla.com/plugincheck/ mozilla.com/plugincheck
    -- best to use Adobe's site to really see if their plug-ins are up to date.

  • Google analytics metadata getting erased very time i publish in muse

    whenever i publish updates in muse - i get the synch message but i don't get option to keep the google analytics data inserted into site.
    then the SEO person calls me saying all the metadata they inserted into google analytics got erased.
    how do i publish site without messing with her data in analytics?

    "Big Brother (aka apple)" HHAHAAH!!!! I love apple! apple computer isn't THAT controlling, but it's true, some things it's hard to have control of with apple (photo booth save folder is the most recent lol). I'll never use microsfot product again (enormous waste of time and moving backwards in life). so long live apple.
    I did not mean to be a joke, I'm serious about it.
    apple have poked at my site for some of the stuff that I'm doing.
    Not just a controlling big brother... but thieves, they'd ripped off my works.
    GOOGLE ANALYTICS and your STATCOUNTER code. !!!!!!! I'm in the process of needing to set those up on my site. Did you do that efficiently?
    AFAIK I'm the only one (as now) build widgets that *actually work* with iweb3.
    So there is nothing for me to compare with, to know if I do efficient works (in iweb3 context).
    Do you recommended any widgets???
    No. I do look at other widgets to see how they work and how efficient they are...
    But I don't use them, I build my own iweb widgets.
    I have numerous statcounter projects, but need to get it up on my main site. Do you put statcounter html on every page of your site? is that necessary? Do you need to put a google analytics on every page of your site?? Thanks heaps. (this is probably a seperate thread now).
    It's all depend.
    As far as I see so far, people (most of iweb users) add GA and Statcounter thru HTML Snippet...
    But they don't realize that by doing so the codes don't track correctly.

  • REpairing permissions - very time consuming - why ?

    Hi Forum
    After installed leopard my Diskutility takes several minutes to repair permissions.
    Any suggestions to why ?
    yours
    Bo
    Ps. I've made an upgrade from a clean Tiger 10.4.10

    Bo,
    Beginning is very RAM-demanding: on my iMac G4 it takes more than 40 minutes!
    We don't know yet whether this is temporarily "clumsy" state of the new young OS.
    Let's hope there will be something implemented in the next free updates,
    and let's hope the confusing and worrying strange messages will disappear too.
    Safe enough tip to kill time:
    Do not interrupt the process, but you can use Safari while it is running.
    Axel

  • I have a notebook and the theme bar is way to wide. I can't read my email without opening each one in a new window - very time consuming.

    Does anyone know how to lessen the width?

    Hi, papineaubill!
    Welcome to The Canon Forums, and thank you for your inquiry!
    We appreciate your participation, though we need to let you know that the Canon Forum is hosted and moderated within the United States by Canon USA. We are only able to provide support for Canon products manufactured for and used within the US market.  If you live outside the United States, please click here and select your country or region for your support needs.
    Feel free to discuss Canon products sold outside of the United States, but please be aware that you will not receive support directly from Canon USA.
    Thanks for choosing Canon!

  • My iPad will not let me delete the mail as a whole, or by sliding to make the red "DELETE" icon appear. Only by individually choosing the trash folder and moving it to that folder. This is very time consuming. How do I fix this?

    Please help!!

    Actually that's not true. You click Edit and then check mark each piece of mail you want to delete then click the Delete button at the bottom. It is individual deletion, yes, but they delete in bulk when you check each one then click Delete.

  • With the New Version of iTunes for Windows it does not allow me to ADD folders of music, just single files. as I have extremely extensive library this is very time consuming

    Itunes will not allow me to Import Folder with the new version. Does anyone see what I am most obviously missing. It only allows me to add file to library and not folder. as usually add huge amounts of files at once. please advise.

    "Add Folder to Library" is still in the file menu, but you might need to bring up the menu bar to see the file menu.
    If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:

  • Why does iPhoto/Aperture keep deleting photo sets from my Flickr account or keep placing whole sets back into the Pending stage of uploading the photos. This is becoming very frustrating and extremely time consuming. Any help would be most welcome

    Has anyone got any idea as to why Iphoto/aperture keeps deleteing my photo sets from my Flickr account without warning or reason given. Also when I enter my sets the program will revert all of the photos back to the Pending stage of the up oading process. One or two photos I could live with but some of my set are in excess of 1500 photos per set, and this becomes very very time consuming to re upload them. and whats more annoying on some occassions after spending 12 to 16 hours re uploading them I find that they have all been duplicated. Is there a Bug with Iphoto or Aperture????????
    any help would be most welcome P Jefferys

    I am using Iphoto version 9.5.1, and No I am not deleting any photo from any file. what happens is this :- I open up Iphoto and enter my flickr account via the shared folder icon on the left hand side of the screen this is when I get a pop up screen from Iphoto informing me that they have removed a SET of photos from my Flickr account (no reason given) when i go into that set all I can see is dashed empty square where the photo used to be. I will then get another pop up screen saying that Iphoto can no longer access my flickr account and will I permit a reconnection and allow Iphoto to access my flickr account (add pass words etc) when I get back into flickr the SETS have gone and all other photos enter the Pending stage again. After re uploading the missing photos I find that some 50% of them have been duplicated.
    PJ

Maybe you are looking for

  • File Approach -File to proxy

    Hi Frnds, i have scenario. Where i get header ,Detail and Footer. Header contains few of the fields including with identifier. Trailor record contains record count and line count with identifier But where we dont have an identifier in detail.But deta

  • Boot into something other than hard drive

    I'm having problems partitioning in boot camp, so I read that I should defrag my drive. I'm getting the error because it can't move certain files. So I'm using iDefrag, but it won't let me use most of the defrag options because I'm using the disk it

  • SQL Exception with the message "executeQuery, Exception = null"

    Hi , Iam getting an SQL Exception with the message "executeQuery, Exception = null". Other thing is, the SQLException.getErrorCode gives me 0. Below is the stack trace. Could you please help me, why Iam getting this message: com.ups.ops.dm.dao.DAOSev

  • Convert Youtube video into Quicktime?

    I am in the process of learning how to use "Keynote '09" (Version 5.3). Is there anyway to convert an youtube video into Quicktime, so that I can play the youtube video in my keynote presentation? I would not want to purchase any expensive softwares

  • Is it ok to charge iphone many times a day?

    i always want to have a full battery, is it ok to charge the iphone many times every day(4-5 times)?