Filter looking for values based on other values

Hi, is it possible to create a filter that returns items from the cache based on some criteria of other items in the cache.
E.g. suppose I have a cache containing cars. I would like to create a filter that filters out all blue cars, but only if the cache also contains a red car.
Best regards
Jan

Hi Jan,
it is doable in a single pass in an aggregation, but it will not be too efficient for cases where no red cars exist.
The problem is that in case of a partitioned cache, it is possible that there is a single red car in the cache on a separate node from the blue cars. In this case the blue cars should be returned. However it is also possible that there is no red car in the cache.
In this example the nodes with the blue cars from the previous example won't be able to distinguish the two cases from one another based on only their own data. Therefore they have to return the blue cars, and let the client throw away all data based on whether the existence of a red car was indicated.
If red cars are an unlikely event, it is better to first query (or aggregate for minimum traffic) for the existence of the red car, and only if it exists, then query for blue cars.
If red cars are a probable event and having as few roundtrips to the cache as possible is more important then efficiency, then it is probably better to just (in parallel) aggregate the blue cars and indicate whether a red car exists on that node or not.
For aggregations and particularly for parallel-aware aggregations, you can look at the following page:
http://wiki.tangosol.com/display/COH34UG/Provide+a+Data+Grid#ProvideaDataGrid-DataGridAggregation
Best regards,
Robert

Similar Messages

  • Newbie looking for maven-based web projects

    I'm looking looking for maven-based web projects so I could learn how to orginize and configure code and configuration files respectively. Thx in advance.

    Tones of good material exists at the Maven2 site:
    http://maven.apache.org/
    Another very good place where to find information:
    http://www.sonatype.com/book/
    To search for free jars (very useful)
    http://www.mvnrepository.com/search.html
    It is kind of difficult to start, but it worth the effort.
    I cannot imagine to start a project without Maven + Continuum

  • Looking for DOS based drivers for model ct4

    i am looking for dos based dri'ves for model ct4730 for a DOS gaming machine that i am building.
    any help would be great thanks.
    emiual me direct at [email][email protected]][email protected][/url] thanks in advance.. i cant wait to play rise of the triad and the original c+c

    I looked for a driver at http://zone.ni.com/idnet97.nsf/browse/ but was unable to find one for the Denver Instruments' Balance. National Instruments develops Instrument drivers based on demand and popularity. If it is a commercially available instrument, you can officially request one at:
    http://zone.ni.com/idnet/other.htm
    We develop drivers based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one in the future.
    If you would like to try developing your own instrument driver, we have documentation, model instrument drivers, and driver templates to help at :
    http://zone.ni.com/idnet/development.htm).
    We also have a syndicate of third party vendors that specialize in National Instruments' produc
    ts and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
    http://www.ni.com/alliance"
    Ryan Mosley
    National Instruments, Applications Engineer
    http://www.ni.com/exchange

  • Looking for EU Based Berkeley DB Guru for assignment of 10 Days in NL

    Hi,
    We are looking for an EU based Berkely DB Guru for an assignment of 10 days for a customer that is based in the Netherlands. The period is not yet confirmed but probably will be in May or June timeframe. Other periods are also possible. We are looking for a person with in depth experience with Berekely DB. Please send your resume to [email protected] and address it to Ton van Kooten.
    Looking forward to meet a Berkeley DB guru.
    Regards,
    Ton van Kooten
    Oracle Consulting Netherlands

    THANKS

  • Looking for Win-based sound-editing software to work with AAC files

    Hi, everyone.
    I'm a part-time indoor-cycling instructor. I create iTunes playlists to fit a certain types of "rides," transfer the lists to my iPod, then hook the player to the club's stereo system. Very slick.
    But not slick enough. There are some songs I don't want to play all the way through; I want to use only isolated segments of certain songs. And I want to employ crossfade. When cycling, it's important to keep the music coming; dead spots are energy killers. I want to stich in some stray bits of oddball audio, such as funny snippets of movie dialog and other nonsense, to keep the mood light. And I'm looking for a way to more precisely control track-to-track playback volume.
    I know I can isolate a segment of a song file by using the "start time" and "stop time" adjustments on the "options" tab of a song file's "get info" settings within iTunes. But I want to do more than that. Sometimes I want to play :20 of a song at one part of the ride, and :40 of the same song later in the ride, and I don't want to have to make a renamed copy of the song file to make it happen.
    I'm thinking what I need is sound-editing software. I want to create, say, a 60-minute playlist in iTunes, export copies (not the originals) of the songs in that playlist to the sound-editing platform, do my editing and create a single, 60-minute file that I can then load into iTunes and thus, transfer to my iPod. When I hook the 'pod up to the club's stereo, I would then play the single 60-minute "song" instead of the 60-minute playlist.
    And of course, I want to do it really cheaply, on a PC running iTunes for Windows. How's that for a challenge?
    If I had a Mac, I probably could use SoundStudio to do this, because it imports AAC files.
    What I need is a Windows-based editing platform that can import AAC files. If you know of such an animal, I'd appreciate hearing about it.
    If there is no such animal, here's what I think I'll have to do:
    1. Pluck song files from my iTunes music folder
    2. Create a CD containing mp3 copies of those songs
    3. Send those mp3 copies into the editing software
    4. Stitch the songs together in the editing software into a single file
    5. Export that file as a single mp3 file
    6. Have iTunes convert that mp3 file to mp4.
    Right? Or wrong? If anyone has advice, I'm all ears.

    The reason why I posted here was to hopefully find someone who has actually done this before rather than have someone throw packages at me that I can find on Google on my own.
    There are a number of SMS gateways out there, but I have not used any of them. Setting up some of them is a very time consuming process and I was hoping to get a heads up on one that that some else had used in the Solaris 10 x86 environment within a zone.
    I already have a working email version of this process which I put together very quickly, but using SMS would be a much better process for the techs out in the field.
    I won't have the actual GSM Modem in hand until Monday or Tuesday and am doing some preliminary work so that I can hit the ground running when it shows up.
    Thanks for your suggestions though.

  • Looking for Java Based Graphics & Animation Program

    I'm having a bit of trouble finding a Java based program for graphics such as in games, pictures, etc. I already have Sun Java Studio Creator 2 which seems to be all about website graphics, and not what I'm looking for. Can anyone help me out?
    Edited by: Daniel517 on Nov 18, 2007 11:59 AM

    search for Multimedia, Java2D, Java3D, JAI topics
    http://forum.java.sun.com/category.jspa?categoryID=9
    http://forum.java.sun.com/forum.jspa?forumID=406
    http://jalbum.net/
    Edited by: RyanRM on Nov 18, 2007 8:16 PM

  • How to look for bundle based on its content (actions)?

    Hello,
    I want to have a list of all bundles that use a specific system variable, for exemple ${NSSREPO}.
    It is possible to make an SQL query to do it or do you know a way to get such list?
    I do not want to export all bundles on XML files and then look for the string.
    Thanks in advance.

    micgra,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://www.novell.com/support and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Forums Team
    http://forums.novell.com

  • Looking for good Isync Phone (other then Iphone)

    my current phone just died. I'm currently using Verizon I'm looking for a good phone that will be able to use all the Isync stuff Address book w/ Pics calender etc.. Does anyone know of a good phone phone that has a keyboard and will be capable via bluetooth to use isync

    Compare the list below:
    http://www.apple.com/macosx/features/isync/index.html
    with what's available from Verizon...

  • Looking for values in memory in debugging mode

    Hi,
    I have the below submit statement in my program:
    submit rm07mlbd
             with werks eq w_werks
            exporting list to memory and return.
    How can I see the list exported to memory in debug mode?
    As I donot have change authorisation, I cannot edit program to Display the list.

    Double click on it in debugger?

  • I am looking for Java-based technology for building nice looking Web apps

    Hi everybody,
    As written in subject - I would like to use some nice web technology, based on Java. I would like to build good-looking web pages. I have tried a bit of Dojo or JQuery (generally this is Ajax I think). Could someone point me what is the relation between Java application/technology and presentation layer of the application? For example, could I easily build nice Web application only with JSF? Or should I connect it with some Ajax-based library?
    If Ajax is best solution - what are your favourite Ajax implementations?
    What about other technologies: portlets, EJB? Thanks in advance for some info - even general.

    DCVer wrote:
    As written in subject - I would like to use some nice web technology, based on Java. I would like to build good-looking web pages. I have tried a bit of Dojo or JQuery (generally this is Ajax I think). I think you need to start to learn the basics properly. I've summed up several links here: [http://forums.sun.com/thread.jspa?threadID=5404443].
    Could someone point me what is the relation between Java application/technology and presentation layer of the application? For example, could I easily build nice Web application only with JSF? Or should I connect it with some Ajax-based library?Java/JSF is entirely server side.
    JS/Ajax is entirely client side.
    In JSF world there are several component libraries with builtin ajaxical (and skinnability -this also covers "nice looking" as you say) support, such as RichFaces and IceFaces. Give their homepage and demo's a look.
    If Ajax is best solution - what are your favourite Ajax implementations?I myself have jQuery on #1.

  • In a document library, offering only certain options for fields based on others selected

    Hi, I have a document library, and when someone uploads an item to that library, they are presented with a form to select properties. I have 4 properties I want them to select (really 6, but the first two are Name and Title). The issue is that these 4 properties
    depend on each other in this way:
    1st property: I use a lookup to offer 4 choices, "A" "B" "C" or "D" in a dropdown.
    2nd property: I want to offer the user a choice of 4 items in a dropdown, based on what they chose for the 1st property. (if they chose "A", then offer "1" "2" "3" or "4", if they chose
    "B" offer "5" "6" "7" or "8", etc.)
    3rd property: same thing as above, but now based on what they chose for the 2nd property (if they chose "1", offer "a" "b" "c" or "d", if "5" offer "s" and "t")
    4th property: again based on 3rd property.
    How can I do this? can I write some sort of custom form that can do this?

    What you're trying to do is commonly refererd to as 'Cascading Drop Downs'. These are a common lack in SharePoint.
    There are lots of ways to do that, my favourite to use jQuery or Javascript:
    http://www.sharepointboris.net/js/spcd/

  • Looking for browser-based, end user  ad-hoc reports

    Hi all. We have need for an easy to use, browser based end-user reporting tool that can be hosted by CF10. We are spending a fantastic amount of time building custom tabular reports for our client and would prefer to give them a tool in our app that let's them build reports whenever they want. Do any of you know of any good reporting tools where the end-user could build their own reports?
    Thanks for your help.
    -Andy

    Hi Andy,
    You could try JReport.  Its a reporting and data visualization tool that let's anyone of any skill level create and modify their own reports and dashboards.  You can even embed them into other applications.  Let me know if you want to chat about it.
    JReport website: www.jinfonet.com
    -Dean
    dyao (at) jinfonet.com

  • Looking for London based Freelancers

    Hi,
    I wouldn't normally post about freelancers here but I am getting desperate! (I hope it's allowed).
    I produce a magazine for a top UK retail client. I am going on holiday next week and require a freelancer to produce the next issue. I've already asked 6 top recruiters in London and no one has anyone who uses DPS.
    Does anyone know where to look to find people?
    Thanks.

    Anyone interested can respond directly through a private message.
    Bob

  • I'm looking for a backup software other than TimeMachine

    Hi,
    I really don't need to backup my whole HD (250GB). I only need to backup my music folder and iPhoto folder. Time Machine can only backup the whole harddisc. Can somebody recommend a tool/application that makes this possible?

    Super Duper is an excellent program with plenty of options. I would wait for the next update. I decided to try it and here's what happened: Super Duper allows one to set your back up Firewire drive up as bootable "clone". It will copy over either all files, user files, or just files that have been changed since the last back up. Normally, whatever version of OSX is installed on the back up drive remains unaffected by a back up. You have to boot up from the clone and then run software update on it, or do an install for a major revision. My iMac had been updated to Leopard but I left the back up clone in Tiger on purpose. Unfortunately after the last back up the clone is now showing itself as a 10.5 disk in the Startup Disk menu and will no longer boot nor can I repair permissions. I will have to either install Leopard on it or re-install Tiger. By the way, my Leopard iMac won't run the Tiger install disk anymore. I guess I'll have to use an older G3 iBook I still have.

  • Looking for ideas for transferring large amounts of data between systems

    Hello,
    I am looking for ideas based on best practices for transferring Large Amounts of Data in and out of a Netweaver based application.
    We have a new system we are developing in Netweaver that will utilize both the Java and ABAP stack, and will require integration with other SAP and 3rd Party Systems. It is a standalone product that doesn't share any form of data store with other systems.
    We need to be able to support 10s of millions of records of tabular data coming in and out of our system.
    Since we need to integrate with so many different systems, we are planning to use RFC for our primary interface in and out of the system. As it turns out RFC is not good at dealing with this large amount of data being pushed through a single call.
    We have considered a number of possible ideas, however we are not very happy with any of them. I would like to see what the community has done in the past to solve problems like this as well as how SAP currently solves this problem in other applications like XI, BI, ERP, etc.

    Primoz wrote:Do you use KDE (Dolphin) 4.6 RC or 4.5?
    Also I've noticed that if i move / copy things with Dolphin they're substantially slower than if I use cp/mv. But cp/mv works fine for me...
    Also run Dolphin from terminal to try and see what's the problem.
    Hope that help at least a bit.
    Could you explain why Dolphin should be slower? I'm not attacking you, I'm just asking.
    Cause I thought that Dolphin is just a „little" wrapper around the cp/mv/cd/ls applications/commands.

Maybe you are looking for

  • Error while activating queue XBTI*

    Hi All, When I triggered the message i have seen the message in Green Color in MONI. there by i went to SMQ2 and have seen the message that is strucked in the queue XBTI0001. After that i have deleted the queues from SMQ2 and De-registered the queues

  • Adobe Reader 11 - error message when opening PDF's

    I have an iMac OSx.  Using Adobe Reader 11.  Everytime I open a PDF I get "an internal error has occured"  I was trying to uninstall Adobe Reader 11 but the uninstaller in my Applications/Utilities is not there.  HELP!!

  • Help Nokia N8 prob. !

    need help nokia N8 my new nokia N8 was working brilliantly until software update ! now i cannot customise screensaver. i was able to use my own screensaver [gif] file but now the option does not appear, the only options i see are none, music player,

  • Yet another url mapping problem - wildcards

    Hello I have one servlet which I want to handle a range of urls. If I configure the web.xml with <url-pattern>/servlet</url-pattern> then /prjServ/servlet works in a browser but of course any other urls (eg /prjServ/servlet/fred) do not. If I change

  • HOW TO: Action to resize & center crop images of various sizes

    Hello, I've gotten a lot of help here over the years so I wanted to share an action I created. I needed to resize and automatically center crop images of various sizes for my company's website. For example: All images needed to be 900px x 460px 72dpi