Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: jmp Newsgroups: comp.lang.python Subject: Re: OT: limit number of connections from browser to my server? Date: Tue, 17 May 2016 10:58:36 +0200 Lines: 28 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de XEzs0iZbqK80zGuWCe/fYgTBMeBCIHqK0QRejOO77s3w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:number': 0.07; 'https': 0.09; 'lead,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'thread': 0.10; 'python': 0.10; ':o)': 0.16; 'jmp': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:limit': 0.16; 'subject:server': 0.16; 'wrote:': 0.16; 'load': 0.20; "aren't": 0.22; 'seems': 0.23; 'header:In-Reply- To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.26; 'figure': 0.27; 'said,': 0.27; 'idea': 0.28; 'device': 0.28; 'cpu': 0.29; 'wasting': 0.29; 'server.': 0.30; 'run': 0.33; 'http': 0.33; 'option.': 0.33; 'server': 0.34; 'newer': 0.35; 'asking': 0.35; 'but': 0.36; 'instead': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'received:org': 0.37; 'drop': 0.38; 'why': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'your': 0.60; 'devices': 0.61; 'received:194': 0.61; 'charset:windows-1252': 0.62; 'more': 0.63; 'times': 0.63; 'accessed': 0.66; 'better.': 0.66; 'picture': 0.70; 'upgrading': 0.72; 'connection.': 0.76; 'obvious': 0.76; 'edwards': 0.91; 'refuse': 0.93 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: paris.sequans.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: 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: Xref: csiph.com comp.lang.python:108729 On 05/16/2016 09:31 PM, Grant Edwards wrote: > On 2016-05-16, jmp wrote: > >> Have you considered upgrading the device with a recent CPU ? Or is it >> completely out of the picture ? > > Not an option. We have to continue to support devices that are in the > field. The newer models that are coming out now run at 133MHz instead > of 44MHz, and page load times for https still aren't much better. > >> That being said, your first idea seems also a good lead, have your >> server refuse more than one connection. > > Just got to figure out how to try it out without wasting a lot of time > reverse-engineering the web server. Hence a Python prototype. :) > I don't have time to read the whole thread but if I got it right, the main CPU consuming part is the crypto. Why not drop the https part an support only http ? Is is a device that needs to be accessed in untrusted networks ? Sorry for asking the obvious :o) jm