Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB5A610562 for ; Fri, 11 Oct 2013 05:58:05 +0000 (UTC) Received: (qmail 47156 invoked by uid 500); 11 Oct 2013 05:57:55 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 47028 invoked by uid 500); 11 Oct 2013 05:57:52 -0000 Mailing-List: contact dev-help@stratos.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.incubator.apache.org Delivered-To: mailing list dev@stratos.incubator.apache.org Received: (qmail 46420 invoked by uid 99); 11 Oct 2013 05:57:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2013 05:57:49 +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 (nike.apache.org: domain of sanjiva@wso2.com designates 209.85.223.169 as permitted sender) Received: from [209.85.223.169] (HELO mail-ie0-f169.google.com) (209.85.223.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2013 05:57:43 +0000 Received: by mail-ie0-f169.google.com with SMTP id tp5so7524784ieb.28 for ; Thu, 10 Oct 2013 22:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=9H71pm5hiQpG4YJXAe6VW8Xh0HwRsDEdVlVKI9fuflw=; b=EdDZFr5izmn42wQTsTXp919RzyHrK3j8bNoybneDFdZpPXAGB19UsuZ73QLXqd3O4B DBoIVAJUyuPEh4QnINtQdomufzNbV3k8epbB8yrCC/t5MxKMQK1Onwt4/fFLx7sTiJq2 RZUL2Cm2JG5G3aqLfTjq/AQcVTrZvZ4g2D9VI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=9H71pm5hiQpG4YJXAe6VW8Xh0HwRsDEdVlVKI9fuflw=; b=Tw+NWzEzWeD3QGE+hX4ZSjSGh1fjP4KKLxyPSYze5NVjyj2kCistUKreQPlVB64iI2 qU0g1aaZQLtLWVLTkm0vnbXeDp8bn8zBDlUB0WsgSO6ev3owJp6hNVTgJmVoZ1VC4Yl3 h1bIw4EsJCeUdT2Z7okBJLkzjiuLmEMMXaGxne62qVcbXWHASjz+jY2x/Y8DzWRT/Nnm gzq7sRwiKWoGshGsiOUQmu2KTB+iBPxJHX3bJzud0lZhG6JaTJkTtcoVkKQSuXZdJfKn E3x0xe0XymLGItORN3hz6wltk4WPvT6/FcT7OY0wSZKytSY5Il1440Jz19Gx8XUh32Ip 8SEQ== X-Gm-Message-State: ALoCoQnJHoNxthsQWRLiMxdwkOVRY/WwJ5yWjpH6C1ZkWZh9pcZRhq20x3W5VNusQlRgxeGUbDv2 X-Received: by 10.50.119.4 with SMTP id kq4mr1458703igb.40.1381471041914; Thu, 10 Oct 2013 22:57:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.227.49 with HTTP; Thu, 10 Oct 2013 22:57:01 -0700 (PDT) In-Reply-To: References: From: Sanjiva Weerawarana Date: Fri, 11 Oct 2013 11:27:01 +0530 Message-ID: Subject: Re: proposed architectural changes to Stratos To: dev Content-Type: multipart/alternative; boundary=089e013c6e4ab8a41504e870ca04 X-Virus-Checked: Checked by ClamAV on apache.org --089e013c6e4ab8a41504e870ca04 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Oct 11, 2013 at 10:23 AM, Nirmal Fernando wrote: > +1 for the new design. > > A question: > > How can we handle multiple load balancer scenario where one load balancer > would not interested in all the clusters but a set of selected ones? I > suggest we go for a hierarchical topic concept, instead of one single > topology topic. > Are you suggesting some topic hierarchy which recognizes the actual LB type? I don't like that because that couples the CC to LB types. My preference is a model where all LBs get all updates and they decide what they care about and do something about those. > >> - Traffic comes in thru any load balancer (e.g. HAProxy for non-HTTP >> traffic and our LB for HTTP traffic). LB routes based on its configuration >> which is periodically updated by the Cloud Controller via topology update >> messages. >> >> IMO we should send topology messages periodically (even there's no > change), so that LB can get the current status of the system, even after a > restart. > Yeah to handle fresh LBs we either need to have a periodic update going out or have a way for the LB to contact the CC and get the latest config. I prefer the latter because that's a bit like ADC being used to config a fresh instance. In fact, going forward we could even auto scale LBs .. but that's a bit far fetched as it requires possibly doing DNS updates too. But its not that hard. Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ email: sanjiva@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware --089e013c6e4ab8a41504e870ca04 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Oct 11, 2013 at 10:23 AM, Nirmal Fernando <n= irmal070125@gmail.com> wrote:
<= div class=3D"gmail_quote">
+1 for the new design.=

A question:

How can we handle multiple load balancer = scenario where one load balancer would not interested in all the clusters b= ut a set of selected ones? I suggest we go for a hierarchical topic concept= , instead of one single topology topic.

Are you suggesting some topic hierar= chy which recognizes the actual LB type? I don't like that because that= couples the CC to LB types. My preference is a model where all LBs get all= updates and they decide what they care about and do something about those.= =A0
=
  • Traffic comes in thru any load balancer (e.g. HAProxy for non-= HTTP traffic and our LB for HTTP traffic). LB routes based on its configura= tion which is periodically updated by the Cloud Controller via topology upd= ate messages.
IMO we should send topology messag= es periodically (even there's no change), so that LB can get the curren= t status of the system, even after a restart.

Yeah to handle fresh LBs we either need to= have a periodic update going out or have a way for the LB to contact the C= C and get the latest config. I prefer the latter because that's a bit l= ike ADC being used to config a fresh instance. In fact, going forward we co= uld even auto scale LBs .. but that's a bit far fetched as it requires = possibly doing DNS updates too. But its not that hard.

Sanjiva.
--
Sanjiva Wee= rawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.;=A0 http://wso2.com/
email: sanjiva@wso2.com; = phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 650 265 8311=
blog: http://= sanjiva.weerawarana.org/

Lean . Enterprise . Middleware
--089e013c6e4ab8a41504e870ca04--