Using and Abusing Selectors... how far can I go?

Hi,
I am currently looking at a system that consists of a 1000 clients that connect to BlazeDS. They exchange data with the server using messaging ( publish/subscribe ). Most of the data that goes to the clients corresponds to dynamic queries, for example:
Bind this label to the current value that results of evaluating this query: "select foo from x etc..."
( I am making this up to simplify, it is a bit more complicated than this, but it could very well be a simple SQL statement that is constantly evaluated ever 1 miniute or so ).
Now, here's the question. Currently, all clients create one or two consumers, and most of the responses for each of the queries come through those. So, I am basically multiplexing. Meaning that several "different" queries send their results through the same Consumer.
Internally, I do something like this ( again, pseudocode )
function processMessageResult( message )
  if ( message.query == query1 )
    updateBinding1(message.result)
  if ( message.query == query2 )
   updateBinding2(message.result)
etc..
Each client can easily have 400 active queries at a given moment and they are being re-evaluated constantly.
My first question is this:
What if, instead of multiplexing two Consumer on the client, I subscribe 400 different consumers and achieve the granularity via selectors?
Assuming the first one is not a redundant DON'T DO IT. The second question then is:
Can I listen to the subscriptions and inspect them, including defined selectors, on the server side?
I am thinking I can use the SQL 92 based selectors to build part of the "request" mechanism itself.
For example, a Consumer installs a filter: customerID=769
I can then say: Oh, someone wants me to run query A with this parameter.
I know I am pushing the limits here a bit. But the point is that the current logic is so complex that it makes sense to move it back and maybe even try to extend BlazeDS a bit. There is too much logic on the client side. That's not a good sign... and we will need other client techs to use this.
Thanks!
A

To put it in simple terms:
How will BlazeDS handle 400 subscriptions ( with complex selectors ) per client for 1000 clients?
Thats 400.000 consumers!
I haven't even tried. This is just  a crazy idea I want to explore.

Similar Messages

  • HT4759 When i enter my apple id , a massagd appears and says that the maximum apple id use in this iphone, how i can enter my apple id on this?

    When i enter my apple id , a massagd appears and says that the maximum apple id use in this iphone, how i can enter my apple id on this?

    If you are entering an Apple ID in Settings>iCloud which has not yet been used to create an iCloud account then the phone will attempt create a new account.
    However the maximum number of iCloud accounts that any one device can create is limited to three - this is tied to the hardware and can't be bypassed. If you've already somehow created three iCloud accounts then you would have to create a new one on another Mac ior iOS device, and then you could sign into it on this phone.

  • I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    You can either use Office for Mac 2011 or use Boot Camp to run Windows or use a VM, such as Parallels Desktop to run Windows. Running Windows, you'd be able to use MS Office for Windows.
    Clinton

  • HT201364 Xserve (Early 2008) with Snow Leopard 10.6.8: How far can I upgrade ? Can I upgrade to an OS X Server version? Is any OS X Lion version compatible?

    How far can I upgrade ?
    Can I upgrade to an OS X Server version?
    Is any OS X Lion version compatible?

    Open the Mac App Store and try downloading Yosemite. If you get told it's incompatible, the computer's also incompatible with Mountain Lion and Mavericks; if desired, choose About this Mac from the Apple menu, check if the computer has at least a Xeon or Core 2 Duo(not Core Duo) CPU and 2GB of RAM, and if it does, click here and order a download code for Lion 10.7.
    Back up your data and check your applications for compatibility before upgrading. In particular, Mac OS X 10.7 and newer don't support PowerPC programs such as versions of Microsoft Office prior to 2008.
    (123636)

  • How I can use Bluetooth of ipad, How I can use Bluetooth of ipad

    How I can use Bluetooth of ipad, How I can use Bluetooth of ipad

    You can use Bluetooth to connect your iPad to speakers, headphones, keyboards and a few other devices. I use Bluetooth to connect my iphone to a SpotConnect device.

  • How far can a 2400+ with Kt6 delta

    Hello guys!
    I'm a beginner overclocker, so I dont know how far can a 2400+ can go, what is the best performance it can handle with stabiliy.Please help me, thanks!!!
     :hypecrite:
    AMD Athlon XP 2400+
    MSI KT6 Delta LSR
    TwinMos 512 DDR 400
    MSI FX 5600XT TD128
    Terratec Aeron 5.1 Sky
    Seagate Barracuda V 80 GB
    Texas Instruments FireWire controller
    Mercury 450W, I dont know the details exactly
    Win 2000 PRO with SP4

    2.4 with an AXDA model.
    runs at 2.5 in dos, but dosnt boot into windows.
    Reeeal good heatsink like those thermalrights with a big fan would probably run 2.5G's.
    Water cooling should do a mighty job at OC'ing the 2400+
    Im gonna AS5 and lap my V12, should do quite alot better after that, not much extra cost either.
    Runs mighty hot though.....yeeeeeeeowwwww  

  • How far can i go with spiceworks helpdesk ticketing system?

    No satisfaction form.  You can ask the user to comment on the ticket about the experience before closing it.
    There are plugins and scripts that can enhance or modify different aspects of the system.  Just not on the grand scale you are envisioning.

    hey,
    i have installed spiceworks helpdesk on my network and created a custom but simple form for users to fill when they need any technical support. and i have also activated the email notification (integrating with exchange server)
    but my question is, how far can i go with this helpdesk system? how well and pro can i go with it? can i let the end user submit some kind of a satisfaction form after the technical guy finishes the support? how well can i enhance all both end user and admin experiences with this tool?
    This topic first appeared in the Spiceworks Community

  • How far can text messages be tracked with a court order?

    how far can text messages be tracked with a court order?

        Hi sherry1234,
    Thanks for the excellent question. We are able to provide an average of 3-5 days of text messaging content with a court order.
    Thanks,
    NidiaA_VZW
    Please follow us on Twitter @VZWSUPPORT

  • HT5312 i forget my apple rescue email and security question.how i can change my password

    i forget my apple rescue email and security question.how i can rest my password

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Unfortunately at this moment you can't. Apple emplyee(s) inadvertantly assisted someone to hack the Apple ID accounts of others and Apple has placed a moritorium on resetting accounts until Apple has security in place to prevent this occurring again.
    Write iTunes/Mac App Store Support and perhaps they can tell you when to axpect help to reset your account.
    Mac App Store Support -
    http://www.apple.com/support/mac/app-store/

  • HT2495 Using I-Work and question about how one can print a search in numbers.  Is there a way to print it?

    When using the Numbers program and you do a search and find opperation how does a person print the search findings?
    Tom Ro

    The difficulty is in opening the iPod Casing and damaging it, you can get the parts from eBay. So I would suggest that you bring it in to Apple  or 3rd Party Service to fix it.
    Have a nice day!

  • Can I use wireless headphones with my iPod 4G and if so how?, Can I use wireless headphones with my iPod 4G and if so how?

    I am looking at be headphones but they're wireless and I was just wandering if I could use them with my iPod without wifi or any Internet connection and if so how?

    Yes, but they must use Blue Tooth. You will find many that will work.

  • How far can the Powerbook open up?

    I am interested in getting a 17" Powerbook to use in our RV. If I mount it on the side of a cabinet and open it up how far will it open?

    Hello Benny
    That's a really creative idea, congrats. With some more work (building some kind of custom frame), you may have a product idea that you can market.
    As it is, though, I dont think it will work. The hinges on the PB are stiff enough to hold the display stable when it's in use, but they don't take excessive effort to open. I don't think they'll work if they have to bear the weight of the base - which is much heavier - instead of the display.
    I think what you'd need is some kind of spring-loaded frame for the unit.
    Peace
    Greg
    PowerBook G4, 17, 1.67   Mac OS X (10.4.7)   1 GB RAM, 60 GB IPod Photo

  • Shared services and workspace architecture(How we can find out req &respon)

    Good morning Hyperion folks,
    Does any body have any document or PDF about workspace and shared service architecture...How these both components are communicate each other..any idea or any document..while communicating of these if anything goes wrong,,where we need to check, what is exactly the problem (any suggestible logs)...
    Company are doing big mistake by using this hyperion tool ..These guys are not supporting and even they don't know much about the tool apart Product dev team..and that too they are not disclosure any documents related product...
    **Does anybody found any kind performance tunning guide or lab guide about workspace and shared service HFM,Planning...** I have never seen component wise documents and tunning guide and recommendations.
    I am strong opnion about hyperion is,we would not get any support from oracle and documents so He can migrate Cognos TM1 and Finance management etc........
    Edited by: 888154 on 29/09/2011 02:55

    Thanks john For ur reply ..i have seen these documents long ago ..i am asking about Shared services and workspace architecture and how these are functioning and where we can find out communication error and slow login issue with workspce and shared services.. How authentication is log on ..is there any machanisam they are using for authencation ...We are using OpenLadp ...
    Ex :1.Per suppose log on to workspace that request goes to shared services directory and it will check whether that user is exists or not on Shared services tables ...here what kind of alogirtham using to aunthenticate user...How we can diagonse this process taking to much time,,,is there any specific logs related this (If logs are exsits how we can find out)...
    2.Once authencation done successfully and responce send to workspace and populate workspace home page...then i click on application button (FM application) and it's taki ng to much time to load HFM page.To this where we need to look whta excatly problem? what are logs file helpful to us to diagonse..

  • How far can i go

    i have a sempron 3000+ socket a processor
    k7n2 delta2 series fsr mobo
    768mb ddr pc3200 memory
    2 80gb hard dr
    2 cdrom
    400w ps powerlink
    +3.3  28a
    +5    40a
    +12  18a
    3 case fan
    2 case blower
    copper heatsink  up to 2.2
                                                                         thanks

    Hi
    There is no set figure on how far an overclock will go as each piece of hardware: cpu, motherboard, memory and power supply can limit the overclock.  It is all trial and error so be prepared to reset the cmos a few times.
    Read the Kingfisher sticky at the top of the page as well as any other information that you can find to help you achieve the best, stable overclock.

  • GTX675M Overclocking - how far can you go?

    Seems hard to find numbers about this one.
    I hae a GT60 with the GTX675M
    But how far have you guys been overclocking this card?
    So standard clocks are 632/1500
    I've already pushed it to 735/1725
    Tested it on Crysis 3 and it worked without glitches. Temps were around 93°C. Seems I can push it even harder? But to late to test.
    I did not turn on the fan-button, so fan-speed was controlled by motherboard.
    I did some OC testst with Kombustor and it locked up when clocking it lower then what I did above, don't know why, so I thought I couldn't get higher then 700/1700. Seems I can.
    PS.: If someone else found numbers from this card in laptops, let me know!
    PS2.: I guess when the 675M breaks, I can put in a 675MX, not? Same slot and all... Should also run even cooler I think, since it's a Kepler then.

    Depends on what you want and what you are willing to sacrifice  
    If lower RAM speed is OK, select 5:4 to maintain DRAM within spec. You should be able to get 3.2GHz easily - possibly higher too if you have the right components and tweak it right  :D
    You may also need to review cooling if heat tends to rise with extreme loads and major overclocking.

Maybe you are looking for