Does using WKA instead of multicast have negative side effects?

Will it impact Performance?

Hi Colin,
I would not expect the performance benefits of multicast to help you out here unless the query (not the result) is very very large, i.e. multi megabyte. Even when unicast is used, we still send the requests out to all nodes asynchronously, so the increase in latency over the multicast approach would be minimal.
If you are seeing query times increase as the cluster grows it would be more likely attributable to lack of indexs on your caches, or not having indexes on the attributes used in your query. Without an index Coherence is forced to not only iterate every cached item, but also deserialize them (yes it is stored in serialized form).
Finally cluster wide queries are by their vary nature not scalable unless you've also increased the query set size. Think of it this way, if you have N records in M nodes and perform a query each node will do the following work:
Q + N/M + A
Where Q means process the question, and A means send an answer. If N increases and M decreases each node will be able to compute the answer quicker (and it will trend towards zero). But each node still must perform the constants Q and A, so from a cluster wide perspective you are performing M*(Q+A) work and M is increasing. Now if N is also increasing you will still see scalability benefits, as it would have taken a smaller cluster longer to run the query on the bigger data set, but for a fixed size data set you should see diminishing returns.
In such cases it would be useful to have a look at KeyAssociation, an KeyAssociatedFilter. This approach allows for scalable queries even at fixed size data sets.
http://download.oracle.com/otn_hosted_doc/coherence/342/com/tangosol/net/cache/KeyAssociation.html
http://download.oracle.com/otn_hosted_doc/coherence/342/com/tangosol/util/filter/KeyAssociatedFilter.html
thanks,
Mark
Coherence Development Team

Similar Messages

  • Does use of pipelined/pipe row have a limitation on amount of data returned

    We are using Oracle 9i.
    We have an existing function that pipes data. Select * from table(cast(schema.my_pkg.get_data() as schema.t_my_data_tab))
    Function runs, but only returns around 10,000 records. There are actually about 50,000 records to be returned. I do not believe it is just erroring out one a single and stopping because I sorted my cursor multiple ways to show that in one sort certain records do not show, but when sorted another way they do. It is still possible something is stopping it - I will continue looking. But I would like to know if anyone is aware of any size limitations in the amount of data to be piped? I've looked at the types created & the function and do not see anything that was set for a size. Any ideas?
    I apologize I do not know all the correct terms to use. I am taking this over from someone else - hopefully an example of their code will help. Thank you very much.
    FUNCTION get_data(p_id NUMBER DEFAULT NULL)
    RETURN t_my_data_tab PIPELINED
    AS
    v_temp VARCHAR2(10);
    BEGIN
    PIPE ROW
    (t_links_contracts_rec
    (...data values....)
    RETURN;
    END;

    I'm not sure really, if there was a limitation I believe it would be documented and even would raise an exception. I've only used pipelined table function for smallish sets of data. I can't simulate much as I only have access to 10g and 11g here, so I ran a query with 50,000, but I'm only posting its count for obvious reasons.
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as fsitja
    SQL> create or replace type t_tab is table of number;
      2  /
    Type created
    SQL>
    SQL> create or replace function test_pipe return t_tab pipelined as
      2  begin
      3    for i in 1 .. 50000
      4    loop
      5      pipe row (i);
      6    end loop;
      7  end;
      8  /
    Function created
    SQL> select count(*) from table(test_pipe);
      COUNT(*)
         50000
    SQL> Some docs referencing the subject from 9i:
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/08_subs.htm
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96595/dci12tbl.htm

  • Will killing pacman have any side effects?

    Hi recently while doing an upgrade with pacman, the download of a package will stop and I will not get any feedback anymore. So I leave it for a few hours but nothing happens so I decided to ^C which I know will kill pacman. What bad side effects should I expect from doing this? and is anyone else having a similar problem with pacman?

    shining wrote:
    dav7 wrote:
    moljac024 wrote:This is annoying, we had a topic about this. It seems that pacman just stops responding from time to time for some of us. Of course, there is no special way to reproduce it, so it's a tough bug.
    Maybe pacman should be modified to support an option (for pacman.conf) that causes pacman to log a TON of debug info to eg /var/log/pacman-debug.log, and those that experience the issue can try the setting out. And by "ton" I mean... every 2nd line in pacman being a debug_print() call (or whatever)
    Just an idea. I like ideas.
    You mean like pacman --debug ?
    To moljac024 : At which step does pacman stop responding? During download? You might have some network issues, unrelated to pacman.
    At least, I don't experience anything similar, and I am sure many other users as well.
    Yes, it just hangs during download. And at random times. And no, it's no network issue because as soon as I restart it, it continues downloading. A couple of times I've left my laptop downloading updates and went away doing other things only to return an hour or two later and see that it stopped 5 minutes after it started and had been hanging the whole time.
    Should I just run pacman with --debug always ? I guess I could do that.

  • Side effects when using Graphics2D.drawString

    Hi! I am trying to render some texts in different places on a JPanel. I use Graphics2D.drawString(String, float , float). My problem is that the AffineTransform of the Graphics2D-object changes after each time I use the method. Should this really be the case? If so, do I need to reset the transformation object in the Graphics2D-object after each call to Graphics2D.drawString or how should I go about it? An example of a set of code and the yielded output is below:
                        System.out.println("graphics transform (before drawLine): " + g2.getTransform());
                        g2.drawString("test", 150, 50);
                        System.out.println("graphics transform (after drawLine): " + g2.getTransform());
    yields:
    graphics transform (before drawLine): AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 23.0]]
    graphics transform (after drawLine): AffineTransform[[1.0, 0.0, 150.0], [0.0, 1.0, 73.0]]

    Trying to produce a small set of code that reproduces the error made me solve the problem, though I do not understand why. Anyhow, I am using Java 1.4.1, and use Mac OS. Code that reproduces the error is below. By uncomment the line ' g2.setColor(Color.black);', the problem dissapears. But please let me know if anyone have an explanation to why setting a gradient paint makes Graphics2D.drawString have the side effect I described above...
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    public class Plotter extends JFrame {
         public Plotter() {
              super("Debug");
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Dimension contentSize = new Dimension(500, 500);
              pack();
              setSize(contentSize);
              setVisible(true);
         public void paint(Graphics g) {
              super.paint(g);
              Graphics2D g2 = (Graphics2D) g;
              g2.setPaint(new GradientPaint(0, 0, Color.green, 100, 0, Color.red, true));
    //          g2.setColor(Color.black);
              System.out.println("graphics transform (before drawLine): " + g2.getTransform());
              g2.drawString("test", 150, 50);
              System.out.println("graphics transform (after drawLine): " + g2.getTransform());     
         public static void main(String args[]) {
              new Plotter();

  • I just found my old ipod touch (i think 1st generation) and would like to let my toddler use it instead of my phone.  I am trying to download apps but it say I need to update to 4.3 but it won't let me update.  I have the most recent itunes. any idea why?

    I just found my old ipod touch (i think 1st generation) and would like to let my toddler use it instead of my phone.  I am trying to download apps but it say I need to update to 4.3 but it won't let me update.  I have the most recent itunes. any idea why? I saw a thread saying to purchase the newest software (that was posted a few years ago) I paid 4.95 for the software and it's still saying it can't be updated.  Am I just SOL??

    The 1G iPod can only go as high as 3.1.3. The 1G does not have an internal speaker or volume buttons on the upper left edge.
    Identifying iPod models
    To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Apple Club - filter apps by iOS version.

  • Ipad2 does not change orientation. I have not used the switch for lock rotation it is used for mute

    Ipad2 does not change orientation. I have not used the switch for lock rotation it is used for mute

    Is there a lock symbol at the top of the screen next to the battery indicator ? If so, and as you've got the switch set to notification mute, then have you checked the taskbar (the function that the switch isn't set to is controlled via the taskbar instead) : double-click the home button, slide the taskbar to the right, and it's the icon far left.
    If you havn't got the lock symbol at the top then try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I've downloaded some free games for my iphone4 but they are using my internet because they have ads. does anyone know if there are any games that don't have these ads and don't require internet AT ALL?and if i disable my internet connexion, does it help?

    i've downloaded some free games for my iphone4 but they are using my internet because they have ads. does anyone know if there are any games that don't have these ads and don't require internet AT ALL?and if i disable my internet connexion, does it help?

    Thank you. I put it in airplane mode like you suggested, but it looks to me like all the applications and ads are still running. Anyway, I'm just gonna play when I'm really really bored and use them as less as possible. Thank you again for your quick answer.

  • I have made a website using iweb, as this will no longer be supported by apple, does that mean the gallery I have created on my website will no longer work even though I am hosting it with a different hosting provider

    I have made a website using iweb, as this will no longer be supported by apple, does that mean the gallery I have created on my website will no longer work even though I am hosting it with a different hosting provider. Will the other widgets no longer work?

    There are a few things that won't work on other hosting sites; hit counters and pop-up slide shows for sure.
    See http://oldtoadstutorials.net/No.iW11.html for more info, and/or the iWeb forum at https://discussions.apple.com/community/ilife/iweb

  • Firefox can't read any Bookmark that was imported from my PC with file extension .url. Safari reads them fine. Is there a fix, so I can use Firefox instead of Safari? Many thanks if so. I have the latest version of Firefox

    Firefox can't read any Bookmark on my Mac that was imported from my PC with file extension .url. Safari reads them all fine. Is there a fix, so I can use Firefox instead of Safari? Many thanks if so. I have the latest version of Firefox
    == URL of affected sites ==
    http://anysite.url
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    Hello JF.
    I don't think that extension is supported. I believe Firefox can only read .json and .html.
    You may want to read this though:
    [http://support.mozilla.com/en-US/kb/Importing+bookmarks+and other data from Safari Importing bookmarks and other data from Safari]

  • Error message Indesign:Either the file does not exist, you do not have read access to it, or use the file in another application.

    I've got problem with opening a file in InDesign. The file type is an InDesign Markup Document. The error message is: Either the file does not exist, you do not have read access to it, or use the file in another application. What's wrong?

  • Does anyone use a LaCie external hard drive with their Mac using imovie '09?  I have some questions.

    Does anyone use a LaCie external hard drive with their Mac using imovie '09?  I have some questions.

    Are you actually having a problem with the new Lacie drive, or are you just asking is the Lacie drive somehow different from your old G-Drive?
    From a connection standpoint, most Lacie desktop drives have both USB and FireWire connections, just like the G-Drives do.  You would connect and use it the same as a G-Drive.
    Regarding capturing to the external HD, if you are using a camcorder that has FireWire (iLink) connection, it is not advisable to have an external FireWire HD connected to your Mac at the same time as your camcorder; there are often communication conflicts between the camcorder and the hard drive if they are connected at the same time.  The conflicts usually appear as either dropped frames or a complete freeze.   This is more common with Canon miniDV camcorders but I have also seen this behavior with Sony miniDV camcorders.  (The problem is the camcorder's FW implementation, not the hard drive.)  The workaround is to capture to your Mac's internal HD and later copy the captured video to your external HD.

  • I have CD version of Adobe Photoshop Element 9. I have CD version of Adobe Photoshop Element 9. I have purchased the new Macbook which does not have DVD drive. Can I download this software over the web and install using the Serial Number I have. Thanks,

    I have CD version of Adobe Photoshop Element 9. I have CD version of Adobe Photoshop Element 9. I have purchased the new Macbook which does not have DVD drive. Can I download this software over the web and install using the Serial Number I have. Thanks,@

    yes,
    Downloads available:
    Suites and Programs:  CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Either the file does not exist, you do not have permission, or the file may be in use

    Had this file open this morning all the sudden Im getting this error.
    Either the file does not exist, you do not have permission, or the file may be in use
    Useing win 7 64bit.
    I think its version 6
    Thanks

    Was it properly closed? There may still be a lock file (.idlk) in the folder where it is saved.

  • Why does my hard drive state I have used 500 gb when I have only used 280 gb?

    Why does my hard drive state I have used 500 gb when I have only used approximately 280 gb?

    Have you emptied your trash lately...
    Also... See these links...
    Apple ML = Increase Disc Space
    http://support.apple.com/kb/PH10677
    See Here  >  Where did my Disk Space go?
    And Here  >  The Storage Display

  • ICloud symbol in settings does not appear, instead there is the one for MobileMe, what do I have to do or didn't do well?

    iCloud symbol in settings does not appear, instead there is the one for MobileMe, what do I have to do or didn't do well?
    Thanks in advance

    If your Mac is one year old it did not come with Lion, so you must have purchased and installed it yourself, or it is not installed.
    Do this
    Go to Apple Menu>About This Mac:
    It should look like this:
    If your version is anything other than 10.7.xx you do not have Lion (10.6 is Snow Leopard)

Maybe you are looking for

  • What is the new command for "Save As" in iWork?

    How do I start a new file from an old file?

  • Launch background process from unix command line and detect if it is runnin

    in Cocoa, I am able to run unix app by using NSTask, it works fine to me. But I want to do the following: 1. Start up a background process. 2. Wait to see if this background process has been launched correctly. 3. If yes, keep running following codes

  • Error opening adobe

    E_ADEPT_REQUEST_EXPIRED http://adeactivate.adobe.com/adept/Activate 2011-12-13T06:32:29-08:00%20(1323786749000)%20is%20before%202011-12-17T09:21:21-08:00%20( 1324142481048)

  • Variable on WAD

    Hi ...can we create a variable on WAD? When we create a variable on query or function, these variable appears as pop up when we execute the WAD. On WAD we have the drop down option (which can be mapped to a characteristic). The values of the drop dow

  • Mac Pro 1,1 GFX upgrade advice

    My PS3 BR drive died and, seeing as Sony won't be seeing a single cent from me ever again, I'd like to upgrade the NVIDIA GeForce 7300 GT 256 MB in my 2007 Mac Pro. I'm running Lion but I've not looked into PC GFX cards ever since i bought a G3 iBook