Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-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 D1DE018FA1 for ; Thu, 1 Oct 2015 11:28:06 +0000 (UTC) Received: (qmail 6014 invoked by uid 500); 1 Oct 2015 11:28:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 5952 invoked by uid 500); 1 Oct 2015 11:28:02 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 5941 invoked by uid 99); 1 Oct 2015 11:28:02 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2015 11:28:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F1B7BC027E for ; Thu, 1 Oct 2015 11:28:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.001 X-Spam-Level: **** X-Spam-Status: No, score=4.001 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ft2NBI--9189 for ; Thu, 1 Oct 2015 11:27:51 +0000 (UTC) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id A21AE203BA for ; Thu, 1 Oct 2015 11:27:50 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so28201487wic.1 for ; Thu, 01 Oct 2015 04:27:43 -0700 (PDT) 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=5kYovd+HOxd3EEHU91k8+nOgFGQkF7ufWiHb/J8wb78=; b=F7C/lkrREDjkOmGPmMsLTa2VLZBSITzZNNSw+OV91olYilZO2sZHo2jQ22jPqySIWL sA+HvrLuaXjrQp+IEkHmL3tEnCnRRmlfocdlLcAq7EJZWguj5a3/kXB1c/EL2iDKpqfV zBCVNBqwp+nuPoTAX5FFEU9A+xPT1sfwnzTtr/jUPKAsbhX8csN0tkn+3Iv6PhOebh3V P2uxI82JqUuPSfh2Dp3bYEegd8P6Gyac4XelAg0GomktPn25VSVYkJpjPKxNobDqA9sx mi0+I4mnSfiGZKQjBHM+58cDiuCgTKQ/lZOe4oCsJFAGuQKl9eAWswbcC7QU5vksYyhz OejQ== X-Gm-Message-State: ALoCoQnPawpQuKlFQEaMb6Q3l0KkTz36gAzdhxJgAI+IrrA50QTzxGVftE8djuA3XOmoOMFPxRlD X-Received: by 10.180.90.33 with SMTP id bt1mr2649271wib.59.1443698863050; Thu, 01 Oct 2015 04:27:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.17.11 with HTTP; Thu, 1 Oct 2015 04:27:23 -0700 (PDT) In-Reply-To: <5609BC43.80703@christopherschultz.net> References: <288EC040-05D8-408D-B44A-D736C2D7DEE8@gmail.com> <55AE7F94.4090101@christopherschultz.net> <5604725C.3000404@mhsoftware.com> <560865CE.4030702@christopherschultz.net> <5609BC43.80703@christopherschultz.net> From: Linus Brimstedt Date: Thu, 1 Oct 2015 13:27:23 +0200 Message-ID: Subject: Re: Parallel Deployment: Can I request a specific webapp version? To: Tomcat Users List Content-Type: multipart/alternative; boundary=f46d043c80dee52b4d05210955ea --f46d043c80dee52b4d05210955ea Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Ok, so to conclude this is not possible at the moment. Thanks for the input and clarifications as well as the suggested ways to work :) br /Linus On 29 September 2015 at 00:16, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Linus, > > On 9/28/15 2:37 AM, Linus Brimstedt wrote: > > On 27 September 2015 at 23:55, Christopher Schultz < > > chris@christopherschultz.net> wrote: > > > >> > >> You have competing requirements: > >> > >> 1. All servers are the same > >> > > 2. Some subset users get a different version of the application > >> > > > > All servers would have all versions of the app, thats the whole > > point :) I.e. Instead of Server 1 - 3: App Version 001 Server 4 - > > 6: App Version 002 > > > > I would have Server 1-6: App Version 001 + 002 > > > > Parallel deployment makes this possible and simple to use. > > Sure, you can push multiple versions of your application to all your > servers, but the caveat is that all new users will be using the new > application: you can't upgrade selected users (like your own QA > testers, for instance). So this isn't an ideal solution, regardless of > how simple it is. > > >> Sounds like they can't co-exist without some kind of compromise. > >> We are offering one that works with currently-available > >> software. > >> > > > > Please elaborate > > We've already explained: > > 1. Upgrade some load-balanced nodes > 2. wait (???) > 3. Profit > > If you want your QA team to be able to use the new version of the > application but none of your "real" users, then try something like this: > > 1. Remove N/f from your load-balancer and upgrade using parallel > deplyment > (N =3D # of nodes and f=3Dsome factor of nodes you want to use for > testing) > (Existing users will still see version V-1 while new users will > see version V. The lb will not send new users to these servers, > so nobody will see version V at all.) > 2. Configure your QA team's browsers so that the lb allows them to > go to the servers you have upgraded, and get version V > 3. Proceed with testing > 4. When you are satisfied, put the nodes from step #1 back into the lb > normal rotation > 5. Upgrade the remaining nodes whenever you feel comfortable > > This means that, for a time, not all servers are identical. But you do > achieve your primary objective: blue/green production deployment with > a private interstitial testing phase. > > Your prior use of parallel deployment did not meet your primary > criterion: namely that it upgrades too many people at once. > > I think you have to decide which requirement is more important: the > private testing phase (which my proposal achieves) or the consistent > configuration of all servers (which your proposal achieves). > > I still believe your requirements are at odds with each other. > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > > iQIcBAEBCAAGBQJWCbxDAAoJEBzwKT+lPKRY1vsP/iu70XKXfhZVM4sTA+VsK220 > keAIjTUESeSKCF3IZoOtMR/xaC+3rsgCGlVjtyS8JOOkQ5/nHvD+e3XktXL8WZo0 > dvynCuFeLFBj89PY3pnDcYnr8AOxnbzlgvKC2dsvE1qKrII1/au9yz3juM2EpO5c > x4avtBklG7/+8hU7sTjpykOK5/7pMXLv5KsmeX6mzoJJky9f5WXuZ6K20jKc7m2b > zdjdgXG6hPvwoOh33ybO/vPPx0h0Ih6eflQqhqEblo2xb+XYWCeSTgMwrOR0nXWK > LXZh2Yyyt7AIozvI1abp97m6kFB9KLSX9QRIb1EmiAnfnkQYCfhWpAPeUcc3ZV/h > yh2h1qON8bCTeed97GWdpPu9o5l1l4EXIKgOk+iLV4rS0CjMQ/ybl6ePOrGApQs9 > q7vncmX3V4fZGdYf1qXj7ME7RcgE7U+TwRuR40wPB8McU+BVtI3d/S4I5W+9DBF7 > q9+B+EmZ1jCjrwzEot57TuYxM+oT8Lsykm43Esic3CeOxOBdp8phwe65AmZHTxJV > IIhTOdFuwZzL/n2dZx0dNspjc54Df1dgPoGw0OBa8c8BHPBz8ImskLONBQHZwRvy > ejwS00Pps7B/DeiquuZLOUilJo4UP5fS8NbpLPMt/5sBb4L9pgQRXs7jFwxQ0A1y > b6nF/Y5moFILPkWAfuB8 > =3Dw+9s > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --=20 *Linus Brimstedt * CTO +46 70 - 683 98 54 linus.brimstedt@viskan.se *Viskan Distanshandel System AB* Druveforsv=C3=A4gen 8 504 33 Bor=C3=A5s, Sweden +46 33 - 20 60 20 www.viskan.se --f46d043c80dee52b4d05210955ea--