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


Groups > de.comp.lang.python > #5065

Re: [Python-de] select.epoll() vs async framework (PostgreSQL)

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Thomas Güttler <guettliml@thomas-guettler.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] select.epoll() vs async framework (PostgreSQL)
Date Mon, 15 Jan 2018 16:46:07 +0100
Lines 41
Message-ID <mailman.59.1516031628.2620.python-de@python.org> (permalink)
References <29ce1adc-0fea-e23c-e321-858e0d52dc1c@thomas-guettler.de> <a1669a00-b66c-6cce-8546-570a857e77aa@behnel.de> <71ab86cc-0e21-da2f-9577-8b6ccbe707ba@thomas-guettler.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de Cj5BLggLXwS6xBYQL0fEEAZbM6DVfUbRYcH/kvQacgLA==
Return-Path <guettliml@thomas-guettler.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
In-Reply-To <a1669a00-b66c-6cce-8546-570a857e77aa@behnel.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 <71ab86cc-0e21-da2f-9577-8b6ccbe707ba@thomas-guettler.de>
X-Mailman-Original-References <29ce1adc-0fea-e23c-e321-858e0d52dc1c@thomas-guettler.de> <a1669a00-b66c-6cce-8546-570a857e77aa@behnel.de>
Xref csiph.com de.comp.lang.python:5065

Show key headers only | View raw


Was ist aus deiner Sicht das, was alle nehmen?

Am 12.01.2018 um 11:23 schrieb Stefan Behnel:
> 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
> _______________________________________________
> python-de maillist  -  python-de@python.org
> https://mail.python.org/mailman/listinfo/python-de
> 

-- 
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] select.epoll() vs async framework (PostgreSQL) Thomas Güttler <guettliml@thomas-guettler.de> - 2018-01-15 16:46 +0100

csiph-web