Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: OT: limit number of connections from browser to my server? Date: Mon, 16 May 2016 21:32:40 +0000 (UTC) Lines: 47 Message-ID: References: <87a8jpohvh.fsf@jester.gateway.pace.com> X-Trace: news.uni-berlin.de XWqyPRWy95V13TW0CRIA7wTKU1hdRv2Gs4HQJBiEo1gg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'configure': 0.04; 'heavily': 0.04; 'open-source': 0.04; 'modified': 0.05; 'plenty': 0.07; 'subject:number': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:qwest.net': 0.09; 'stack': 0.13; '1.3.': 0.16; 'chrome,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'say.': 0.16; 'subject:limit': 0.16; 'subject:server': 0.16; 'tls': 0.16; 'wrote:': 0.16; 'processor': 0.18; 'settings.': 0.18; 'ssl': 0.18; 'tells': 0.18; 'typical': 0.18; 'saying': 0.22; 'arm': 0.22; 'browsers': 0.22; 'proprietary': 0.23; 'thanks,': 0.24; 'paul': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'cpu': 0.29; 'once,': 0.29; 'starts': 0.29; 'connection': 0.30; 'meeting': 0.30; 'probably': 0.31; "can't": 0.32; 'up.': 0.32; 'generally': 0.32; 'point,': 0.33; "i'll": 0.33; 'running': 0.34; 'server': 0.34; 'that,': 0.34; 'list': 0.34; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'client': 0.37; 'received:org': 0.37; 'beyond': 0.37; 'version': 0.38; 'stuff': 0.38; 'application': 0.39; 'subject:from': 0.39; 'takes': 0.39; 'to:addr:python.org': 0.40; 'called': 0.40; 'some': 0.40; 'term': 0.60; 'clients': 0.61; 'more': 0.63; 'limit': 0.65; 'night': 0.67; 'experts': 0.70; 'afford': 0.91; 'edwards': 0.91; 'outgoing': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 67-130-15-94.dia.static.qwest.net User-Agent: slrn/1.0.2 (Linux) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <87a8jpohvh.fsf@jester.gateway.pace.com> Xref: csiph.com comp.lang.python:108700 On 2016-05-16, Paul Rubin wrote: > Grant Edwards writes: >> I've actually got plenty of RAM. I just can't afford the CPU time >> it takes to do the public-key crypto stuff that happens each time >> an SSL connection starts up. > > I think you should only have to do that once, then use TLS session > resumption for additional connections. Thanks, I'll look into that -- I've seen the term before, but that's about it. Is it something the server tells the client to do? And more to the point, will all popular browsers do it? > There is also something called TLS-PSK in TLS 1.3. Do you mind > saying the application, and what clients you have to support? The application is something proprietary running on proprietary hardware (32-bit ARM processor running a typical RTOS and a BSD-derived network stack). The web server is a heavily modified version of GoAhead 2.something. I have to support the usual suspect list of browsers: IE, Firefox, Chrome, Safari. > What TLS stack are you using? It's not an open-source one. Beyond that, I can't really say. > There is generally also a way to configure browsers to limit the > number of outgoing connections. I can't ask the browser user to change settings. > I'll probably be meeting with some TLS experts tomorrow night for > unrelated reasons, so I can ask them about this if you want. -- Grant Edwards grant.b.edwards Yow! I want you to MEMORIZE at the collected poems of gmail.com EDNA ST VINCENT MILLAY ... BACKWARDS!!