One queue or multiple queues?

          Hi all,
          I have a JMS-based app that performs a few business functions, and each business
          function is handled by a single MDB. These MDBs see moderate traffic volumes
          (<5000 msg/day), and my question is this:
          Is it better to leave this design as-is, or is it better to merge these MDBs
          and their
          corresponding queues and use JMS selector to decide what biz function to perform?
          -j
          

Performance-wise it is better to use multiple queues, but
          your message rate is likely too low for this to make
          a difference.
          There is another advantage to using multiple queues:
          they make it easier for system administrators to
          see the statistics for different business processes, and
          possible to manage each differently.
          John wrote:
          > Hi all,
          >
          > I have a JMS-based app that performs a few business functions, and each business
          > function is handled by a single MDB. These MDBs see moderate traffic volumes
          > (<5000 msg/day), and my question is this:
          >
          > Is it better to leave this design as-is, or is it better to merge these MDBs
          > and their
          > corresponding queues and use JMS selector to decide what biz function to perform?
          >
          > -j
          

Similar Messages

  • Single Queue Vs Multiple Queues

    Hi,
    I am in the process of architecting some queues between remote databases. There are different document types being propagated from one queue to another, and they have different priorities. At the end queue there are multiple processes to dequeue and action the different document types.
    My question is, is it better to have one end queue for each process/document type ( ie multiple end point queues), or one single end point queue with all the documents in them regardless of the type?
    I know that it is possible to have the single queue end point, but is this the best option and why?
    Thanks,
    matt

    Hi Peter,
    What do you mean by different document type?Document content only is different. The payload will be the same. All the documents will be passed through as blobs. The payload will have a field to define the document content type.
    Do you intend to store different message types in the same source queue?At this stage we can go either way. If we have one single end point queue we will more than likely have one single source queue.
    If so what is the definition of the payload? The payload definition will be the same in all cases, both source and destination.
    What version of databases are you propagating between?10.2
    How many dequeueing processes will you have at the remote end?One program for each of the different document content type (invoices, remittance, etc.). Initially there will be 4, but this is likely to grow to 12 or more.
    Ultimately we expect around 10,000 documents per day to pass through the system.
    Thanks,
    Matt

  • Queuing to multiple queues

    Hello,
    Can someone help me with a created a script?  I want the script to come in to Script A and after 5mins, begin to look at Script A & Script B for the next available agent.  I wondering to I need to created two "get reporting statistic".
    I have UCCX 8.5.
    Thanks for any help you can give m4e.               

    Interesting. Did not know you could do that.  +5 Chris!
    Any considerations in terms of reporting?
    I had to do this for a customer just a few months ago. The requirement was that they wanted the contact to go into CSQ_1 and if they linger their too long then I should see if there is a resource available in CSQ_2. My solution was to queue the call in CSQ_1, after the time limit was hit I flagged a boolean varable and then started checking CSQ_2 on each loop iteration. If an agent was available, I would reserve, de-queue and hand off.
    Your solution is obviously more straightforward.
    -Bill

  • How to implement multiple queues in one circular buffer?

    Spoiler (Highlight to read)
    Recently I have successfully shared data of 2D array among different vis in a project, using circular buffer.
    However, there is only one circular buffer allowed in one project for one data type.
    I want different vis, running and getting data from circular buffer in different speed, all getting data as a queue from circular buffer. Like the circular buffer's read continuous mode.
    The problem is that after a vi reads in continuous mode, the read data is deleted from the circular buffer. Then other vis can not use them any more and can not keep track where they should begin to read again.
    So if it is possible that there are multiple pointers or queues in circular buffer to keep track the progress of different vis, and data only update when it gets input from DAQ but not deleted when read?   

    LawrenceChong wrote:
    Spoiler (Highlight to read)
    Recently I have successfully shared data of 2D array among different vis in a project, using circular buffer.
    However, there is only one circular buffer allowed in one project for one data type.
    I want different vis, running and getting data from circular buffer in different speed, all getting data as a queue from circular buffer. Like the circular buffer's read continuous mode.
    The problem is that after a vi reads in continuous mode, the read data is deleted from the circular buffer. Then other vis can not use them any more and can not keep track where they should begin to read again.
    So if it is possible that there are multiple pointers or queues in circular buffer to keep track the progress of different vis, and data only update when it gets input from DAQ but not deleted when read?   
    THe last time I wrote a multi-subscriber cirular buffer was in LV 6. Since then I have found that polymorphic queues perform much better so I now use multiple queues. One queue for each subscriber of the data. The subscribers are then responsible for maintaining their own histories.
    So just use multiple queues.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Multiple Queue Assignment for Integration Process - PI 7.11

    Hi,
    I am trying to configure multiple Queues for an Integration Process.
    The Integration Process is straight forward, except for a Asynchronous Request Response pattern with correlation. (A asynch send step - immediately followed by a asynchronous receive step with Correlation)
    I have done the following
    1) In IR set the Queue as Multiple - Content Specific
    2) In SWF_INB_CONF transaction reconfigured Multiple Queues - Content Specific without buffering
    But when I trigger the message, the message is not at all triggering/entering the Integration Process. The error message is BPE Internal Failure.
    But if I reconfigure the IP as One Configurable Queue & "Without Buffering", it is working. But we want multiple queues assigned to this Process.
    Thanks in advance.
    Regards,
    Sudharshan N A

    Bjoern, there are blogs/wikis available which should be searched before a question is asked on forum. The information you need is quite basic one and I will therefore lock this thread.
    Regards,
    Prateek

  • How do I use same MDB for multiple Queues? Deployment ?

              Here is what I am trying to do
              I have written one MDB that I want to use for multiple queues. I have seen posting
              mentioning that code a new weblogic-ejb-jar.xml to define other queues as the
              solution.
              Is there any other work around?
              I want to add queues in future as and when needed. I don't want to modify the
              already deployed jar to replace it with new weblogic-ejb-jar.xml everytime I have
              to add another queue for the message-driven-bean. Is is possible to use some kind
              of reference tag and just put weblogic-ejb-jar.xml in a new jar file and deply
              that every time I have a new queue to use for this MDB ( I don't think so, but
              again ???).
              Any help would be greatly appreciated.
              Chris
              

    Sorry -- that's the only solution for now.
              greg
              "Chris" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Here is what I am trying to do
              >
              > I have written one MDB that I want to use for multiple queues. I have seen
              posting
              > mentioning that code a new weblogic-ejb-jar.xml to define other queues as
              the
              > solution.
              >
              > Is there any other work around?
              >
              > I want to add queues in future as and when needed. I don't want to modify
              the
              > already deployed jar to replace it with new weblogic-ejb-jar.xml everytime
              I have
              > to add another queue for the message-driven-bean. Is is possible to use
              some kind
              > of reference tag and just put weblogic-ejb-jar.xml in a new jar file and
              deply
              > that every time I have a new queue to use for this MDB ( I don't think so,
              but
              > again ???).
              >
              > Any help would be greatly appreciated.
              >
              > Chris
              

  • Multiple queue vs single queue - peformance

    Hi All,
    Could pls throw some light on the following design.
    Currenty, We have more than 100 queues and for each there is a different MDB to receive the message.Now, somehow we made a single instance of same MDB listen to all these queues by looking at the input message. The requiement now is, is it possible to club all the queues into single queue as it's asynchronous messaging. The receiver may also try write into the same queue at the end of message processing.If so, how would be performance. Is this performance better than having multiple queues?.
    The message are expecting to be 25 k/day in the queue. And we are using Weblogic server.
    Please let me know if you need more details.
    Thanks
    Srinath

    You could try to use selectors to assign messages to particular MDBs. This way you off load some of the work on the broker but selectors by their nature usually have an impact on broker's performance. It all depends on your application, your expectations, size and the rate of your messages, how long it takes to process them on the client side. There is no simple answer in this case. You would have to test some scenarios to come up with a best solution that fits your requirements. Having said that I personally believe that some degree of partitioning of your queue could be beneficial. On a heavily loaded system it may increase the concurrency of the system and its resilience, particularly if you place the queues in different brokers. Try to imagine your broker as if it was a DB server with just one table (I'm not sure if this is the best analogy but I can't think about anything else at the moment).

  • Multiple Queues - Dequeueing resources?

    We have multiple queues on our database which have been configured to be automatically processed by registering stored procedures with each of the queues. The processing of messages works fine, however if we have messages in both queues then it appears as though an attempt is made to process all messages in one queue before it processes messages in the other queue. Are there any settings that we can look at setting to distribute the processing equally between queues?

    Other than job_queue_processes, I don't know.
    Have you made any progress with this?

  • Queue Scaling by Multiple Queues

    Hi,
    I see that there is an option to "Scale" Instances in Azure Management portal.
    My question is pertaining to scaling based on "Queue"?
    I have a Cloud Service and I want to increase instances based on MULTIPLE QUEUES. Is it possible?
    Currently, it allows to scale by only one queue.
    Apppreciate any help on the matter.
    Viral.

    I'm sorry but it's possibile to configure the service to scale by only one queue.
    Davide 'n3wt0n' Benvegnù
    If you found my answer helpful, please vote it.
    If you think that my answer resolve your issue, plase "Mark it as answer".

  • Multiple Queues(Content Specific) - Can't get more than two queues

    Hi,
    I have a ccBPM scenario, which collects messages read by the file adapter and then sends them grouped.
    It's working fine in many different configurations, but I'd like to configure it in a way described in the PDF "How Tou2026 Configure Inbound Processing in ccBPM Part II: Queue Assignment", which is using Multiple queues - content specific.
    If I put 2 queues (after defining a correlation for a message field batchID), it works fine. The messages with batchID=A are processed by one instance process from queue 001, and the messages with batchID=B are processed by another instance process from queue 002.
    But if I put 4 queues (SWF_INB_CONF), all the message still keep going to just 2 queues, and not 4. There is no problem, because still the messages with batchID = X are all processed by the same instance process, but I want to add more parallelization to the process using 4 queues.
    I've refreshed cache and reactivated, but it will still work with 2 queues and not 4. I've also made sure that the files read have 4 different batchIDs equally distributed among all the files.
    I don't know what I'm missing...
    Thanks!

    Solved it with SAP help.
    It seems that even if you config 4 queues (content-specific) to be used in SWF_INB_CONF, it is normal that not all queues allowed are used at runtime. The messages are distributed to the queues based on the correlation defined for the process, narrowing down the result afterwards to the number of allowed queues using a hash algorithm.
    Often it is necessary to specify 50-100% more queues to load the actually intended number of queues with messages.
    I could reach 4 queues really used setting the parameter to 10 queues.

  • Packages to multiple queues/groups

    Hi,
    We have an application, which sends/receives applicant packages from single queue Ex: Queue name is 'XYZ'. We would like to have the packages to be received to different queues based on the City name from where they are sending, how can we achieve this?
    Ex: User 'A' belongs to NY City and logged into 'ABC' group, he sends one package which is received by applicant, applicant fills in the form and sends the email back, now it has to come and sit in 'ABC' queue. Like this we would like to maintain multiple queues and get the requests to corresponding queue.
    I am very new to Adobe LiveCycle ES Workbench, can anybody guide me to achieve this.
    Thanks in advance.
    PK.

    LiveCycle doesn't really allow you to create "queues" - rather, there is automatically a queue created for each user and group. So if you want to create a queue called "ABC", the easiest way is to create a group called "ABC". Then you can assign all the people who you want to be able to action the item to the group.
    You can create the Group either in LDAP, or within Adminui.
    Howard
    http://www.avoka.com

  • Behaviour of multiple queue receivers on same queue

    I have been trying to find out what exactly the jms specification states about having multiple queue receivers registered on the same queue. Some books and people say that one is only supposed to register one queue receiver per queue, if this is the case then one might as well use one topic subscriber per topic (what is the utiliy of a queue then).
    I believe that one is allowed to register multiple queue receivers on a queue, and a message will only be consumed by exactly one and only one queue receiver, thus allowing for true parallel processing. This is the behaviour I have observed when using jms on both JBoss and Weblogic (and apparantly is the same on Websphere).
    I have looked at the formal JMS spec from sun and they dont make it clear what the behaviour of multiple queue receivers on queue is. Can somebody PLEASE help me clear this up.

    The behaviour is undefined by the spec. Here is what it says:
    "Although it is possible to have two sessions with a QueueReceiver for the same queue, JMS does not define how messages are distributed between the QueueReceivers."
    However, multiple receivers on a single queue is a very popular design pattern. A typically pattern is to use the queue as a worklist and for work items to be posted to the queue. There is then a collection of workers who are registered as queue receivers picking out their work items from the queue. These workers are processing in parallel and as the workload increases you respond by add more workers.
    This pattern is usable where message ordering is not important and that the workers are stateless.
    Steve

  • Disadvantage of using multiple queues?

    is there a way to allow only a specific client to retrieve a specific message using a single queue? i would like to have multiple clients sending and recieving messages to a queue but they may not be sending them and retrieving them in any specific order. i want to have it so when a message gets sent, only a specific client will be able to receive that message. so if i have several clients waiting to recieve messages from the queue, the client that the message is for will be the only one to get the message. is there a way to set an ID number or something on the messages designating which client should read them? or is it better to use multiple queues where each client will have its own specific queue that it will be reading from? is there any performance disadvantages to creating multiple queues?

    Hi,
    Your receivers can use a message selector based on a JMS property that is set accordingly by your senders. Regarding performances it is mainly dependent on the number of consumer types you want to use and of the number of destination that are already deployed on your JMS server. A consumer that uses message selector is slower than a standard consumer then it is better to use multiple destinations. However, the JMS server may be overloaded if too many destinations are deployed. You should do some tuning of your JMS server to find out the best suitable solution for your needs.
    Arnaud
    http://arjuna.com

  • Available/Unavailable for multiple Queues on CCX5

    Hi,
    We have agents who take calls for multiple Queues and need to be able to make themselves available/unavailable on different days. At present they do this through multiple logins (one for each queue-not ideal). Any suggestions? Dont want to depend on Supervisor to maintain.
    Thanks
    Rich

    The product is currently designed to require administrator or supervisor intervention through /appadmin skill level assignments to do this. You can submit a Product Enhacement Request, or attach yourself to an existing one if already requested, through your Cisco AM.

  • UCCX agent multiple queues

    If a agent belongs to multiple queues is there away for the agent to know which queue the call is coming from.
    The end user is using ip phone agent, not desktop agent.
    ex.
    queue a xyz company sales
    queue b xyz company support
    They want to be able to greet the customer with the appropriate department.
    Thanks,
    Rob.                  

    To do this, you'll need to create a telecaster user in CUCM and assign your agent phones to this user. In the Cisco Desktop adminsitartor web portal you need to enter your telecaster user details under CAD Configuration Setup -> BIPPA User Login.
    To configure what fields are displayed go to the Cisco Desktop Adminitrator  web portal -> Services Configuration -> Enterprise Data -> Layout List -> default. Edit the fields here you want to display. You might need to populate one of the call variables in your script with the CSQ name.
    Seehttp://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_0/installation/guide/cad80ccxig-cm.pdf pages 55 and 57.
    Brian
    Please rate helpful posts

Maybe you are looking for

  • DCI Indicator in PO

    Hi all, I am trying to set the DC Indicator and the relevant config settings. I have gone through this post: Delivery Complete Indicator of PO and Goods Receipt However, I am facing a strange issue, when I try to do the GR for the PO having the Deliv

  • Java Video Streaming

    Hello I try to get an overview of what's possible according to video streaming in sun's wonderland. The goal is to stream prerecorded videos, stored on a webserver (not necessarily on the same machine like the wl-server ) into our wonderland embedded

  • Help: ONE_STEP DVD name not changeable?

    Hello, I have made a movie from a camcorder tape with iMovie, exportet it to iDVD. Then I wanted to burn a DVD without any themes using the onestep option.I succeeded. However unfortunately the DVD is named "one_step...." I did not find any way to ch

  • Oracle 9i Portal

    Title : Oracle 9iAS O/S : MS Windows POST: REPLY (W/QUOTE) Author : adedoja adeyemi Type : Question Date : Jun 5, 2002 16:18 PT Hi Can anyone advice on what to do pls. The portal installation stopped after 20%,the statement displayed was an unexpecte

  • Adobe Reader triggers discrete graphics when 'signing' Mac OS X

    G'day, When I launch Adobe Reader on my MacBook Pro and load a document, then click on 'Sign' it triggers the discrete graphics chip.  It then remains active even after closing the document. If I kill the Adobe Reader application, the graphics defaul