Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5064
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Stefan Behnel <python-de@behnel.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] select.epoll() vs async framework (PostgreSQL) |
| Date | Fri, 12 Jan 2018 11:23:10 +0100 |
| Lines | 30 |
| Message-ID | <mailman.27.1515754047.2620.python-de@python.org> (permalink) |
| References | <29ce1adc-0fea-e23c-e321-858e0d52dc1c@thomas-guettler.de> <a1669a00-b66c-6cce-8546-570a857e77aa@behnel.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de C0J8F9hjpGf7NFLPGhTYdArzjspAg3ZyFx78IymcW+rg== |
| Return-Path | <python-de@behnel.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; t=1515754039; s=domk; d=behnel.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:Date:Message-ID: From:References:To:Subject:X-RZG-CLASS-ID:X-RZG-AUTH; bh=p22MDgCg3o/NMFPKJ0QahCS8t6w1rZUUqtw/T38vWpU=; b=uXFp3HUJ/z3lGANu9szQhC9MNbiehz9RrgF4hAYeyhURgbAOSyj1awOsVvY2/03K40 0fKaKDW3IxRPatIQuv7XWk6b2xyeVW/aKL4Be+76L6G4MGEh4q6V64PKIlANWw4/xLCt 5OPyC50LpRJpeBiKx4CbgSkx2A1aXQefwMoRQ= |
| X-RZG-AUTH | :E1MMdFW4b++AXZOTwA41DOYM0Dv9LNWvavC/fJZ6Wfgmp/Lh1ANWCRaaq2R1hCooD/t2Vl9QPVeBUNbEes6Rl1idG4gud7BD4hV37e0/2ZHKlCEy |
| X-RZG-CLASS-ID | mo00 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
| In-Reply-To | <29ce1adc-0fea-e23c-e321-858e0d52dc1c@thomas-guettler.de> |
| Content-Language | de-DE |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.25 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <a1669a00-b66c-6cce-8546-570a857e77aa@behnel.de> |
| X-Mailman-Original-References | <29ce1adc-0fea-e23c-e321-858e0d52dc1c@thomas-guettler.de> |
| Xref | csiph.com de.comp.lang.python:5064 |
Show key headers only | View raw
Thomas Güttler Lists schrieb am 03.01.2018 um 22:07: > bisher nutze ich psycopg (PostgreSQL) zusammen mit Linux select.epoll() > > und das klappt eigentlich ganz gut. Bisher nutze ich kein async IO framework. > > > Jetzt soll neben der Datenbank Connection auch noch N URLs geholt werden. > > Aktuell ist N < 1000. Also weniger als 1000 URLs die gleichzeitig geholt > werden. > > > Jetzt bin ich unsicher, ob ich: > > > Variante1: die N URLs auch per select.epoll() hole. > > Variante2: auf ein async IO Framework umsteige. > > > Hat hier jemand Erfahrung und kann ggf etwas aus dem Nähkästchen plaudern? Deine Frage ist doch eigentlich, ob du an dein selbst erfundenes Sperrholzrad noch Spikes anmontieren sollst, oder statt dessen das voll erweiterbare, luftgepolsterte Alufelgenrad einbauen sollst, das alle anderen auch nehmen. Ich lasse die Antwort mal offen. Stefan
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] select.epoll() vs async framework (PostgreSQL) Stefan Behnel <python-de@behnel.de> - 2018-01-12 11:23 +0100
csiph-web