[python] Python a vetsi web servery
Martin Uzak
martin.uzak na inso.tuwien.ac.at
Úterý Duben 4 19:34:21 CEST 2006
Jaroslav Lukesh wrote:
>> From: python-bounces na py.cz [mailto:python-bounces na py.cz] On Behalf Of
>>
>> vybiram technologii pro vetsi web projekt a protoze jsem na vahach mezi
>> Java (JSF) a .NET, tak jsem radeji jeste zaradil Python, ktery se mi
>> jako jazyk moc libi. Bohuzel jsem nikde nenasel zadny seznam web
>> serveru, ktere pouzivaji Python a zvladaji alespon desitky hitu za
>> sekundu.
>>
>> Ano, cetl jsem o Google, ale to je velmi specialni pripad. Take
>> seznam.cz pouziva Python, ale rad bych nejady dalsi priklad - nejradeji
>> vice.
>
> Zope - pouziva cnn, nato intranet, nasa, vidensky magistrat (projekt w4l
> nebo jaxetomenuje), z domacich eurotel ...
zope pouzivame na technickej uni vieden (http://tuwis.tuwien.ac.at/) v
IS pre studentov/profesorov a rychlostou to je o nicom napr. zaciatky
semestrov boli zatial kriticke (az do takej mieri, ze sa s tym nedalo
pracovat).
osobne mam dobre skusenosti s:
* quixote (http://www.mems-exchange.org/software/quixote/), citujem z
http://quixote.ca/overview/paper:
"Quixote imposes very low overhead on each HTTP transaction, meaning
that performance can be quite good even on inexpensive hardware. For
example, one benchmark found that Quixote and SCGI can achieve 75
requests/second on a lowly Pentium 200! On a more current machine with
an Athlon XP 1700+ processor, this combination has been measured at 425
requests/second
<http://mail.mems-exchange.org/pipermail/quixote-users/2002-March/000335.html>."
* django (http://www.djangoproject.com/) . citat z
http://www.djangoproject.com/documentation/faq/:
"We've been using Django for almost two years. Sites built on Django
have weathered traffic spikes of over one million hits an hour, and at
least one Slashdotting. Yes, it's quite stable."
* mod_python/PSP. nachadza sa u apache/mod_python modulu.
quixote by som odporucal ako wrapper (html UI) na komplexnu logiku, cim
komplexnejsia, tym viac by som rozmyslal o quixote. ak sa vam paci ruby
on rails, tak django bude to prave. no a PSP maju vynikajucu performance
a praca s nimi je podobna praci s PHP, akurat debuggovanie je
pain-in-the-ass (kvoli odsadzovaniu treba ukoncovat bloky komentarmi a
nesmie sa na to zabudnut, inac vas parser nepochopi :-) .
martin
ps: mozno trosku OT: celkom zaujimavy screencast ohladom
java-ruby-python web frameworks (pozor, ma to 380 mb, ale stoji za to):
http://oodt.jpl.nasa.gov/better-web-app.mov
ps2: stranka venovana programovaniu web apps v pythone:
http://wiki.python.org/moin/WebProgramming
Další informace o konferenci Python