Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5055
| From | Thomas Güttler Lists <guettliml@thomas-guettler.de> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | [Python-de] select.epoll() vs async framework (PostgreSQL) |
| Date | 2018-01-03 22:07 +0100 |
| Message-ID | <mailman.224.1515013640.2886.python-de@python.org> (permalink) |
| References | <29ce1adc-0fea-e23c-e321-858e0d52dc1c@thomas-guettler.de> |
Hallo, 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? Gruß, Thomas -- 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
[Python-de] select.epoll() vs async framework (PostgreSQL) Thomas Güttler Lists <guettliml@thomas-guettler.de> - 2018-01-03 22:07 +0100
csiph-web