Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108673

Re: OT: limit number of connections from browser to my server?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: OT: limit number of connections from browser to my server?
Date Tue, 17 May 2016 02:52:08 +1000
Lines 31
Message-ID <mailman.22.1463417531.19823.python-list@python.org> (permalink)
References <nhcr5g$o1k$1@ger.gmane.org> <CAPTjJmrTf5iCe8sN8WrouhBV867UZF4DgFOC9OFkhHSxZoajNw@mail.gmail.com> <mailman.18.1463415352.19823.python-list@python.org> <nhcsps$94g$1@dont-email.me> <CAPTjJmrq0SYicwL-wZSMxpn8zSg=pYm90GOfcq+XiQxo6AJ1Sw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de k/XvXXWDMEP8k6iF4Jsoyw/CqY+raISf4NpgDtFK7KUA==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'static': 0.03; 'rejected': 0.05; 'correct.': 0.07; 'subject:number': 0.07; 'cc:addr:python- list': 0.09; 'agree,': 0.09; 'it;': 0.09; '2016': 0.16; 'apology': 0.16; 'chris,': 0.16; 'elsewhere.': 0.16; 'file).': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:limit': 0.16; 'subject:server': 0.16; 'varies': 0.16; 'webpage,': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'work,': 0.21; 'am,': 0.23; 'second': 0.24; 'header:In-Reply- To:1': 0.24; 'external': 0.27; 'message-id:@mail.gmail.com': 0.27; 'device': 0.28; 'fine': 0.28; 'for,': 0.29; "people's": 0.29; 'asked': 0.29; 'connection': 0.30; 'work.': 0.30; 'connections': 0.30; 'option': 0.31; 'embedded': 0.32; 'expensive': 0.32; 'getting': 0.33; 'done,': 0.33; 'case,': 0.34; 'tue,': 0.34; 'gets': 0.35; 'received:google.com': 0.35; 'something': 0.35; 'received:74.125.82': 0.35; "isn't": 0.35; 'but': 0.36; 'too': 0.36; 'there': 0.36; 'serve': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'stuff': 0.38; 'someone': 0.38; 'files': 0.38; 'google': 0.39; 'why': 0.39; 'subject:from': 0.39; 'some': 0.40; 'high': 0.60; 'your': 0.60; 'customer': 0.62; 'face': 0.64; 'internet': 0.70; 'chrisa': 0.84; 'entity.': 0.84; 'everything,': 0.84; 'suggestion,': 0.84; 'ultimately,': 0.84; 'willingly': 0.84; 'to:none': 0.91; 'belief': 0.91; 'cost,': 0.91; 'favour': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=Qgm6YHzeD79T4ijAkGiwG17+wK/DZLXMhP0H2vjpqtA=; b=aWa/QQ0BU472EC/5H4yDgGx78YNw8WviDdHUz8t9Qfi08eOar/IPkGSfkRjcrVJ/0U mMOrBNKR0/trX5EJeTYkxCeBTuvb76dOTaVlaDb5COEw5Ox/AgerHYP/4mrCztKjNZCK QUh2zY0lHsBqCZS/OqhQ2Lq28mGB78s13QIkNJHxLJKN1ZIOGoyG4oBIhEznAOZIi7yC CqPOYNFfH2TXksg/7C2TmI/L2iOZz6LvawXMTr9330fm6u4NnXptUspvFhShsuS2m+l2 XASxPtjUm2UTzb4h0gK3X9qLV1ctjuhv4kiJpzzlz2aCvgrEJGfITpAoJ+wiI+qBpBbA 478w==
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:date :message-id:subject:from:cc; bh=Qgm6YHzeD79T4ijAkGiwG17+wK/DZLXMhP0H2vjpqtA=; b=XV2vOOSRA/Z6KCyVmSkzRAdcrtCgC58R3KgZafsVXHrY9TvBofH6ws+UTgSxlL6fgi 8y94Plr6It5dPLazwI+YjHqqe5eY535idMiLI0Wy9lDJN1SNV3EIWuBYOeJWCYM2u0ZO YXvSPo8zggyMzVm80a6VWGtNc3xCQsB8C6OfVLl+W4Es9NovN28YyeWITZx2k3KhcKGh ZI3GTlDA7lJIJBUkgXrVdEz08AeCaHR+1kHTOU4kqt+hAx3GPSzF34XfmXX+z+GmJDS8 wP4wPib3gwqxT87MMPiKhdtgIOJ2eY/CxQSRl0QyE9vv01aYoPIGRTcCSlPypHwPQ6Gy ElHg==
X-Gm-Message-State AOPr4FWVxabcb6ZC48TOJBmQjruZ/2JveiXvMf72JaNUpWai2vsPlAEKQd6nf6AU8GlbaDdL1LL40eGV+NKrVA==
X-Received by 10.194.186.237 with SMTP id fn13mr31889211wjc.47.1463417528843; Mon, 16 May 2016 09:52:08 -0700 (PDT)
In-Reply-To <nhcsps$94g$1@dont-email.me>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAPTjJmrq0SYicwL-wZSMxpn8zSg=pYm90GOfcq+XiQxo6AJ1Sw@mail.gmail.com>
X-Mailman-Original-References <nhcr5g$o1k$1@ger.gmane.org> <CAPTjJmrTf5iCe8sN8WrouhBV867UZF4DgFOC9OFkhHSxZoajNw@mail.gmail.com> <mailman.18.1463415352.19823.python-list@python.org> <nhcsps$94g$1@dont-email.me>
Xref csiph.com comp.lang.python:108673

Show key headers only | View raw


On Tue, May 17, 2016 at 2:34 AM, Rob Gaddi
<rgaddi@highlandtechnology.invalid> wrote:
>> The solution might actually be to move all your static files
>> elsewhere. Slap 'em up onto github.io or something, and then the
>> browser is free to make all the parallel connections it likes; your
>> embedded device can just serve the stuff that actually varies
>> (presumably the main HTML file). I know that isn't what you asked for,
>> but it's something to consider :)
>>
>> ChrisA
>
> Oooof.  Not to be rude, Chris, but your "software guy" is showing.
> Grant's got the right of it; if you're shipping a box with an RJ-45 and
> a webpage, and you want the customer to be able to always make it
> work, then it needs to be a self-contained entity.  The belief that your
> external dependancies will always be there is why leftpad was able to
> break everything, and why Google just bricked a bunch of people's
> expensive Revolv Hubs.

I agree, but I also make no apology for suggesting the option of
getting someone else to do some of the work. In this case, it can be
rejected for the exact reason you cite (dependencies are a cost, and
in this case way too high a cost), and that's fine and correct.
Ultimately, if the job gets done, everything else is implementation
detail, with consequences - and I know a lot of people who'll
willingly sacrifice "reliability in the face of an internet connection
outage" in favour of "less than fifteen second response time". Hence
my suggestion, albeit couched in "might be" and "something to
consider". :)

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: OT: limit number of connections from browser to my server? Chris Angelico <rosuav@gmail.com> - 2016-05-17 02:15 +1000
  Re: OT: limit number of connections from browser to my server? Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-05-16 16:34 +0000
    Re: OT: limit number of connections from browser to my server? Chris Angelico <rosuav@gmail.com> - 2016-05-17 02:52 +1000
      Re: OT: limit number of connections from browser to my server? Steven D'Aprano <steve@pearwood.info> - 2016-05-17 12:50 +1000
        Re: OT: limit number of connections from browser to my server? Chris Angelico <rosuav@gmail.com> - 2016-05-17 13:02 +1000
          Re: OT: limit number of connections from browser to my server? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-05-17 15:22 +1000
        Re: OT: limit number of connections from browser to my server? Gene Heskett <gheskett@wdtv.com> - 2016-05-17 01:26 -0400
        Re: OT: limit number of connections from browser to my server? Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-05-17 16:59 +0000
          Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-17 18:42 +0000
            Re: OT: limit number of connections from browser to my server? Paul Rubin <no.email@nospam.invalid> - 2016-05-29 22:03 -0700
              Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-31 15:31 +0000
          Re: OT: limit number of connections from browser to my server? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-17 18:28 -0400
          Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-18 13:58 +0000
    Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-16 19:19 +0000
      Re: OT: limit number of connections from browser to my server? Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-05-16 20:09 +0000
      Re: OT: limit number of connections from browser to my server? Paul Rubin <no.email@nospam.invalid> - 2016-05-16 13:41 -0700
        Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-16 21:32 +0000
          Re: OT: limit number of connections from browser to my server? Paul Rubin <no.email@nospam.invalid> - 2016-05-29 22:00 -0700

csiph-web