Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5C13D73F for ; Wed, 5 Sep 2012 21:34:17 +0000 (UTC) Received: (qmail 78694 invoked by uid 500); 5 Sep 2012 21:34:17 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 78629 invoked by uid 500); 5 Sep 2012 21:34:16 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 78617 invoked by uid 99); 5 Sep 2012 21:34:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 21:34:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of philharveyonline@googlemail.com designates 209.85.212.42 as permitted sender) Received: from [209.85.212.42] (HELO mail-vb0-f42.google.com) (209.85.212.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 21:34:11 +0000 Received: by vbbfs19 with SMTP id fs19so565512vbb.15 for ; Wed, 05 Sep 2012 14:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CIJ7gkwGRfwSWa7eU/5VTRkW7z/olbKEa3arB8x1JZo=; b=QXuixMk/5GSgF2HxHbGRzJLj5kwBmBUAVJyrqa6WAzCQ6t1NE0a1U7PMwhur8GJTJx XnLvSSWkEGJ8X2eoyCv+oWRfQazGy9IGT91+0RIFby1BX3G+5ILHuVSek29pcqWVD0rZ pXhLRcz8k0R2oJYHj0eUg1sJIDFdGz9aJfCFwNEDt0ftdiEY9caI5jFcYGagGeeOoJB0 u/g7NqaANQ79rGJ+JEuMMFuaSO82me9SiZoQBDesGpr/8rM3DtLs8w2qDnWNGLR1YpHC fhJPrSuhXkwRtrhIoiViANAolZDGmq8CAhm6Sw+mKX5dq7bn/CnVTVAF7AsCnc3ZzF74 pX7g== MIME-Version: 1.0 Received: by 10.52.35.99 with SMTP id g3mr17170006vdj.21.1346880830194; Wed, 05 Sep 2012 14:33:50 -0700 (PDT) Received: by 10.58.168.237 with HTTP; Wed, 5 Sep 2012 14:33:50 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 Sep 2012 22:33:50 +0100 Message-ID: Subject: Re: Looking for feedback on a design, based on Qpid From: Phil Harvey To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=20cf30780b1e7043bb04c8fb21d6 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30780b1e7043bb04c8fb21d6 Content-Type: text/plain; charset=ISO-8859-1 Hi Sajith, Apart from the fact that you have ~1000 nodes, what other non-functional requirements do you have? For example: - What is the acceptable time lag between the application being deployed and a node receiving notification? - What frequency of application deployments do you expect? - Which of the following notification semantics do you require: exactly-once / at-least-once / at-most-once ? - Do you need to handle message "conflation" addressed by last-value queues (https://cwiki.apache.org/qpid/use-last-value-queues-lvq.html)? - How are your nodes distributed, e.g. is each nodes a separate process? On the technical side, have you already made any decisions? For example: - Are you planning to use the Java or C++ Qpid broker? - What platform/language do your nodes use? Most of my experience with the Java broker, which dedicates a thread to each connection. I don't expect a few thousand connections would cause problems but I believe others on this list have more experience of testing the broker's upper limits. Phil On 5 September 2012 21:41, Sajith Kariyawasam wrote: > Hi all, > > This time its more like a design/architectural query I have to make, that > it, we are going to implement a notifier functionality in our app > deployment. > > when an application is deployed to the central server it needs to notify a > collection of nodes that an application is uploaded/updated. > > There can be thousands of nodes of different types based on the type of > application they are interested about. > > Here, node is the receiver and what is the best way to implement > receiver functionality? > 1. Should we make each and every node continuously listening to a queue > of his type of application ? > 2. Should the node make a call to a queue periodically and check > whether any messages are there? > > In 1 advantage is that, the moment application gets uploaded relevent nodes > gets the notification, but concerns about the performance. > > If solution 1 is followed, there will be thousands of active connections to > the broker, is that manageable ? How many number of active connections Qpid > broker can handle at large ? > > -- > Best Regards > Sajith > --20cf30780b1e7043bb04c8fb21d6--