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?

From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: OT: limit number of connections from browser to my server?
Date 2016-05-17 02:52 +1000
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>

Show all headers | 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