About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 26 Jun 2003 - 05:52:53 BST


On Thu, Jun 26, 2003 at 06:27:43AM +0200, Roland Moriz wrote:
> Hi,
>
> Am Don, 2003-06-26 um 05.03 schrieb Herbert Poetzl:
> > On Thu, Jun 26, 2003 at 03:32:44AM +0200, Martin List-Petersen wrote:
> > probably he believes he would understand perl better
> > than shell scripts, or ...
>
> i think you can write more structured perl code than shell scripts. but
> please - I don't want to start a holy war :-)

too late ;)

> > > that can't be done i a shell script ?
> >
> > reasons for not using perl (or any other script
> > language) for the vserver script:
> >
> > - sh is available on _all_ systems
>
> perl too. I don't know a linux distro without perl.

hmm, a physical host works nicely without perl,
as a matter of fact, I would not install it ...
but you are right, that almost any distribution
provides some version of perl ;)

> > - vserver hooks are probably shell scripts too
>
> indeed. most script actions are "system" calls even in perl.
>
> > reasons agains using shell scripts:
> >
> > - overhead is high (forks, I/O, etc)
>
> i don't think that this is important because noone really runs that
> amount of concurrent vserver scripts.

but could be an issue on a failover system
starting 30 vservers in 2 to 5 minutes???

> > - simple things often need complicated solutions
>
> sometimes. :)

best,
Herbert

> with kind regards,
> Mit freundlichen Gruessen,
>
> Roland Moriz
> --
> Muenchen/Germany - http://www.roland-moriz.de/


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 26 Jun 2003 - 06:13:25 BST by hypermail 2.1.3