[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating web server
Moshe Zadka wrote:
> On Tue, 18 Apr 2000, Vadim Vygonets wrote:
>
> > Quoth Moshe Zadka on Tue, Apr 18, 2000:
> > > Well, the fact that Python comes with batteries included is not my fault.
> >
> > With proper batteries, I can even do it in C.
>
> Well, you choose a language, you choose libraries...
>
> > And I would still prefer Apache, written in C, with lots of lines
> > of source code.
>
> For what? If I need 1 hit a minute site, configuring Apache can be a
> bitch. Configuring SimpleHTTPServer (or CGIHTTPServer) takes al the 30
> seconds of creating the directory and running the command line.
And what if this hit is GET? On linux-sparc-2.9.1.tar.gz? What is the
overhead?
And what if you are DOS attack?
And what if you had installed GTK_EarPiercingViaCovertChannelsInPCI66
version 0.0.0.1-pre9, which screwed something up? or down?
..
And what is heap size for Python gc?
And....
...
It is not the way to build software.
>
>
> The guy seemed like he doesn't know a lot about configuring Apache, so I
> gave him the shortest, most portable solution (the khttpd solution doesn't
> work on kernels <2.2 AFAIK)
For truth sake, <2.3
Is it a flame that burns me, or what?
What Boris needed was apache, cooked and prepackaged. and installed happily on
his
machine. Best way to have Apache working, is to install Debian and install
apache deb.
It wont take more than 10 minutes, and no knowledge of apache is needed - debian
has
a really good apache package. Mandrake, for example, uses PID file and kill
command to
stop/restart apache - a brain damage - there is apachectl for it. RH 6.1 is a
really cool
distro - they decided that kill and PID is a BSD way, so they have function
"killproc" - and it does just that. Retrieves a PID and kills it.
But not anyone wishes to install Debian, so _any_ apache is enough,
as long as you take it prepackaged for you.
Poor guy (and now he is really poor) has to install Python and libs just to
run ws? RH installs python for you without asking, since its installer is
written
in Python, and no one cares to remove it afterwards for you. But Mandrake does
not.
Mandrake installs perl and gtk and gnome, just to make you happy. Who cares,
it's only 100 Mbs which may be used in other way.
Moshe: khttpd is not an option right now, since it appeared in devel kernel.
But there are other ws's, like boa or zeus, which are complete packages, and
not HTTP/0.9 (meaning you can never get more than one request served at time)
compliant + CGI enabled STREAM sockets. You can like Python, or you can hate
Python, and in any way, Python's web server is not a web server, but a way
to IPC via HTTP.
Boris: relax, web servers are not rocket science, at least until you are
entering application servers and QoS issues. You did not intend to serve
a million people a day, did'nt you?
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
--
---
Omer Mussaev mailto:omerm@mercury.co.il
051-308-214 http://www.cs.bgu.ac.il/~omer
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il