On Tue, Jun 3, 2014 at 9:05 PM, Burak Arslan <burak.ars...@arskom.com.tr> wrote: > On 06/03/14 12:30, Chris Angelico wrote: >> Write me a purely nonblocking >> web site concept that can handle a million concurrent connections, >> where each one requires one query against the database, and one in a >> hundred of them require five queries which happen atomically. > > > I don't see why that can't be done. Twisted has everyting I can think of > except database bits (adb runs on threads), and I got txpostgres[1] > running in production, it seems quite robust so far. what else are we > missing? > > [1]: https://pypi.python.org/pypi/txpostgres
I never said it can't be done. My objection was to Marko's reiterated statement that asynchronous coding is somehow massively cleaner than threading; my argument is that threading is often significantly cleaner than async, and that at worst, they're about the same (because they're dealing with exactly the same problems). ChrisA -- https://mail.python.org/mailman/listinfo/python-list